器件型号:MSP432P4111
工具/软件:Code Composer Studio
我有一个 MSP432P4111板、其中的 XDS110使用 CCSv9通过 MSP-EXP432P4111进行连接。 我想测量代码覆盖率。 是否有操作方法示例? 我应该使用 CCS 中的什么工具? 我是否需要设置特殊的代码构建选项?
Gary
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.
器件型号:MSP432P4111
工具/软件:Code Composer Studio
我有一个 MSP432P4111板、其中的 XDS110使用 CCSv9通过 MSP-EXP432P4111进行连接。 我想测量代码覆盖率。 是否有操作方法示例? 我应该使用 CCS 中的什么工具? 我是否需要设置特殊的代码构建选项?
Gary
请在 TI ARM 编译器手册中搜索 标题 为"使用配置文件信息分析代码覆盖率"的子章节。 该文档介绍了在没有 CCS 的情况下获取代码覆盖的方法。 我找不到有关如何在 CCS 中执行相同过程的文档。 因为假期,我要问的专家都不能出席。 请耐心等待。
谢谢、此致、
乔治
Gary、
本应用手册仍是草稿、但它展示了如何实现覆盖:
https://software-dl.ti.com/ccs/esd/documents/application_notes/appnote-code_coverage_compiler.html
此致、
John