平台CC2650, CCS是8.1.
驱动中有Log_print2打印函数,仿真时如何能显示到console口或串口上
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.
平台:CC2650
SDK: tirtos_cc13xx_cc26xx_2_21_00_06
xdc:xdctools_3_32_00_06_core
参考:
http://rtsc.eclipseprojects.io/docs-tip/Using_xdc.runtime_Logging/Example_1
Bios_User_Guide.pdf的9.5.1.1
在*.cfg文件中修改 Text.isLoaded = true;
在*.cfg文件中添加
var Defaults = xdc.useModule('xdc.runtime.Defaults'); var Log = xdc.useModule("xdc.runtime.Log"); var Diags = xdc.useModule("xdc.runtime.Diags"); /* enable runtime control of "info" events for non-modules */ var Main = xdc.useModule("xdc.runtime.Main"); Main.common$.diags_INFO = Diags.RUNTIME_ON; Defaults.common$.diags_USER1 = Diags.ALWAYS_ON; /* use the LoggerSys ILogger service provider */ var Logger = xdc.useModule("xdc.runtime.LoggerSys"); /* create and bind a logger for all non-module code */ Main.common$.logger = Logger.create();
感谢回复,提供了思路,原贴System_printf的回复,网址打不开了。
问题已解决