大佬们好,我按着视频里点亮LED灯在编译的时候出现了错误.\LIGHT-LED.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f10x_hd.o).
.\LIGHT-LED.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).
当我按照视频里在程序后面加上
void SystemInit(void)
{
}
之后还是一样的
.\LIGHT-LED.axf: Error: L6218E: Undefined symbol SystemInit (referred from startup_stm32f10x_hd.o).
.\LIGHT-LED.axf: Error: L6218E: Undefined symbol main (referred from __rtentry2.o).