错误原因:

这些错误是由于没有正确设置编译器导致的:

解决方案:

上边小锤子图案,Target  然后ARM Compiler 选择版本5 就不会出错了

Build started: Project: FREERTOS
*** Using Compiler 'V6.16', folder: 'D:\qrsSoftware\Keil5\MDK\ARM\ARMCLANG\Bin'
Build target 'Target 1'
../FreeRTOS/croutine.c(27): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
8 errors generated.
compiling croutine.c...
../FreeRTOS/stream_buffer.c(37): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/stream_buffer.c(682): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
            sbSEND_COMPLETE_FROM_ISR( pxStreamBuffer, pxHigherPriorityTaskWoken );
            ^
../FreeRTOS/stream_buffer.c(114): note: expanded from macro 'sbSEND_COMPLETE_FROM_ISR'
        uxSavedInterruptStatus = ( UBaseType_t ) portSET_INTERRUPT_MASK_FROM_ISR();     \
                                                 ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/stream_buffer.c(940): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
            sbRECEIVE_COMPLETED_FROM_ISR( pxStreamBuffer, pxHigherPriorityTaskWoken );
            ^
../FreeRTOS/stream_buffer.c(76): note: expanded from macro 'sbRECEIVE_COMPLETED_FROM_ISR'
        uxSavedInterruptStatus = ( UBaseType_t ) portSET_INTERRUPT_MASK_FROM_ISR();  \
                                                 ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/stream_buffer.c(1078): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = ( UBaseType_t ) portSET_INTERRUPT_MASK_FROM_ISR();
                                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/stream_buffer.c(1109): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = ( UBaseType_t ) portSET_INTERRUPT_MASK_FROM_ISR();
                                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
4 warnings and 8 errors generated.
compiling stream_buffer.c...
../FreeRTOS/list.c(35): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
8 errors generated.
compiling list.c...
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(32): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(36): error: This port can only be used when the project options are configured to enable hardware floating point support.
    #error This port can only be used when the project options are configured to enable hardware floating point support.
     ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(240): error: expected '(' after 'asm'
__asm void vPortSVCHandler( void )
      ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(240): error: expected ';' after top-level asm block
__asm void vPortSVCHandler( void )
     ^
     ;
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(243): error: use of undeclared identifier 'PRESERVE8'
    PRESERVE8
    ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(260): error: expected '(' after 'asm'
__asm void prvStartFirstTask( void )
      ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(260): error: expected ';' after top-level asm block
__asm void prvStartFirstTask( void )
     ^
     ;
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(263): error: use of undeclared identifier 'PRESERVE8'
    PRESERVE8
    ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(291): error: expected '(' after 'asm'
__asm void prvEnableVFP( void )
      ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(291): error: expected ';' after top-level asm block
__asm void prvEnableVFP( void )
     ^
     ;
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(294): error: use of undeclared identifier 'PRESERVE8'
    PRESERVE8
    ^
../FreeRTOS/portable/RVDS/ARM_CM4F/port.c(453): error: expected '(' after 'asm'
__asm void xPortPendSVHandler( void )
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
compiling port.c...
compiling main.c...
../FreeRTOS/tasks.c(37): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/tasks.c(1049): warning: implicit declaration of function 'pxPortInitialiseStack' is invalid in C99 [-Wimplicit-function-declaration]
                    pxNewTCB->pxTopOfStack = pxPortInitialiseStack( pxTopOfStack, pxTaskCode, pvParameters );
                                             ^
../FreeRTOS/tasks.c(1049): warning: incompatible integer to pointer conversion assigning to 'volatile StackType_t *' (aka 'volatile unsigned int *') from 'int' [-Wint-conversion]
                    pxNewTCB->pxTopOfStack = pxPortInitialiseStack( pxTopOfStack, pxTaskCode, pvParameters );
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../FreeRTOS/tasks.c(1138): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
            taskYIELD_IF_USING_PREEMPTION();
            ^
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1138): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1235): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                portYIELD_WITHIN_API();
                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1235): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1321): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
            portYIELD_WITHIN_API();
            ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1321): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1368): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
            portYIELD_WITHIN_API();
            ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1368): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1523): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
        uxSavedInterruptState = portSET_INTERRUPT_MASK_FROM_ISR();
                                ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/tasks.c(1686): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    taskYIELD_IF_USING_PREEMPTION();
                    ^
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1686): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1780): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                portYIELD_WITHIN_API();
                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1780): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1886): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                        taskYIELD_IF_USING_PREEMPTION();
                        ^
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1886): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(1938): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
        uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                                 ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/tasks.c(2302): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    taskYIELD_IF_USING_PREEMPTION();
                    ^
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(2302): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(3063): warning: implicit declaration of function '__clz' is invalid in C99 [-Wimplicit-function-declaration]
        taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers and co-routines too.  Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
        ^
