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