Hello,
I tried to add Logging capabilities to my Project using Log_info() function.
I Added a Agent and a LoggerBuf instance to my .cfg File over the Available Products View,
but i can't use it cause using Log_info() returns into an Linking Error:
Log_info ./Th3_ofdm_symbol_sync.obj
error #10234-D: unresolved symbols remain
Do i forgot some library to add or something?
I think this is the necessary part of my .cfg File:
var Agent = xdc.useModule('ti.sysbios.rta.Agent');
var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
var Log = xdc.useModule('xdc.runtime.Log');
Agent.loadLogging = false;
Agent.loadLoggingRuntimeControl = false;
Agent.mainLoggerSize = 4096;
Agent.mainLoggerBufferSection = ".mainLoggerSec";
var loggerBuf0Params = new LoggerBuf.Params();
loggerBuf0Params.instance.name = "loggerBuf0";
loggerBuf0Params.bufSection = ".mainLoggerSec";
Program.global.loggerBuf0 = LoggerBuf.create(loggerBuf0Params);
BIOS.common$.logger = Program.global.loggerBuf0;
BIOS.common$.diags_INFO = Diags.ALWAYS_ON;
LoggerBuf.common$.logger = Program.global.loggerBuf0;
LoggerBuf.common$.diags_INFO = Diags.ALWAYS_ON;
best regards
Florian