单片机/MCU论坛
直播中

郭大

11年用户 1059经验值
擅长:嵌入式技术
私信 关注
[问答]

keil 5编译代码显示错误怎么解决?

linking...
..OutputFWLIB.axf: Error: L6218E: Undefined symbol assert_param (referred from misc.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information 0 warning and 1 error messages.
"..OutputFWLIB.axf" - 1 Error(s) 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01


视频讲解的添加的。c和。h文件   

回帖(1)

姚远

2023-11-6 16:01:16
assert_param 函数未定义,在Option->c/c++->preprocessor  symboles  有Define:想中输入 USE_STDPERIPH_DRIVER再重新编译             
举报

更多回帖

发帖
×
20
完善资料,
赚取积分