hello, I'm trying to get familiar with keil, I run one of the example files on this soft to blink a led using stm32f10x and everything was ok but when I want to create a new project I get this error:
Empty.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f10x_md_vl.o).
I get this error even if I dont write any code in main, I also added stm32f10xr.lib to my project but it didn't solve the problem,
does anybody know what the problem is? thanks in advance :)
I got the same error:
test2.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f10x_md_vl.o).
and nothing seemed to work, copying stuff won't help. It was running earlier though, other projects still run but mine won't.
Please help.
Hello mahdiyeh ghazi,
you must add file system_stm32f10x.c to your project. Copy this file form folder .\Keil\ARM\Startup\ST\STM32F10x to your project folder.
According CMSIS V2.0 this file is used to set the core clock.
Best Regards, Martin Guenther
View all questions in Keil forum