../FreeRTOS/tasks.c(175): note: expanded from macro 'taskSELECT_HIGHEST_PRIORITY_TASK'
        portGET_HIGHEST_PRIORITY( uxTopPriority, uxTopReadyPriority );                          \
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(141): note: expanded from macro 'portGET_HIGHEST_PRIORITY'
        #define portGET_HIGHEST_PRIORITY( uxTopPriority, uxReadyPriorities )    uxTopPriority = ( 31UL - ( uint32_t ) __clz( ( uxReadyPriorities ) ) )
                                                                                                                      ^
../FreeRTOS/tasks.c(3465): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    taskYIELD();
                    ^
../FreeRTOS/include/task.h(181): note: expanded from macro 'taskYIELD'
#define taskYIELD()                        portYIELD()
                                           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(3465): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include/task.h(181): note: expanded from macro 'taskYIELD'
#define taskYIELD()                        portYIELD()
                                           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4709): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4709): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4788): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4788): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4943): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    taskYIELD_IF_USING_PREEMPTION();
                    ^
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(4943): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/tasks.c(65): note: expanded from macro 'taskYIELD_IF_USING_PREEMPTION'
    #define taskYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                               ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/tasks.c(5000): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
        uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                                 ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/tasks.c(5135): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
        uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                                 ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
31 warnings and 8 errors generated.
compiling tasks.c...
../FreeRTOS/portable/MemMang/heap_4.c(42): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
8 errors generated.
compiling heap_4.c...
../FreeRTOS/event_groups.c(36): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/event_groups.c(259): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
            portYIELD_WITHIN_API();
            ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/event_groups.c(259): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/event_groups.c(411): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
            portYIELD_WITHIN_API();
            ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/event_groups.c(411): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/event_groups.c(521): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
5 warnings and 8 errors generated.
compiling event_groups.c...
../FreeRTOS/timers.c(35): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/timers.c(633): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                        portYIELD_WITHIN_API();
                        ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/timers.c(633): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
2 warnings and 8 errors generated.
compiling timers.c...
../FreeRTOS/queue.c(35): warning: In file included from...
../FreeRTOS/include\FreeRTOS.h(63): warning: In file included from...
../FreeRTOS/include/portable.h(51): warning: In file included from...
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(169): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortSetBASEPRI( uint32_t ulBASEPRI )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(172): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(182): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(187): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(199): error: unknown type name '__forceinline'
    static portFORCE_INLINE void vPortClearBASEPRIFromISR( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(202): error: expected 'volatile', 'inline', 'goto', or '('
        {
        ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: unknown type name '__forceinline'
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
           ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(164): note: expanded from macro 'portFORCE_INLINE'
        #define portFORCE_INLINE    __forceinline
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(213): error: expected ';' after top level declarator
    static portFORCE_INLINE uint32_t ulPortRaiseBASEPRI( void )
                                    ^
                                    ;
../FreeRTOS/queue.c(291): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    queueYIELD_IF_USING_PREEMPTION();
                    ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(291): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(878): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                                queueYIELD_IF_USING_PREEMPTION();
                                ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(878): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(891): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                            queueYIELD_IF_USING_PREEMPTION();
                            ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(891): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(960): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(960): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1017): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/queue.c(1190): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/queue.c(1365): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                        queueYIELD_IF_USING_PREEMPTION();
                        ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1365): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1425): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1425): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1528): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                        queueYIELD_IF_USING_PREEMPTION();
                        ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1528): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1617): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1617): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1734): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                        queueYIELD_IF_USING_PREEMPTION();
                        ^
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1734): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/queue.c(90): note: expanded from macro 'queueYIELD_IF_USING_PREEMPTION'
    #define queueYIELD_IF_USING_PREEMPTION()    portYIELD_WITHIN_API()
                                                ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1795): warning: implicit declaration of function '__dsb' is invalid in C99 [-Wimplicit-function-declaration]
                    portYIELD_WITHIN_API();
                    ^
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(92): note: expanded from macro 'portYIELD'
        __dsb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1795): warning: implicit declaration of function '__isb' is invalid in C99 [-Wimplicit-function-declaration]
../FreeRTOS/include\FreeRTOS.h(782): note: expanded from macro 'portYIELD_WITHIN_API'
    #define portYIELD_WITHIN_API    portYIELD
                                    ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(93): note: expanded from macro 'portYIELD'
        __isb( portSY_FULL_READ_WRITE );                           \
        ^
../FreeRTOS/queue.c(1858): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
../FreeRTOS/queue.c(1954): warning: implicit declaration of function 'ulPortRaiseBASEPRI' is invalid in C99 [-Wimplicit-function-declaration]
    uxSavedInterruptStatus = portSET_INTERRUPT_MASK_FROM_ISR();
                             ^
../FreeRTOS/portable/RVDS/ARM_CM4F\portmacro.h(111): note: expanded from macro 'portSET_INTERRUPT_MASK_FROM_ISR'
    #define portSET_INTERRUPT_MASK_FROM_ISR()         ulPortRaiseBASEPRI()
                                                      ^
24 warnings and 8 errors generated.
compiling queue.c...
compiling system_stm32f4xx.c...
assembling startup_stm32f407xx.s...
".\Objects\FREERTOS.axf" - 83 Error(s), 66 Warning(s).
Target not created.
Build Time Elapsed:  00:00:09

