FreeRTOS type definitions for versions older than 8
This commit is contained in:
parent
d85375c4b4
commit
56f55af6ea
1 changed files with 12 additions and 0 deletions
|
@ -24,6 +24,18 @@
|
|||
/* Type definitions */
|
||||
/*===========================================================================*/
|
||||
|
||||
/* Additional types are required when FreeRTOS 7.x is used */
|
||||
#if !defined(tskKERNEL_VERSION_MAJOR) && !tskKERNEL_VERSION_MAJOR == 8
|
||||
typedef signed char int8_t
|
||||
typedef unsigned char uint8_t
|
||||
typedef signed int int16_t
|
||||
typedef unsigned int uint16_t
|
||||
typedef signed long int int32_t
|
||||
typedef unsigned long int uint32_t
|
||||
typedef signed long long int int64_t
|
||||
typedef unsigned long long int uint64_t
|
||||
#endif
|
||||
|
||||
/**
|
||||
* bool_t,
|
||||
* int8_t, uint8_t,
|
||||
|
|
Loading…
Add table
Reference in a new issue