When compiling BufferAllocation2.c
I get several errors:
BufferAllocation_2.c
Error[Pe020]: identifier “__inline” is undefined C:\dev\bootloader\Bootloader\FreeRTOSv202012.00\FreeRTOS-IP\include\FreeRTOS_IP.h 203
Error[Pe101]: “int32_t” has already been declared in the current scope (at line 29 of “C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.1\arm\inc\c\stdint.h”) C:\dev\bootloader\Bootloader\FreeRTOSv202012.00\FreeRTOS-IP\include\FreeRTOS_IP.h 203
Error[Pe065]: expected a “;” C:\dev\bootloader\Bootloader\FreeRTOSv202012.00\FreeRTOS-IP\include\FreeRTOS_IP.h 203
Error[Pe020]: identifier “__inline” is undefined C:\dev\bootloader\Bootloader\FreeRTOSv202012.00\FreeRTOS-IP\include\FreeRTOS_IP.h 205
THe errors seem to originate in FreeRTOS_IP.h:
#if ( ipconfigHAS_INLINE_FUNCTIONS == 1 )
static portINLINE int32_t FreeRTOS_max_int32( int32_t a,
int32_t b );
static portINLINE uint32_t FreeRTOS_max_uint32( uint32_t a,
This happens with other files.
Any ideas?