出現(xiàn)這幾個錯誤
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).
一般原因是,庫函數(shù)未添加,在工程的 lib中加入 rcc.c文件即可
見圖: