STM32--Error: L6218E: Undefined symbol

STM32编译时出现:..\OBJ\KEY.axf: Error: L6218E: Undefined symbol IWDG_WriteAccessCmd (referred from wdg.o).错误缘由:函数

    没有将相应的库函数包含进去。spa

    方法:Project--右键--Manage Project Items--在Groups选择对应文件夹--Files中添加须要的库文件it