找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 13106|回复: 3
收起左侧

Error: L6218E: Undefined symbol xxx (referred from main.o).求解

[复制链接]
ID:479385 发表于 2019-2-22 20:05 | 显示全部楼层 |阅读模式
..\OBJ\Template.axf: Error: L6218E: Undefined symbol TIM5CH1_CAPTURE_STA (referred from main.o).
..\OBJ\Template.axf: Error: L6218E: Undefined symbol TIM5CH1_CAPTURE_VAL (referred from main.o).
..\OBJ\Template.axf: Error: L6218E: Undefined symbol tim5_cap_init (referred from main.o).
Not enough information to list image symbols.
回复

使用道具 举报

ID:1 发表于 2019-2-22 20:23 | 显示全部楼层
回复

使用道具 举报

ID:479385 发表于 2019-2-26 11:48 | 显示全部楼层
admin 发表于 2019-2-22 20:23
参考http://www.51hei.com/bbs/dpj-77757-1.html
http://www.51hei.com/bbs/dpj-94436-1.html

谢谢指导
回复

使用道具 举报

ID:828494 发表于 2020-10-11 21:40 | 显示全部楼层
我遇到的情况是因为将TIM2CH1_CAPTURE_STA;        TIM2CH1_CAPTURE_VAL
的定义和声明写在了mian函数和TIM2_IRQHandler函数中,只要把这两个参数的定义和声明写在mian函数和TIM2_IRQHandler函数的外面即可
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表