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.

[参考译文] SAFETI-HALCOGEN-CSP:存在用户代码时在 HALCoGenTAU 上运行测试

Guru**** 2763595 points

Other Parts Discussed in Thread: HALCOGEN

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/984535/safeti-halcogen-csp-running-tests-on-halcogentau-when-there-is-user-code

器件型号:SAFETI-HALCOGEN-CSP
主题中讨论的其他器件:HALCOGEN

我已经添加了对 halcogen 生成的代码的用户代码部分中存在的函数的一些调用。 即

空 handlePLLLockFail (空)

/*用户代码开始(79)*/
fault();
/*用户代码结束*/

使用 Tau 工具时、我从链接器接收到一个编译时间错误。 这是有道理的,因为 Tau 工具只编译 HALCoGen 生成的文件,而 fault()的定义存在于非 TI 文件中。 在我的 CCS 工程配置下、编译没有问题、因为 makefile 包含这些源文件。 我看到、τ c 生成的 makefile 是静态定义要使用的源文件。 我需要添加到该列表中、以包含我的一些文件、使其能够正确编译。 我该怎么做?  

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

    您好!

    HALCoGen τ 在中编译文件 HALCoGen 生成的\source 文件夹和相应的测试文件夹。  

    请在 HAL CSP 用户指南中找到使用 HALCoGen Tau 工具的限制。