FreeRTOS type definitions for versions older than 8

This commit is contained in:
Joel Bodenmann 2014-08-08 09:47:41 +02:00
parent d85375c4b4
commit 56f55af6ea

View File

@ -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,