Got Error when attempt to build the project on Keli

Good morning .

I generated the project from Stm32Cube with FreeRtos as middleware software . when i attempt to build the project it showed a issue :

Blockquote ../Middlewares/Third_Party/FreeRTOS/Source/list.c(30): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling list.c…
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c(37): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling event_groups.c…
../Middlewares/Third_Party/FreeRTOS/Source/croutine.c(28): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling croutine.c…
../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c(38): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling stream_buffer.c…
../Middlewares/Third_Party/FreeRTOS/Source/queue.c(36): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling queue.c…
../Core/Src/freertos.c(21): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling freertos.c…
../Core/Src/main.c(21): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS\cmsis_os.h(56): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling main.c…
../Middlewares/Third_Party/FreeRTOS/Source/tasks.c(38): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling tasks.c…
../Middlewares/Third_Party/FreeRTOS/Source/timers.c(36): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling timers.c…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c(57): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS\cmsis_os.h(56): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c(79): warning: In file included from…
../Drivers/CMSIS/Include\cmsis_gcc.h(129): error: unknown type name ‘inline’
129 | __STATIC_FORCEINLINE void __enable_irq(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(140): error: unknown type name ‘inline’
140 | __STATIC_FORCEINLINE void __disable_irq(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): error: unknown type name ‘inline’
151 | __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): error: expected ‘;’ after top level declarator
151 | __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
| ^
| ;
../Drivers/CMSIS/Include\cmsis_gcc.h(181): error: unknown type name ‘inline’
181 | __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): error: unknown type name ‘inline’
205 | __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): error: expected ‘;’ after top level declarator
205 | __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
| ^
| ;
../Drivers/CMSIS/Include\cmsis_gcc.h(219): error: unknown type name ‘inline’
219 | __STATIC_FORCEINLINE uint32_t __get_APSR(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(219): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(219): error: expected ‘;’ after top level declarator
219 | __STATIC_FORCEINLINE uint32_t __get_APSR(void)
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
compiling cmsis_os.c…
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c(43): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
10 errors generated.
compiling heap_4.c…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(33): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(167): error: unknown type name ‘__forceinline’
167 | static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(170): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
170 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(178): error: unknown type name ‘__forceinline’
178 | static portFORCE_INLINE void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(183): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
183 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(193): error: unknown type name ‘__forceinline’
193 | static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(196): error: expected ‘volatile’, ‘inline’, ‘goto’, or ‘(’
196 | {
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: unknown type name ‘__forceinline’
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(205): error: expected ‘;’ after top level declarator
205 | static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: unknown type name ‘__forceinline’
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(162): note: expanded from macro ‘portFORCE_INLINE’
162 | #define portFORCE_INLINE __forceinline
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3\portmacro.h(223): error: expected ‘;’ after top level declarator
223 | static portFORCE_INLINE BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(208): error: expected ‘(’ after ‘asm’
208 | __asm void vPortSVCHandler( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(208): error: expected ‘;’ after top-level asm block
208 | __asm void vPortSVCHandler( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(210): error: use of undeclared identifier ‘PRESERVE8’
210 | PRESERVE8
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(225): error: expected ‘(’ after ‘asm’
225 | __asm void prvStartFirstTask( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(225): error: expected ‘;’ after top-level asm block
225 | __asm void prvStartFirstTask( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(227): error: use of undeclared identifier ‘PRESERVE8’
227 | PRESERVE8
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(374): error: expected ‘(’ after ‘asm’
374 | __asm void xPortPendSVHandler( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(374): error: expected ‘;’ after top-level asm block
374 | __asm void xPortPendSVHandler( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(376): error: redeclaration of ‘uxCriticalNesting’ with a different type: ‘int’ vs ‘UBaseType_t’ (aka ‘unsigned long’)
376 | extern uxCriticalNesting;
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c(134): note: previous definition is here
134 | static UBaseType_t uxCriticalNesting = 0xaaaaaaaa;
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
compiling port.c…
“PipeLine\PipeLine.axf” - 138 Error(s), 3 Warning(s).
Target not created.
Build Time Elapsed: 00:00:19
Batch-Build summary: 0 succeeded, 1 failed, 0 skipped - Time Elapsed: 00:00:19

based my experience working with Cmake , I hypothesize about this problem may come from the complier , toothchain . or possibly C standard .How do i fix it ? Thanks .

***i m using c99 ,ARM complier v6.22

You are using RVDS port. Please try using the GCC port instead - FreeRTOS-Kernel/portable/GCC/ARM_CM3 at main · FreeRTOS/FreeRTOS-Kernel · GitHub.

I changed the portable file path and replaced the old path with ./GCC/ARM_CM3. After building the project, a new issue came up. I also tried two approaches yesterday: the first was generating the project using STM32Cube, and the second was manually adding the FreeRTOS kernel to the workspace. Both approaches returned the same error.

in the past i did with Cmake and including file task , the same report also raise up when i choose incorrect CMSIS and ASM file for complier at begin. as i remember i tested on GCC and ARM for compiling the same C file , the error about #define and attribution also raise up like this . i not sure this error dropped into this case . May you can explain where i wrong ? thanks

Blockquote../Middlewares/Third_Party/FreeRTOS/Source/list.c(30): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling list.c…
../Middlewares/Third_Party/FreeRTOS/Source/queue.c(36): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling queue.c…
../Middlewares/Third_Party/FreeRTOS/Source/croutine.c(28): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling croutine.c…
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c(37): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c(627): warning: implicit conversion from ‘unsigned long’ to ‘TickType_t’ (aka ‘unsigned short’) changes value from 33554432 to 0 [-Wconstant-conversion]
627 | vTaskRemoveFromUnorderedEventList( pxTasksWaitingForBits->xListEnd.pxNext, eventUNBLOCKED_DUE_TO_BIT_SET );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../Middlewares/Third_Party/FreeRTOS/Source/event_groups.c(58): note: expanded from macro ‘eventUNBLOCKED_DUE_TO_BIT_SET’
58 | #define eventUNBLOCKED_DUE_TO_BIT_SET 0x02000000UL
| ^~~~~~~~~~~~
4 warnings and 8 errors generated.
compiling event_groups.c…
../Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c(38): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling stream_buffer.c…
../Core/Src/freertos.c(21): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling freertos.c…
../Core/Src/main.c(21): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS\cmsis_os.h(56): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling main.c…
../Middlewares/Third_Party/FreeRTOS/Source/tasks.c(38): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling tasks.c…
../Middlewares/Third_Party/FreeRTOS/Source/timers.c(36): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling timers.c…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c(57): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS\cmsis_os.h(56): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c(79): warning: In file included from…
../Drivers/CMSIS/Include\cmsis_gcc.h(129): error: unknown type name ‘inline’
129 | __STATIC_FORCEINLINE void __enable_irq(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(140): error: unknown type name ‘inline’
140 | __STATIC_FORCEINLINE void __disable_irq(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): error: unknown type name ‘inline’
151 | __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(151): error: expected ‘;’ after top level declarator
151 | __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
| ^
| ;
../Drivers/CMSIS/Include\cmsis_gcc.h(181): error: unknown type name ‘inline’
181 | __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): error: unknown type name ‘inline’
205 | __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(205): error: expected ‘;’ after top level declarator
205 | __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
| ^
| ;
../Drivers/CMSIS/Include\cmsis_gcc.h(219): error: unknown type name ‘inline’
219 | __STATIC_FORCEINLINE uint32_t __get_APSR(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(219): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(219): error: expected ‘;’ after top level declarator
219 | __STATIC_FORCEINLINE uint32_t __get_APSR(void)
| ^
| ;
../Drivers/CMSIS/Include\cmsis_gcc.h(233): error: unknown type name ‘inline’
233 | __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(233): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Drivers/CMSIS/Include\cmsis_gcc.h(50): note: expanded from macro ‘__STATIC_FORCEINLINE’
50 | #define __STATIC_FORCEINLINE attribute((always_inline)) static inline
| ^
../Drivers/CMSIS/Include\cmsis_gcc.h(233): error: expected ‘;’ after top level declarator
233 | __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
| ^
| ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
7 warnings and 20 errors generated.
compiling cmsis_os.c…
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c(43): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling heap_4.c…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3/port.c(34): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\FreeRTOS.h(62): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/include\portable.h(52): warning: In file included from…
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: unknown type name ‘inline’
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(148): error: expected ‘;’ after top level declarator
148 | attribute( ( always_inline ) ) static inline uint8_t ucPortCountLeadingZeros( uint32_t ulBitmap )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: unknown type name ‘inline’
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(190): error: expected ‘;’ after top level declarator
190 | portFORCE_INLINE static BaseType_t xPortIsInsideInterrupt( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(212): error: unknown type name ‘inline’
212 | portFORCE_INLINE static void vPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: unknown type name ‘inline’
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): warning: ‘always_inline’ attribute only applies to functions and statements [-Wignored-attributes]
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(228): error: expected ‘;’ after top level declarator
228 | portFORCE_INLINE static uint32_t ulPortRaiseBASEPRI( void )
| ^
| ;
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(248): error: unknown type name ‘inline’
248 | portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
| ^
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM3\portmacro.h(185): note: expanded from macro ‘portFORCE_INLINE’
185 | #define portFORCE_INLINE inline attribute( ( always_inline ) )
| ^
3 warnings and 8 errors generated.
compiling port.c…
“PipeLine\PipeLine.axf” - 107 Error(s), 41 Warning(s).
Target not created.
Build Time Elapsed: 00:00:17
Batch-Build summary: 0 succeeded, 1 failed, 0 skipped - Time Elapsed: 00:00:17

If you are trying to generate a project for Keil IDE, you can use CubeMX to generate a project. You can then add FreeRTOS either using CubeMX or manually. Here is Keil IDE project for reference - FreeRTOS/FreeRTOS/Demo/CORTEX_MPU_M7_NUCLEO_H743ZI2_GCC_IAR_Keil/Projects/Keil at main · FreeRTOS/FreeRTOS · GitHub.

i tried 3 type of ports accoding to example representation . then i switch to GCC ,RVDS and MSVC(windows) port . Here is summary :

as i expected RVDS is correct choice but the code in RVDS do not match with ARM toothchain currently running on keli which caused it to fail . aslo for GCC,it will realease the wrong compilation flag which is why errors commonly show at “#define line” in most case . as for MSVC it s missing the "including winstock " library .

so none of the ports work on my current keli setup .i think i will attemp with CMSISRTOS.

thank for supporting

Can you tell me which hardware you trying to create a project for? Which is your Keil IDE and compiler version?

i m working on keil 5 , ARM Complier v6.22,c90 standard ,Stmf103x series modified board .

I created the following project for the STM32F103C8 MCU using STM32CubeMX and modified it for successful compilation in Keil IDE: FreeRTOSDemo.zip (2.4 MB). You can use this as a reference.