Added additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferSpaceAvailable() (singular) macro as the documentation muddled both.

Added #define portPOINTER_SIZE_TYPE 	uint64_t to the 64-bit RISC-V port layer.
This commit is contained in:
Richard Barry 2019-05-13 03:14:05 +00:00
parent b51529a284
commit fb3eaeac40
2 changed files with 6 additions and 4 deletions

View file

@ -45,10 +45,11 @@ extern "C" {
/* Type definitions. */
#if __riscv_xlen == 64
#define portSTACK_TYPE uint64_t
#define portBASE_TYPE int64_t
#define portUBASE_TYPE uint64_t
#define portMAX_DELAY ( TickType_t ) 0xffffffffffffffffUL
#define portSTACK_TYPE uint64_t
#define portBASE_TYPE int64_t
#define portUBASE_TYPE uint64_t
#define portMAX_DELAY ( TickType_t ) 0xffffffffffffffffUL
#define portPOINTER_SIZE_TYPE uint64_t
#elif __riscv_xlen == 32
#define portSTACK_TYPE uint32_t
#define portBASE_TYPE int32_t