cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f10x.h(343): error: #67: expected a ''}'' compile issue

Carter Lee
Associate III
Posted on September 05, 2017 at 04:22

Dear All,

Now I'm trying to build up 

the project with SPL library in Keil.

I'm still struggling with build up the project even I refer the template project.

the error message is the below

can you help me what am I supposed to do?

0690X000006041hQAA.jpg

*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'

Rebuild target 'Target 1'

compiling stm32f10x_it.c...

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(343): error: &sharp67: expected a ''}''

ADC1_IRQn = 18, /*!< ADC1 global Interrupt */

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\USART\Interrupt\stm32f10x_it.c: 1 warning, 1 error

compiling main.c...

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(343): error: &sharp67: expected a ''}''

ADC1_IRQn = 18, /*!< ADC1 global Interrupt */

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\USART\Interrupt\main.c: 1 warning, 1 error

compiling system_stm32f10x.c...

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(343): error: &sharp67: expected a ''}''

ADC1_IRQn = 18, /*!< ADC1 global Interrupt */

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\USART\Interrupt\system_stm32f10x.c: 1 warning, 1 error

compiling core_cm3.c...

assembling startup_stm32f10x_hd_vl.s...

compiling stm32_eval.c...

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(343): error: &sharp67: expected a ''}''

ADC1_IRQn = 18, /*!< ADC1 global Interrupt */

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

///// ... ............////

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 1 warning, 1 error

compiling stm32f10x_wwdg.c...

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(343): error: &sharp67: expected a ''}''

ADC1_IRQn = 18, /*!< ADC1 global Interrupt */

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h(472): warning: &sharp12-D: parsing restarts here after previous syntax error

} IRQn_Type;

..\en.stsw-stm32054\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c: 1 warning, 1 error

''.\Objects\ex14.axf'' - 27 Error(s), 27 Warning(s).

Target not created.

Build Time Elapsed: 00:00:29

But when I see that I can't find any error point.

Would you please help me how to resolve this ?

#stm32f10x #getting-started
0 REPLIES 0