mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -04:00
Minor updates to demo projects to ensure correct building with V8 rc1.
This commit is contained in:
parent
f9072e7bac
commit
e95b482f56
18 changed files with 206 additions and 142 deletions
|
@ -40,6 +40,7 @@
|
|||
#ifndef _TYPE_DEFINE_H_
|
||||
#define _TYPE_DEFINE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
typedef unsigned char Bool;
|
||||
|
||||
|
@ -47,12 +48,8 @@ typedef unsigned char Bool;
|
|||
|
||||
typedef signed char char8_t;
|
||||
typedef unsigned char uchar8_t;
|
||||
typedef signed char int8_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef signed short short16_t;
|
||||
typedef unsigned short ushort16_t;
|
||||
typedef signed long int32_t;
|
||||
typedef unsigned long uint32_t;
|
||||
typedef signed long long32_t;
|
||||
typedef unsigned long ulong32_t;
|
||||
|
||||
|
|
15
FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/stdint.h
Normal file
15
FreeRTOS/Demo/SuperH_SH7216_Renesas/RTOSDemo/stdint.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
#ifndef STDINT_INC
|
||||
#define STDINT_INC
|
||||
|
||||
/* 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). */
|
||||
|
||||
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 /* STDINT_INC */
|
Loading…
Add table
Add a link
Reference in a new issue