stm32 keil配置 -
来源: 网络用户发布,如有版权联系网管删除 2018-09-08
[导读]出现这几个错误\output\Buzzer.axf: Error: L6218E: Undefined symbol GPIO_Init (referred from main.o)..\output\Buzzer.axf: Error: L6218E: Undefined symbol GPIO_PinRemapConfig (referred from main.o)..\out
出现这几个错误
本文引用地址: http://www.21ic.com/app/mcu/201807/781478.htm
outputBuzzer.axf: Error: L6218E: Undefined symbol GPIO_Init (referred from main.o).
.outputBuzzer.axf: Error: L6218E: Undefined symbol GPIO_PinRemapConfig (referred from main.o).
.outputBuzzer.axf: Error: L6218E: Undefined symbol GPIO_SetBits (referred from main.o).
.outputBuzzer.axf: Error: L6218E: Undefined symbol RCC_APB2PeriphClockCmd (referred from main.o).
一般原因是,库函数未添加,在工程的 lib中加入 rcc.c文件即可
见图:
查看评论 回复