完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我有个问题。 基于SPC56ELx示例的Bulding CAN代码会产生此错误: build / obj / can.o:在函数`canStart'中: can.c :(。text_vle.canStart + 0x2c):未定义对`osalThreadSleepS'的引用 collect2:ld返回1退出状态 make:*** [build / out.elf]错误1 CAN配置与示例相同。 但我添加了Chibios。 我已将osalThreadSleepS(1)替换为osalThreadSleepSeconds(1): C: SPC5Studio 蚀插件 org.chibios.spc5.components.spc5hal_1.0.0.201310031641 部件 lib中 SRC 但它似乎不正确。 为什么编译器找不到函数osalThreadSleepS ?与Chibios发生冲突? #osalthreadsleeps #can 以上来自于谷歌翻译 以下为原文 Hello, i have a question. Bulding CAN code based on example for SPC56ELx produce this error: build/obj/can.o: In function `canStart': can.c:(.text_vle.canStart+0x2c): undefined reference to `osalThreadSleepS' collect2: ld returned 1 exit status make: *** [build/out.elf] Error 1 CAN configuration it is same that example. But i have added Chibios. I have replaced osalThreadSleepS(1) with osalThreadSleepSeconds(1) in : C:SPC5Studioeclipsepluginsorg.chibios.spc5.components.spc5hal_1.0.0.201310031641componentlibsrc But it seem not correct. Why compiler don't find function osalThreadSleepS ? there are conflicts with Chibios? #osalthreadsleeps #can |
|
相关推荐
1个回答
|
|
你好,
感谢您的报告,这是一个确认的错误,问题将在下一个版本中修复。 解决方法是编辑文件C: SPC5Studio eclipse plugins org.chibios.spc5.components.osal.spc56elxx_1.0.0.xxxxx component lib src osal.c 并改变 inline void osalThreadSleepS(systime_t time){ 同 void osalThreadSleepS(systime_t time){ 乔瓦尼 以上来自于谷歌翻译 以下为原文 Hello, Thanks for reporting, it is a confirmed bug, the problem will be fixed in next release. The workaround is to edit the file C:SPC5Studioeclipsepluginsorg.chibios.spc5.components.osal.spc56elxx_1.0.0.xxxxxcomponentlibsrcosal.c And change inline void osalThreadSleepS(systime_t time) { with void osalThreadSleepS(systime_t time) { Giovanni |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1392 浏览 1 评论
2058 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1507 浏览 1 评论
2803 浏览 6 评论
5186 浏览 21 评论
351浏览 4评论
486浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
276浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
552浏览 3评论
466浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-19 10:24 , Processed in 0.825212 second(s), Total 73, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号