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.

[参考译文] TM4C129XNCZAD:在 NDK 中添加日志事件、以在 code composer studio 控制台中显示

Guru**** 2390735 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1326579/tm4c129xnczad-adding-log-events-in-the-ndk-to-be-displayed-in-the-code-composer-studio-console

器件型号:TM4C129XNCZAD

您好!

我想在 NDK 堆栈中添加日志事件、以便出于调试目的显示在 code composer studio 控制台中。

我将以下配置添加到.cfg 文件中:

BIOS.logsEnabled =真;

Global.debugAbortLevel =全局。 DBG_INFO;
Global.debugPrintLevel =全局。 DBG_INFO;

此外,我使用以下函数来添加我的日志:  DbgPrintf(DBG_info,"Debug log";
然后重新构建 NDK。

但 CCS 控制台或调试器控制台上不显示任何内容。 如何显示添加的日志?

谢谢。