summaryrefslogtreecommitdiff
path: root/freertos/include/stdint.readme
diff options
context:
space:
mode:
Diffstat (limited to 'freertos/include/stdint.readme')
-rw-r--r--freertos/include/stdint.readme27
1 files changed, 27 insertions, 0 deletions
diff --git a/freertos/include/stdint.readme b/freertos/include/stdint.readme
new file mode 100644
index 0000000..4414c29
--- /dev/null
+++ b/freertos/include/stdint.readme
@@ -0,0 +1,27 @@
+
+#ifndef FREERTOS_STDINT
+#define FREERTOS_STDINT
+
+/*******************************************************************************
+ * THIS IS NOT A FULL stdint.h IMPLEMENTATION - It only contains the definitions
+ * necessary to build the FreeRTOS code. It is provided to allow FreeRTOS to be
+ * built using compilers that do not provide their own stdint.h definition.
+ *
+ * To use this file:
+ *
+ * 1) Copy this file into the directory that contains your FreeRTOSConfig.h
+ * header file, as that directory will already be in the compilers include
+ * path.
+ *
+ * 2) Rename the copied file stdint.h.
+ *
+ */
+
+typedef signed char int8_t;
+typedef unsigned char uint8_t;
+typedef short int16_t;
+typedef unsigned short uint16_t;
+typedef long int32_t;
+typedef unsigned long uint32_t;
+
+#endif /* FREERTOS_STDINT */