aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-08-08 09:47:41 +0200
committerJoel Bodenmann <joel@unormal.org>2014-08-08 09:47:41 +0200
commit56f55af6eacd8a9be42559669c9b39cabe37a83a (patch)
treeafcb87398334136a212fd902547e821819ddac7b /src
parentd85375c4b4aa793192f68c656fa46a19cdab6c98 (diff)
downloaduGFX-56f55af6eacd8a9be42559669c9b39cabe37a83a.tar.gz
uGFX-56f55af6eacd8a9be42559669c9b39cabe37a83a.tar.bz2
uGFX-56f55af6eacd8a9be42559669c9b39cabe37a83a.zip
FreeRTOS type definitions for versions older than 8
Diffstat (limited to 'src')
-rw-r--r--src/gos/freertos.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gos/freertos.h b/src/gos/freertos.h
index ccda4cbd..34ef548e 100644
--- a/src/gos/freertos.h
+++ b/src/gos/freertos.h
@@ -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,