完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我已添加ucos-ii.h和os_cpu_a.asm,编译时显示如下错误,请大家帮忙看一下问题出在哪里?
ucos.axf: Error: L6218E: Undefined symbol OSPrioCur (referred from os_cpu_a.o). ucos.axf: Error: L6218E: Undefined symbol OSPrioHighRdy (referred from os_cpu_a.o). ucos.axf: Error: L6218E: Undefined symbol OSRunning (referred from os_cpu_a.o). ucos.axf: Error: L6218E: Undefined symbol OSTCBCur (referred from os_cpu_a.o). ucos.axf: Error: L6218E: Undefined symbol OSTCBHighRdy (referred from os_cpu_a.o). ucos.axf: Error: L6218E: Undefined symbol OSIntExit (referred from os_cpu_c.o). ucos.axf: Error: L6218E: Undefined symbol OSIntNesting (referred from os_cpu_c.o). ucos.axf: Error: L6218E: Undefined symbol OSTimeTick (referred from os_cpu_c.o). ucos.axf: Error: L6218E: Undefined symbol OS_CPU_SysTickClkFreq (referred from os_cpu_c.o). ucos.axf: Error: L6218E: Undefined symbol OSLockNesting (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSRdyGrp (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSRdyTbl (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSTCBFreeList (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSTCBList (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSTCBPrioTbl (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSTaskCtr (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_Dummy (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_MemCopy (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_Sched (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_StrCopy (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_StrLen (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OS_TCBInit (referred from os_task.o). ucos.axf: Error: L6218E: Undefined symbol OSTime (referred from os_time.o). Target not created |
|
相关推荐
7个回答
|
|
好像是说的重定义
|
|
|
|
|
|
|
|
在UCOS_ii.h中定义了 OS_EXT INT8U OSPrioCur; 在os_cpu_a.asm中定义了 EXTERN OSPrioCur 这两个文件我都已添加到工程中 |
|
|
|
bluepink 发表于 2018-10-23 20:34 二楼的意思是编译元件中头文件路径有没有设置好 |
|
|
|
头文件路径已加,要是头文件没有加入,会提示打不开头文件的呀 |
|
|
|
缺少头文件
|
|
|
|
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
AD7686芯片不传输数据给STM32,但是手按住就会有数据。
621 浏览 1 评论
1962 浏览 0 评论
如何解决MPU-9250与STM32通讯时,出现HAL_ERROR = 0x01U
1068 浏览 1 评论
hal库中i2c卡死在HAL_I2C_Master_Transmit
1487 浏览 1 评论
LL库F030进行3个串口收发,2个串口为232,一个为485,长时间后,会出现串口1停止运行,另外两个正常,只有重启复原
1924 浏览 1 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 14:40 , Processed in 0.680921 second(s), Total 85, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号