【MCU】MDK错误:error in include chain (cmsis_armcc.h):expected identifier or ‘(‘

../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1132): warning: #47-D: incompatible redefinition of macro "__PKHBT" (declared at line 852 of "../Drivers/CMSIS/Include/cmsis_armcc.h") #define __PKHBT(ARG1, ARG2, ARG3) ( (((int32_t)(ARG1) << 0) & (int32_t)0x0000FFFF) | \ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1134): warning: #47-D: incompatible redefinition of macro "__PKHTB" (declared at line 855 of "../Drivers/CMSIS/Include/cmsis_armcc.h") #define __PKHTB(ARG1, ARG2, ARG3) ( (((int32_t)(ARG1) << 0) & (int32_t)0xFFFF0000) | \ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1735): error: #79: expected a type specifier __STATIC_FORCEINLINE int32_t __SMMLA( ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1735): error: #101: "int32_t" has already been declared in the current scope __STATIC_FORCEINLINE int32_t __SMMLA( ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1735): error: #141-D: unnamed prototyped parameters not allowed when body is present __STATIC_FORCEINLINE int32_t __SMMLA( ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1740): error: #20: identifier "sum" is undefined return (sum + (int32_t) (((int64_t) x * y) >> 32)); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1740): error: #20: identifier "x" is undefined return (sum + (int32_t) (((int64_t) x * y) >> 32)); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(1740): error: #20: identifier "y" is undefined return (sum + (int32_t) (((int64_t) x * y) >> 32)); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(2680): error: #757: function "int32_t" is not a type name int32_t shift, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(2695): error: #757: function "int32_t" is not a type name int32_t shift, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(2793): error: #757: function "int32_t" is not a type name int32_t resetStateFlag); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(2811): error: #757: function "int32_t" is not a type name int32_t resetStateFlag); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(2830): error: #757: function "int32_t" is not a type name int32_t resetStateFlag); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5532): error: #757: function "int32_t" is not a type name int32_t *pTapDelay; /**< points to the array of delay values. The array is of length numTaps. */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5545): error: #757: function "int32_t" is not a type name int32_t *pTapDelay; /**< points to the array of delay values. The array is of length numTaps. */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5558): error: #757: function "int32_t" is not a type name int32_t *pTapDelay; /**< points to the array of delay values. The array is of length numTaps. */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5571): error: #757: function "int32_t" is not a type name int32_t *pTapDelay; /**< points to the array of delay values. The array is of length numTaps. */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5606): error: #757: function "int32_t" is not a type name int32_t * pTapDelay, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5642): error: #757: function "int32_t" is not a type name int32_t * pTapDelay, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5680): error: #757: function "int32_t" is not a type name int32_t * pTapDelay, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(5718): error: #757: function "int32_t" is not a type name int32_t * pTapDelay, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6491): warning: #174-D: expression has no effect int32_t i; /* Index variable */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6491): error: #65: expected a ";" int32_t i; /* Index variable */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6495): error: #20: identifier "i" is undefined i = (int32_t) ((x - S->x1) / xSpacing); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6548): warning: #174-D: expression has no effect int32_t index; /* Index to read nearest output values */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6548): error: #65: expected a ";" int32_t index; /* Index to read nearest output values */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6553): error: #20: identifier "index" is undefined index = ((x & (q31_t)0xFFF00000) >> 20); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6606): warning: #174-D: expression has no effect int32_t index; /* Index to read nearest output values */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6606): error: #65: expected a ";" int32_t index; /* Index to read nearest output values */ ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6611): error: #20: identifier "index" is undefined index = ((x & (int32_t)0xFFF00000) >> 20); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6611): error: #31: expression must have integral type index = ((x & (int32_t)0xFFF00000) >> 20); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6611): error: #18: expected a ")" index = ((x & (int32_t)0xFFF00000) >> 20); ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6911): error: #757: function "int32_t" is not a type name int32_t * circBuffer, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6912): error: #757: function "int32_t" is not a type name int32_t L, ../Middlewares/ST/ARM/DSP/Inc/arm_math.h(6914): error: #757: function "int32_t" is not a type name int32_t bufferInc, ..\User\modules\master_process.c: 5 warnings, 30 errors
06-07
Build started: Project: gpio_toggle_output_LP_MSPM0G3507_nortos_keil *** Using Compiler 'V6.5', folder: 'D:\keil32\ARM\ARMCLANG\Bin' Build target 'gpio_toggle_output_LP_MSPM0G3507_nortos_keil' Before Build - User command #1: cmd.exe /C "C:\Users\liang\Desktop\电赛\mspm0\examples\ganwei_wu_mcu\MSPM0G3507_Demo\No_mcu\gpio_toggle_output\keil\../../../../../../tools/keil/syscfg.bat 'C:\Users\liang\Desktop\电赛\mspm0\examples\ganwei_wu_mcu\MSPM0G3507_Demo\No_mcu\gpio_toggle_output\keil\' gpio_toggle_output.syscfg" 'H' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 文件名、目录名或卷标语法不正确。 'SysConfig宸ュ叿锛岃妫€鏌ヨ矾寰勬槸鍚︽纭紒' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '瀹為檯璺緞锛?SYSCFG_CLI_PATH' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 ArmClang.exe: error: unsupported argument 'armasm' to option 'Wa,' ArmClang.exe: error: unsupported argument '--pd' to option 'Wa,' ArmClang.exe: error: unsupported argument '__UVISION_VERSION SETA 538' to option 'Wa,' ArmClang.exe: error: unsupported argument 'armasm' to option 'Wa,' ArmClang.exe: error: unsupported argument '--pd' to option 'Wa,' ArmClang.exe: error: unsupported argument '__MSPM0G3507__ SETA 1' to option 'Wa,' assembling startup_mspm0g350x_uvision.s... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. compiling ADC.c... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. compiling Uart.c... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. compiling gpio_toggle_output.c... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. compiling No_Mcu_Ganv_Grayscale_Sensor.c... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] 1 warning generated. compiling Time.c... warning: unknown warning option '-Wno-nonportable-include-path'; did you mean '-Wno-gnu-include-next'? [-Wunknown-warning-option] ../ti_msp_dl_config.c(47): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_init(void) ^ ../ti_msp_dl_config.c(47): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_init(void) ^ ../ti_msp_dl_config.c(62): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_initPower(void) ^ ../ti_msp_dl_config.c(62): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_initPower(void) ^ ../ti_msp_dl_config.c(82): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void) ^ ../ti_msp_dl_config.c(82): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_GPIO_init(void) ^ ../ti_msp_dl_config.c(139): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_SYSCTL_init(void) ^ ../ti_msp_dl_config.c(139): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_SYSCTL_init(void) ^ ../ti_msp_dl_config.c(184): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_TIMER_1_init(void) { ^ ../ti_msp_dl_config.c(184): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_TIMER_1_init(void) { ^ ../ti_msp_dl_config.c(206): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_I2C_0_init(void) { ^ ../ti_msp_dl_config.c(206): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_I2C_0_init(void) { ^ ../ti_msp_dl_config.c(244): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_UART_0_init(void) ^ ../ti_msp_dl_config.c(244): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_UART_0_init(void) ^ ../ti_msp_dl_config.c(268): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_ADC1_init(void) ^ ../ti_msp_dl_config.c(268): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_ADC1_init(void) ^ ../ti_msp_dl_config.c(282): error: unknown type name 'SYSCONFIG_WEAK' SYSCONFIG_WEAK void SYSCFG_DL_SYSTICK_init(void) ^ ../ti_msp_dl_config.c(282): error: expected identifier or '(' SYSCONFIG_WEAK void SYSCFG_DL_SYSTICK_init(void) ^ 1 warning and 18 errors generated. compiling ti_msp_dl_config.c... ".\Objects\gpio_toggle_output_LP_MSPM0G3507_nortos_keil.axf" - 24 Error(s), 6 Warning(s). Target not created. Build Time Elapsed: 00:01:29
最新发布
07-31
Build started: Project: xunji1 *** Using Compiler 'V5.06 update 5 (build 528)', folder: 'D:\Keil5 C51\ARM\ARMCC\Bin' Build target 'xunji1' compiling freertos.c... D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(165): warning: #47-D: incompatible redefinition of macro "__MPU_PRESENT" (declared at line 50 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __MPU_PRESENT 0 /*!< Other STM32 devices does not provide an MPU */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(167): warning: #47-D: incompatible redefinition of macro "__CM3_REV" (declared at line 49 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __CM3_REV 0x0200 /*!< Core Revision r2p0 */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(168): warning: #47-D: incompatible redefinition of macro "__NVIC_PRIO_BITS" (declared at line 51 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __NVIC_PRIO_BITS 4 /*!< STM32 uses 4 Bits for the Priority Levels */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(169): warning: #47-D: incompatible redefinition of macro "__Vendor_SysTickConfig" (declared at line 52 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(178): error: #101: "NonMaskableInt_IRQn" has already been declared in the current scope NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(179): error: #101: "MemoryManagement_IRQn" has already been declared in the current scope MemoryManagement_IRQn = -12, /*!< 4 Cortex-M3 Memory Management Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(180): error: #101: "BusFault_IRQn" has already been declared in the current scope BusFault_IRQn = -11, /*!< 5 Cortex-M3 Bus Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(181): error: #101: "UsageFault_IRQn" has already been declared in the current scope UsageFault_IRQn = -10, /*!< 6 Cortex-M3 Usage Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(182): error: #101: "SVCall_IRQn" has already been declared in the current scope SVCall_IRQn = -5, /*!< 11 Cortex-M3 SV Call Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(183): error: #101: "DebugMonitor_IRQn" has already been declared in the current scope DebugMonitor_IRQn = -4, /*!< 12 Cortex-M3 Debug Monitor Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(184): error: #101: "PendSV_IRQn" has already been declared in the current scope PendSV_IRQn = -2, /*!< 14 Cortex-M3 Pend SV Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(185): error: #101: "SysTick_IRQn" has already been declared in the current scope SysTick_IRQn = -1, /*!< 15 Cortex-M3 System Tick Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(188): error: #101: "WWDG_IRQn" has already been declared in the current scope WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(189): error: #101: "PVD_IRQn" has already been declared in the current scope PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(190): error: #101: "TAMPER_IRQn" has already been declared in the current scope TAMPER_IRQn = 2, /*!< Tamper Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(191): error: #101: "RTC_IRQn" has already been declared in the current scope RTC_IRQn = 3, /*!< RTC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(192): error: #101: "FLASH_IRQn" has already been declared in the current scope FLASH_IRQn = 4, /*!< FLASH global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(193): error: #101: "RCC_IRQn" has already been declared in the current scope RCC_IRQn = 5, /*!< RCC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(194): error: #101: "EXTI0_IRQn" has already been declared in the current scope EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(195): error: #101: "EXTI1_IRQn" has already been declared in the current scope EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(196): error: #101: "EXTI2_IRQn" has already been declared in the current scope EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(197): error: #101: "EXTI3_IRQn" has already been declared in the current scope EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(198): error: #101: "EXTI4_IRQn" has already been declared in the current scope EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(199): error: #101: "DMA1_Channel1_IRQn" has already been declared in the current scope DMA1_Channel1_IRQn = 11, /*!< DMA1 Channel 1 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(200): error: #101: "DMA1_Channel2_IRQn" has already been declared in the current scope DMA1_Channel2_IRQn = 12, /*!< DMA1 Channel 2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(201): error: #101: "DMA1_Channel3_IRQn" has already been declared in the current scope DMA1_Channel3_IRQn = 13, /*!< DMA1 Channel 3 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(202): error: #101: "DMA1_Channel4_IRQn" has already been declared in the current scope DMA1_Channel4_IRQn = 14, /*!< DMA1 Channel 4 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(203): error: #101: "DMA1_Channel5_IRQn" has already been declared in the current scope DMA1_Channel5_IRQn = 15, /*!< DMA1 Channel 5 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(204): error: #101: "DMA1_Channel6_IRQn" has already been declared in the current scope DMA1_Channel6_IRQn = 16, /*!< DMA1 Channel 6 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(205): error: #101: "DMA1_Channel7_IRQn" has already been declared in the current scope DMA1_Channel7_IRQn = 17, /*!< DMA1 Channel 7 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(252): error: #101: "ADC1_2_IRQn" has already been declared in the current scope ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(253): error: #101: "USB_HP_CAN1_TX_IRQn" has already been declared in the current scope USB_HP_CAN1_TX_IRQn = 19, /*!< USB Device High Priority or CAN1 TX Interrupts */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(254): error: #101: "USB_LP_CAN1_RX0_IRQn" has already been declared in the current scope USB_LP_CAN1_RX0_IRQn = 20, /*!< USB Device Low Priority or CAN1 RX0 Interrupts */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(255): error: #101: "CAN1_RX1_IRQn" has already been declared in the current scope CAN1_RX1_IRQn = 21, /*!< CAN1 RX1 Interrupt */ ../Core/Src/freertos.c: 4 warnings, 30 errors compiling main.c... D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(165): warning: #47-D: incompatible redefinition of macro "__MPU_PRESENT" (declared at line 50 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __MPU_PRESENT 0 /*!< Other STM32 devices does not provide an MPU */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(167): warning: #47-D: incompatible redefinition of macro "__CM3_REV" (declared at line 49 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __CM3_REV 0x0200 /*!< Core Revision r2p0 */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(168): warning: #47-D: incompatible redefinition of macro "__NVIC_PRIO_BITS" (declared at line 51 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __NVIC_PRIO_BITS 4 /*!< STM32 uses 4 Bits for the Priority Levels */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(169): warning: #47-D: incompatible redefinition of macro "__Vendor_SysTickConfig" (declared at line 52 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(178): error: #101: "NonMaskableInt_IRQn" has already been declared in the current scope NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(179): error: #101: "MemoryManagement_IRQn" has already been declared in the current scope MemoryManagement_IRQn = -12, /*!< 4 Cortex-M3 Memory Management Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(180): error: #101: "BusFault_IRQn" has already been declared in the current scope BusFault_IRQn = -11, /*!< 5 Cortex-M3 Bus Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(181): error: #101: "UsageFault_IRQn" has already been declared in the current scope UsageFault_IRQn = -10, /*!< 6 Cortex-M3 Usage Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(182): error: #101: "SVCall_IRQn" has already been declared in the current scope SVCall_IRQn = -5, /*!< 11 Cortex-M3 SV Call Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(183): error: #101: "DebugMonitor_IRQn" has already been declared in the current scope DebugMonitor_IRQn = -4, /*!< 12 Cortex-M3 Debug Monitor Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(184): error: #101: "PendSV_IRQn" has already been declared in the current scope PendSV_IRQn = -2, /*!< 14 Cortex-M3 Pend SV Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(185): error: #101: "SysTick_IRQn" has already been declared in the current scope SysTick_IRQn = -1, /*!< 15 Cortex-M3 System Tick Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(188): error: #101: "WWDG_IRQn" has already been declared in the current scope WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(189): error: #101: "PVD_IRQn" has already been declared in the current scope PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(190): error: #101: "TAMPER_IRQn" has already been declared in the current scope TAMPER_IRQn = 2, /*!< Tamper Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(191): error: #101: "RTC_IRQn" has already been declared in the current scope RTC_IRQn = 3, /*!< RTC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(192): error: #101: "FLASH_IRQn" has already been declared in the current scope FLASH_IRQn = 4, /*!< FLASH global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(193): error: #101: "RCC_IRQn" has already been declared in the current scope RCC_IRQn = 5, /*!< RCC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(194): error: #101: "EXTI0_IRQn" has already been declared in the current scope EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(195): error: #101: "EXTI1_IRQn" has already been declared in the current scope EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(196): error: #101: "EXTI2_IRQn" has already been declared in the current scope EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(197): error: #101: "EXTI3_IRQn" has already been declared in the current scope EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(198): error: #101: "EXTI4_IRQn" has already been declared in the current scope EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(199): error: #101: "DMA1_Channel1_IRQn" has already been declared in the current scope DMA1_Channel1_IRQn = 11, /*!< DMA1 Channel 1 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(200): error: #101: "DMA1_Channel2_IRQn" has already been declared in the current scope DMA1_Channel2_IRQn = 12, /*!< DMA1 Channel 2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(201): error: #101: "DMA1_Channel3_IRQn" has already been declared in the current scope DMA1_Channel3_IRQn = 13, /*!< DMA1 Channel 3 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(202): error: #101: "DMA1_Channel4_IRQn" has already been declared in the current scope DMA1_Channel4_IRQn = 14, /*!< DMA1 Channel 4 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(203): error: #101: "DMA1_Channel5_IRQn" has already been declared in the current scope DMA1_Channel5_IRQn = 15, /*!< DMA1 Channel 5 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(204): error: #101: "DMA1_Channel6_IRQn" has already been declared in the current scope DMA1_Channel6_IRQn = 16, /*!< DMA1 Channel 6 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(205): error: #101: "DMA1_Channel7_IRQn" has already been declared in the current scope DMA1_Channel7_IRQn = 17, /*!< DMA1 Channel 7 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(252): error: #101: "ADC1_2_IRQn" has already been declared in the current scope ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(253): error: #101: "USB_HP_CAN1_TX_IRQn" has already been declared in the current scope USB_HP_CAN1_TX_IRQn = 19, /*!< USB Device High Priority or CAN1 TX Interrupts */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(254): error: #101: "USB_LP_CAN1_RX0_IRQn" has already been declared in the current scope USB_LP_CAN1_RX0_IRQn = 20, /*!< USB Device Low Priority or CAN1 RX0 Interrupts */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(255): error: #101: "CAN1_RX1_IRQn" has already been declared in the current scope CAN1_RX1_IRQn = 21, /*!< CAN1 RX1 Interrupt */ ../Core/Src/main.c: 4 warnings, 30 errors compiling ja370.c... ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h(84): error: #40: expected an identifier uint32_t ulse; /*!< Specifies the pulse value to be loaded into the Capture Compare Register. ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h(116): error: #40: expected an identifier uint32_t ulse; /*!< Specifies the pulse value to be loaded into the Capture Compare Register. D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(165): warning: #47-D: incompatible redefinition of macro "__MPU_PRESENT" (declared at line 50 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __MPU_PRESENT 0 /*!< Other STM32 devices does not provide an MPU */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(167): warning: #47-D: incompatible redefinition of macro "__CM3_REV" (declared at line 49 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __CM3_REV 0x0200 /*!< Core Revision r2p0 */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(168): warning: #47-D: incompatible redefinition of macro "__NVIC_PRIO_BITS" (declared at line 51 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __NVIC_PRIO_BITS 4 /*!< STM32 uses 4 Bits for the Priority Levels */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(169): warning: #47-D: incompatible redefinition of macro "__Vendor_SysTickConfig" (declared at line 52 of "../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h") #define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(178): error: #101: "NonMaskableInt_IRQn" has already been declared in the current scope NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(179): error: #101: "MemoryManagement_IRQn" has already been declared in the current scope MemoryManagement_IRQn = -12, /*!< 4 Cortex-M3 Memory Management Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(180): error: #101: "BusFault_IRQn" has already been declared in the current scope BusFault_IRQn = -11, /*!< 5 Cortex-M3 Bus Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(181): error: #101: "UsageFault_IRQn" has already been declared in the current scope UsageFault_IRQn = -10, /*!< 6 Cortex-M3 Usage Fault Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(182): error: #101: "SVCall_IRQn" has already been declared in the current scope SVCall_IRQn = -5, /*!< 11 Cortex-M3 SV Call Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(183): error: #101: "DebugMonitor_IRQn" has already been declared in the current scope DebugMonitor_IRQn = -4, /*!< 12 Cortex-M3 Debug Monitor Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(184): error: #101: "PendSV_IRQn" has already been declared in the current scope PendSV_IRQn = -2, /*!< 14 Cortex-M3 Pend SV Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(185): error: #101: "SysTick_IRQn" has already been declared in the current scope SysTick_IRQn = -1, /*!< 15 Cortex-M3 System Tick Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(188): error: #101: "WWDG_IRQn" has already been declared in the current scope WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(189): error: #101: "PVD_IRQn" has already been declared in the current scope PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(190): error: #101: "TAMPER_IRQn" has already been declared in the current scope TAMPER_IRQn = 2, /*!< Tamper Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(191): error: #101: "RTC_IRQn" has already been declared in the current scope RTC_IRQn = 3, /*!< RTC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(192): error: #101: "FLASH_IRQn" has already been declared in the current scope FLASH_IRQn = 4, /*!< FLASH global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(193): error: #101: "RCC_IRQn" has already been declared in the current scope RCC_IRQn = 5, /*!< RCC global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(194): error: #101: "EXTI0_IRQn" has already been declared in the current scope EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(195): error: #101: "EXTI1_IRQn" has already been declared in the current scope EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(196): error: #101: "EXTI2_IRQn" has already been declared in the current scope EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(197): error: #101: "EXTI3_IRQn" has already been declared in the current scope EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(198): error: #101: "EXTI4_IRQn" has already been declared in the current scope EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(199): error: #101: "DMA1_Channel1_IRQn" has already been declared in the current scope DMA1_Channel1_IRQn = 11, /*!< DMA1 Channel 1 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(200): error: #101: "DMA1_Channel2_IRQn" has already been declared in the current scope DMA1_Channel2_IRQn = 12, /*!< DMA1 Channel 2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(201): error: #101: "DMA1_Channel3_IRQn" has already been declared in the current scope DMA1_Channel3_IRQn = 13, /*!< DMA1 Channel 3 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(202): error: #101: "DMA1_Channel4_IRQn" has already been declared in the current scope DMA1_Channel4_IRQn = 14, /*!< DMA1 Channel 4 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(203): error: #101: "DMA1_Channel5_IRQn" has already been declared in the current scope DMA1_Channel5_IRQn = 15, /*!< DMA1 Channel 5 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(204): error: #101: "DMA1_Channel6_IRQn" has already been declared in the current scope DMA1_Channel6_IRQn = 16, /*!< DMA1 Channel 6 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(205): error: #101: "DMA1_Channel7_IRQn" has already been declared in the current scope DMA1_Channel7_IRQn = 17, /*!< DMA1 Channel 7 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(252): error: #101: "ADC1_2_IRQn" has already been declared in the current scope ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ D:\Keil5 C51\ARM\PACK\Keil\STM32F1xx_DFP\2.4.1\Device\Include\stm32f10x.h(253): error: #101: "USB_HP_CAN1_TX_IRQn" has already been declared in the current scope USB_HP_CAN1_TX_IRQn = 19, /*!< USB Device High Priority or CAN1 TX Interrupts */ ..\Core\Src\ja370.c: 4 warnings, 30 errors "xunji1\xunji1.axf" - 90 Error(s), 12 Warning(s). Target not created. Build Time Elapsed: 00:00:02
06-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值