提示..\CMSIS\stm32f10x.h(383): error: #67: expected a "}"错误

本文详细介绍了在使用Keil515进行STM32F10X芯片开发时遇到的CMSIS文件错误的解决方案,特别强调了在选择不同芯片型号时需要添加特定宏定义的重要性。

keil 515提示..\CMSIS\stm32f10x.h(383): error:  #67: expected a "}"错误。解决方法是修改(增加或者不要)c/c++选项的Define里的“STM32F10X_HD”(我用的是103ZG所以是HD,看使用情况)



使用keil 5自带的选择芯片型号需要加Define宏定义,上面的那个Software Packs是安装的st的Keil.STM32F1xx_DFP.1.1.0的包下面那个是安装keil5 就有的



用安装的st的Keil.STM32F1xx_DFP.1.1.0的包不需要加宏定义





未经许可,也可转载0..0                                        -----萌萌的文艺同学


*** Using Compiler &#39;V5.06 update 5 (build 528)&#39;, folder: &#39;E:\keil\ARM\ARMCC\Bin&#39; Build target &#39;Target 1&#39; compiling system_stm32f10x.c... CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; CMSIS\system_stm32f10x.c: 1 warning, 1 error compiling stm32f10x_dac.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_dac.c: 1 warning, 1 error compiling stm32f10x_it.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; User\stm32f10x_it.c: 1 warning, 1 error compiling main.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; User\main.c: 1 warning, 1 error compiling misc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\misc.c: 1 warning, 1 error compiling stm32f10x_bkp.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_bkp.c: 1 warning, 1 error compiling stm32f10x_adc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_adc.c: 1 warning, 1 error compiling stm32f10x_can.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_can.c: 1 warning, 1 error compiling stm32f10x_dbgmcu.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_dbgmcu.c: 1 warning, 1 error compiling stm32f10x_cec.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_cec.c: 1 warning, 1 error compiling stm32f10x_crc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_crc.c: 1 warning, 1 error compiling stm32f10x_dma.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_dma.c: 1 warning, 1 error compiling stm32f10x_exti.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_exti.c: 1 warning, 1 error compiling stm32f10x_fsmc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_fsmc.c: 1 warning, 1 error compiling stm32f10x_gpio.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_gpio.c: 1 warning, 1 error compiling stm32f10x_flash.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_flash.c: 1 warning, 1 error compiling stm32f10x_iwdg.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_iwdg.c: 1 warning, 1 error compiling stm32f10x_rcc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_rcc.c: 1 warning, 1 error compiling stm32f10x_i2c.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_i2c.c: 1 warning, 1 error compiling stm32f10x_spi.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_spi.c: 1 warning, 1 error compiling stm32f10x_pwr.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_pwr.c: 1 warning, 1 error compiling stm32f10x_rtc.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_rtc.c: 1 warning, 1 error compiling stm32f10x_sdio.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_sdio.c: 1 warning, 1 error compiling stm32f10x_tim.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_tim.c: 1 warning, 1 error compiling stm32f10x_usart.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_usart.c: 1 warning, 1 error compiling stm32f10x_wwdg.c... .\CMSIS\stm32f10x.h(245): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ .\CMSIS\stm32f10x.h(473): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; Libraries\stm32f10x_wwdg.c: 1 warning, 1 error ".\Objects\c6.axf" - 26 Error(s), 26 Warning(s). Target not created. Build Time Elapsed: 00:00:01
11-14
*** Using Compiler &#39;V5.06 update 5 (build 528)&#39;, folder: &#39;D:\kile5\ARM\ARMCC\Bin&#39; Rebuild target &#39;Target 1&#39; assembling startup_stm32f10x_hd.s... compiling stm32f10x_dac.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c: 1 warning, 1 error compiling stm32f10x_sdio.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c: 1 warning, 1 error compiling stm32f10x_bkp.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c: 1 warning, 1 error compiling stm32f10x_adc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 1 warning, 1 error compiling stm32f10x_rcc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 1 warning, 1 error compiling stm32f10x_cec.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c: 1 warning, 1 error compiling stm32f10x_crc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c: 1 warning, 1 error compiling stm32f10x_dma.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c: 1 warning, 1 error compiling stm32f10x_dbgmcu.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c: 1 warning, 1 error compiling system_stm32f10x.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\CMSIS\system_stm32f10x.c: 1 warning, 1 error compiling stm32f10x_exti.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c: 1 warning, 1 error compiling stm32f10x_flash.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 1 warning, 1 error compiling core_cm3.c... compiling stm32f10x_gpio.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 1 warning, 1 error compiling stm32f10x_iwdg.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c: 1 warning, 1 error compiling stm32f10x_fsmc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c: 1 warning, 1 error compiling stm32f10x_i2c.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 1 warning, 1 error compiling stm32f10x_tim.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 1 warning, 1 error compiling stm32f10x_pwr.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c: 1 warning, 1 error compiling stm32f10x_spi.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c: 1 warning, 1 error compiling stm32f10x_can.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 1 warning, 1 error compiling main.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\main.c: 1 warning, 1 error compiling bsp_stepmotor.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\stepmotor\bsp_stepmotor.c: 1 warning, 1 error compiling stm32f10x_it.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\stm32f10x_it.c: 1 warning, 1 error compiling stm32f10x_wwdg.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c: 1 warning, 1 error compiling bsp_key.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\key\bsp_key.c: 1 warning, 1 error compiling misc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 1 warning, 1 error compiling stm32f10x_usart.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 1 warning, 1 error compiling stm32f10x_rtc.c... ..\Libraries\CMSIS\stm32f10x.h(298): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Libraries\CMSIS\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c: 1 warning, 1 error ".\Objects\BH-F103.axf" - 28 Error(s), 28 Warning(s). Target not created. Build Time Elapsed: 00:00:04
05-22
stm32f105新建工程Rebuild started: Project: STM32_Car *** Using Compiler &#39;V5.06 update 7 (build 960)&#39;, folder: &#39;D:\Keil_v5\ARM\ARMCC\Bin&#39; Rebuild target &#39;STM32F105RC&#39; compiling main.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\main.c(9): warning: #1-D: last line of file ends without a newline } ..\User\main.c: 2 warnings, 1 error compiling stm32f10x_crc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_crc.c: 1 warning, 1 error compiling stm32f10x_dbgmcu.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_dbgmcu.c: 1 warning, 1 error compiling stm32f10x_bkp.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_bkp.c: 1 warning, 1 error compiling stm32f10x_adc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_adc.c: 1 warning, 1 error compiling misc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\misc.c: 1 warning, 1 error compiling stm32f10x_dac.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_dac.c: 1 warning, 1 error compiling stm32f10x_it.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\User\stm32f10x_it.c: 1 warning, 1 error compiling stm32f10x_dma.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_dma.c: 1 warning, 1 error compiling stm32f10x_cec.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_cec.c: 1 warning, 1 error compiling stm32f10x_can.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_can.c: 1 warning, 1 error compiling stm32f10x_exti.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_exti.c: 1 warning, 1 error compiling stm32f10x_flash.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_flash.c: 1 warning, 1 error compiling stm32f10x_fsmc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_fsmc.c: 1 warning, 1 error compiling stm32f10x_gpio.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_gpio.c: 1 warning, 1 error compiling stm32f10x_i2c.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_i2c.c: 1 warning, 1 error compiling stm32f10x_iwdg.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_iwdg.c: 1 warning, 1 error compiling stm32f10x_pwr.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_pwr.c: 1 warning, 1 error compiling stm32f10x_rcc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_rcc.c: 1 warning, 1 error compiling stm32f10x_rtc.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_rtc.c: 1 warning, 1 error assembling startup_stm32f10x_hd.s... compiling stm32f10x_sdio.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_sdio.c: 1 warning, 1 error compiling stm32f10x_spi.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_spi.c: 1 warning, 1 error compiling stm32f10x_tim.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_tim.c: 1 warning, 1 error compiling stm32f10x_usart.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_usart.c: 1 warning, 1 error compiling core_cm3.c... compiling stm32f10x_wwdg.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Library\src\stm32f10x_wwdg.c: 1 warning, 1 error compiling system_stm32f10x.c... ..\Start\stm32f10x.h(428): error: #67: expected a "}" ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ ..\Start\stm32f10x.h(472): warning: #12-D: parsing restarts here after previous syntax error } IRQn_Type; ..\Start\system_stm32f10x.c: 1 warning, 1 error ".\Objects\STM32_Car.axf" - 26 Error(s), 27 Warning(s). Target not created. Build Time Elapsed: 00:00:01
最新发布
12-02
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值