keil compile issue
*** Using Compiler 'V6.9', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'GD32F330'
../systick.c(38): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
../systick.c(52): warning: implicit declaration of function 'SysTick_Config' is invalid in C99 [-Wimplicit-function-declaration]
if(SysTick_Config(SystemCoreClock / 1000U)) {
^
../systick.c(52): error: use of undeclared identifier 'SystemCoreClock'
if(SysTick_Config(SystemCoreClock / 1000U)) {
^
../systick.c(58): warning: implicit declaration of function 'NVIC_SetPriority' is invalid in C99 [-Wimplicit-function-declaration]
NVIC_SetPriority(SysTick_IRQn, 0x00U);
^
2 warnings and 7 errors generated.
compiling systick.c...
../main.c(37): warning: In file included from...
../../Template/includes.h(7): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
../main.c(883): warning: implicit declaration of function '__disable_irq' is invalid in C99 [-Wimplicit-function-declaration]
__disable_irq();
^
../main.c(885): warning: implicit declaration of function '__enable_irq' is invalid in C99 [-Wimplicit-function-declaration]
__enable_irq();
^
2 warnings and 6 errors generated.
compiling main.c...
../gd32f3x0_it.c(38): warning: In file included from...
../../Template/gd32f3x0_it.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_it.c...
../../Firmware/CMSIS/GD/GD32F3x0/Source/system_gd32f3x0.c(36): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling system_gd32f3x0.c...
../serial.c(1): warning: In file included from...
../../Template\includes.h(7): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling serial.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_adc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_adc.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_adc.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_cmp.c(39): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_cmp.h(42): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_cmp.c...
compiling gd32f3x0_cec.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_crc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_crc.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_crc.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_ctc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_ctc.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_ctc.c...
compiling gd32f3x0_dac.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_dbg.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_dbg.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_dbg.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_exti.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_exti.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_exti.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_fmc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_fmc.h(42): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_fmc.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_dma.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_dma.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_dma.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_gpio.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_gpio.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_gpio.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_fwdgt.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_fwdgt.h(42): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_fwdgt.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_i2c.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_i2c.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_i2c.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_misc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_misc.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_misc.c(136): warning: implicit declaration of function '__DSB' is invalid in C99 [-Wimplicit-function-declaration]
__DSB();
^
1 warning and 6 errors generated.
compiling gd32f3x0_misc.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_pmu.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(222): warning: implicit declaration of function '__WFI' is invalid in C99 [-Wimplicit-function-declaration]
__WFI();
^
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(224): warning: implicit declaration of function '__WFE' is invalid in C99 [-Wimplicit-function-declaration]
__WFE();
^
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(278): warning: implicit declaration of function '__WFI' is invalid in C99 [-Wimplicit-function-declaration]
__WFI();
^
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(280): warning: implicit declaration of function '__SEV' is invalid in C99 [-Wimplicit-function-declaration]
__SEV();
^
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(281): warning: implicit declaration of function '__WFE' is invalid in C99 [-Wimplicit-function-declaration]
__WFE();
^
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_pmu.c(317): warning: implicit declaration of function '__WFI' is invalid in C99 [-Wimplicit-function-declaration]
__WFI();
^
6 warnings and 6 errors generated.
compiling gd32f3x0_pmu.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_rcu.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_rcu.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_rcu.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_rtc.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_rtc.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_rtc.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_syscfg.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_syscfg.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_syscfg.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_spi.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_spi.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_spi.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_timer.c(39): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_timer.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_timer.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_tsi.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_tsi.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_tsi.c...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_usart.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_usart.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_usart.c...
assembling startup_gd32f3x0.s...
../../Firmware/GD32F3x0_standard_peripheral/Source/gd32f3x0_wwdgt.c(38): warning: In file included from...
../../Firmware/GD32F3x0_standard_peripheral/Include\gd32f3x0_wwdgt.h(41): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f3x0_wwdgt.c...
../../Utilities/gd32f350r_eval.c(38): warning: In file included from...
../../Utilities/gd32f350r_eval.h(45): warning: In file included from...
../../Firmware/CMSIS/GD/GD32F3x0/Include\gd32f3x0.h(172): warning: In file included from...
../../Firmware/CMSIS\core_cm4.h(1434): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1434): error: expected identifier or '('
__STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
../../Firmware/CMSIS\core_cm4.h(1454): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t NVIC_GetPriorityGrouping(void)
^
;
../../Firmware/CMSIS\core_cm4.h(1722): error: unknown type name '__STATIC_INLINE'
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
../../Firmware/CMSIS\core_cm4.h(1722): error: expected ';' after top level declarator
__STATIC_INLINE uint32_t ITM_SendChar(uint32_t ch)
^
;
6 errors generated.
compiling gd32f350r_eval.c...
".\output\LD6001.axf" - 163 Error(s), 11 Warning(s).
Target not created.
Build Time Elapsed: 00:00:21
本文来自博客园,作者:ljymoonlight,转载请注明原文链接:https://www.cnblogs.com/ljymoonlight/p/17413736.html
posted on 2023-05-19 00:42 ljymoonlight 阅读(159) 评论(1) 编辑 收藏 举报
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· winform 绘制太阳,地球,月球 运作规律
· 上周热点回顾(3.3-3.9)
2021-05-19 c++ template trait 用法