keil出现大量未知语法错误(系统移植)相关推荐

  1. x210:uboot和系统移植

    注:本文是对朱老师uboot和系统移植课程的备忘引导性笔记,主要是为了能够在学完后快速回忆起相关内容.本文主要记录了一些关键易忘性知识点并包含少量理解性内容,遵循尽量精简的原则,以尽量少的篇幅概括整个 ...

  2. 《全面掌握Linux C语言嵌入式系统移植教程》学习笔记(Liunx速查简明)

    全面掌握Linux C语言嵌入式系统移植教程学习笔记(Liunx速查简明) 笔记前言: P3: shell命令简明 P4: vi /vim编辑器入门 P5:vi /vim编辑器扩展 P8: gcc编译 ...

  3. jpa语法错误_JPA陷阱/错误

    jpa语法错误 根据我在帮助团队和进行培训方面的经验,这是我遇到的一些陷阱/错误,它们在使用JPA的基于Java的系统中引起了一些问题. 需要一个公共的无参数构造函数 始终使用双向关联/关系 将@On ...

  4. 系统移植(系统移植环境搭建及简单概念)

    linux系统 = linux内核 + 根文件系统; 根文件系统 = 库(/lib和/usr/lib) + 命令( /bin和/usr/bin) + 配置文件( /etc) + GUI(图形化界面,如 ...

  5. 《创客学院嵌入式从入门到精通》笔记--10全面掌握嵌入式系统移植

    目录 01嵌入式基本概念,嵌入式开发环境搭建,目标机搭建,TFTP服务搭建,NFS服务搭建 1.系统移植概述及环境搭建 1.通用嵌入式系统软件组成部分 2.Linux 在嵌入式中应用的条件与前景 3. ...

  6. 嵌入式Linux系统移植的四大步骤

    最近在学习系统移植的相关知识,在学习和调试过程中,发现了很多问题,也解决了很多问题,但总是对于我们的开发结果有一种莫名其妙的感觉,纠其原因,主要对于我们的开发环境没有一个深刻的认识,有时候几个简单的命 ...

  7. 嵌入式linux华清远见考试,华清远见系统移植考试复习题

    嵌入式Linux系统移植试题(时间:60分钟) 一.单项选择题(每题2分,共40分) 1. 嵌入式linux系统移植不包括(D ) [A] bootloader [B] linux内核[C]根文件系统 ...

  8. python语法错误类型_python常见报错类型和异常处理

    更新ing 常见的报错类型和简析.异常处理.其他类型的报错(异常)类型简介.自定义异常 常见的报错类型和简析: 报错类型 报错内容 错误类型判断 错误解决方式 AttributeError 属性错误: ...

  9. 嵌入式Linux系统移植的四大步骤(详细长文,慎入!)

    关注.星标公众号,直达精彩内容 来源:网路素材 最近在学习系统移植的相关知识,在学习和调试过程中,发现了很多问题,也解决了很多问题,但总是对于我们的开发结果有一种莫名其妙的感觉,纠其原因,主要对于我们 ...

最新文章

  1. PyTorch 笔记(10)— Tensor 与 NumPy 相互转换、两种共享内存以及两者的广播法则
  2. 夺命雷公狗---微信开发57----微网站之jquery_mobile之入门案例
  3. Linux—进程管理
  4. python羊车门问题_羊车门问题的python模拟和解释
  5. linux 文件夹换所属用户,Linux中账号管理之权限管理(下)
  6. Oracle 原理: 视图,对视图进行增删改操作
  7. 嵌入式Linux基础学习笔记-文件IO编程-文件锁(2)
  8. linux逻辑分区最小值,linux 逻辑卷管理 调整分区大小
  9. 漫画:高并发下的HashMap
  10. 帝国cms 未审核 showinfo.php,帝国CMS批量修改文章未审核状态及批量修改上线时间...
  11. tf:'hello tensorflow'
  12. Java 并没有死!
  13. 【编程工具】Sublime Text3快捷键配置
  14. vmd分解matlab程序,matlab中使用VMD(变分模态分解)
  15. 【算法】基于AOE网的关键路径算法
  16. JS web localStorage传值 coolie传值
  17. 见证历史时刻!关于朗道-西格尔零点猜想
  18. ps制作公章教程,沿着圆圈打字,斑驳效果
  19. 西电人总结各it公司待遇
  20. 补剂课堂:补充肌酸的最佳时机

热门文章

  1. cartographer中的反光板定位
  2. 矩阵和向量相乘,向量和其转置相乘
  3. java 心态,小议学习Java的浮躁心态
  4. input文本框设置不可编辑方法和HTML5 新的 Input 类型
  5. 6.4应用实例:六度空间
  6. 十周年探路云计算 亚马逊引领风向标
  7. 小米跌倒后自己爬起来了,酷派可以吗?
  8. 【TypeScript】TS基础
  9. BLDC电机控制算法——FOC简述
  10. 参加嵌入式培训的学习与安排