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

错误原因:

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

解决方案:

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

keil出现大量未知语法错误(系统移植)_第1张图片

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

你可能感兴趣的:(MDK_KEIL5,单片机,arm,stm32,物联网)