mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
Introduce configENABLE_BACKWARD_COMPATIBILITY to allow the #defines that provide backward compatibility with FreeRTOS version prior to V8 to be optionally omitted.
This commit is contained in:
parent
f01bf9fdc3
commit
a1b8079df1
8 changed files with 137 additions and 47 deletions
|
@ -1,9 +1,21 @@
|
|||
|
||||
#ifndef STDINT_INC
|
||||
#define STDINT_INC
|
||||
#ifndef FREERTOS_STDINT
|
||||
#define FREERTOS_STDINT
|
||||
|
||||
/* This file will get picked up when stdint.h does not appear in the default
|
||||
include path (which it doesn't seem to be - even though the file exists). */
|
||||
/*******************************************************************************
|
||||
* 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;
|
||||
|
@ -12,4 +24,4 @@ typedef unsigned short uint16_t;
|
|||
typedef long int32_t;
|
||||
typedef unsigned long uint32_t;
|
||||
|
||||
#endif /* STDINT_INC */
|
||||
#endif /* FREERTOS_STDINT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue