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.

[参考译文] CC1352P7:Wi-SUN:NS_TRACE 打印、即使定义了 exclude_trace

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

https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz-group/sub-1-ghz/f/sub-1-ghz-forum/1508181/cc1352p7-wi-sun-ns_trace-prints-even-with-exclude_trace-defined

器件型号:CC1352P7

工具/软件:

您好、

我使用 SimpleLink CC13xx CC26xx SDK 在 CC1352P7上运行 CoAP 节点、即使使用预定义符号中定义的 exclude_trace、也会打印出跟踪消息。

这是什么原因? 我是否需要禁用其他功能?

提前感谢、
Eduardo。

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

    尊敬的 Eduardo:

     application.c 的第38行中未定义 exclude_trace。 删除此项可以解决您的问题。

    /*
     *  ======== application.c ========
     */
    
    #ifndef WISUN_NCP_ENABLE
    #undef EXCLUDE_TRACE
    #endif

    谢谢、

    Marie H