stdint.readme 823 B

123456789101112131415161718192021222324252627
  1. #ifndef FREERTOS_STDINT
  2. #define FREERTOS_STDINT
  3. /*******************************************************************************
  4. * THIS IS NOT A FULL stdint.h IMPLEMENTATION - It only contains the definitions
  5. * necessary to build the FreeRTOS code. It is provided to allow FreeRTOS to be
  6. * built using compilers that do not provide their own stdint.h definition.
  7. *
  8. * To use this file:
  9. *
  10. * 1) Copy this file into the directory that contains your FreeRTOSConfig.h
  11. * header file, as that directory will already be in the compilers include
  12. * path.
  13. *
  14. * 2) Rename the copied file stdint.h.
  15. *
  16. */
  17. typedef signed char int8_t;
  18. typedef unsigned char uint8_t;
  19. typedef short int16_t;
  20. typedef unsigned short uint16_t;
  21. typedef long int32_t;
  22. typedef unsigned long uint32_t;
  23. #endif /* FREERTOS_STDINT */