This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM2434:PRU 汇编代码未定义符号错误?

Guru**** 2008950 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1456593/am2434-pru-assembly-code-undefined-symbols-error

器件型号:AM2434

工具与软件:

各位专家、您好!

我最近尝试在 PRG0PRU1内核中使用自旋锁。 我在编译阶段遇到未定义的符号错误。

PRU 内核 C 代码(汇编代码文件声明)如下所示:  

汇编代码(有编译错误)如下所示:

有人能帮忙检查一下缺失了什么吗?

除了未定义符号的错误之外、我还不知道如何使用"#include"来包含 spinlock.h (我曾尝试使用直接 C 盘文件路径、但因权限问题而被拒绝?)

您是否还可以帮助评论当我想在我的 c-disk 中使用文件地址进行"#include"函数时如何删除权限限制?  

非常感谢。         Jason、h

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    各位专家、您好!

    几天前我检查了互联网并解决了上述问题。

    此案例已关闭。

    非常感谢。   Jason