Dependents: frtos_v_8_bluetooth frtos_v_8_pololu frtos_v_8_Final
source/include/stdint.readme@0:91ad48ad5687, 2015-06-06 (annotated)
- Committer:
- dflet
- Date:
- Sat Jun 06 13:27:43 2015 +0000
- Revision:
- 0:91ad48ad5687
Setup for LPC CM3 but may work with LPC CM4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dflet | 0:91ad48ad5687 | 1 | |
dflet | 0:91ad48ad5687 | 2 | #ifndef FREERTOS_STDINT |
dflet | 0:91ad48ad5687 | 3 | #define FREERTOS_STDINT |
dflet | 0:91ad48ad5687 | 4 | |
dflet | 0:91ad48ad5687 | 5 | /******************************************************************************* |
dflet | 0:91ad48ad5687 | 6 | * THIS IS NOT A FULL stdint.h IMPLEMENTATION - It only contains the definitions |
dflet | 0:91ad48ad5687 | 7 | * necessary to build the FreeRTOS code. It is provided to allow FreeRTOS to be |
dflet | 0:91ad48ad5687 | 8 | * built using compilers that do not provide their own stdint.h definition. |
dflet | 0:91ad48ad5687 | 9 | * |
dflet | 0:91ad48ad5687 | 10 | * To use this file: |
dflet | 0:91ad48ad5687 | 11 | * |
dflet | 0:91ad48ad5687 | 12 | * 1) Copy this file into the directory that contains your FreeRTOSConfig.h |
dflet | 0:91ad48ad5687 | 13 | * header file, as that directory will already be in the compilers include |
dflet | 0:91ad48ad5687 | 14 | * path. |
dflet | 0:91ad48ad5687 | 15 | * |
dflet | 0:91ad48ad5687 | 16 | * 2) Rename the copied file stdint.h. |
dflet | 0:91ad48ad5687 | 17 | * |
dflet | 0:91ad48ad5687 | 18 | */ |
dflet | 0:91ad48ad5687 | 19 | |
dflet | 0:91ad48ad5687 | 20 | typedef signed char int8_t; |
dflet | 0:91ad48ad5687 | 21 | typedef unsigned char uint8_t; |
dflet | 0:91ad48ad5687 | 22 | typedef short int16_t; |
dflet | 0:91ad48ad5687 | 23 | typedef unsigned short uint16_t; |
dflet | 0:91ad48ad5687 | 24 | typedef long int32_t; |
dflet | 0:91ad48ad5687 | 25 | typedef unsigned long uint32_t; |
dflet | 0:91ad48ad5687 | 26 | |
dflet | 0:91ad48ad5687 | 27 | #endif /* FREERTOS_STDINT */ |
dflet | 0:91ad48ad5687 | 28 |