Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi..
Can any one help me in using the "System_printf" function. I am using "Nvsinternal" example, in that i want to output the base address and sector size values on to the uart.
Currently i am using UART4.
I have gone through some of the forum posts which mainly suggesting that to add the header file
"#include <xdc/runtime/System.h>" in main file
and the below initialisation in .cfg file.
var System = xdc.useModule("xdc.runtime.System");
var SysMin = xdc.useModule("xdc.runtime.SysMin");
SysMin.bufSize = 0;
SysMin.flushAtExit = false;
System.SupportProxy = SysMin; /* not really necessary since SysMin is the default */
But here in the example code there is no such .cfg file.
I have used that system.h header in the nvsinternal.c file and directly used System_printf function for display. however there is no output on the console.
So please explain me - how to use this "System_printf" function for sending the data out over UART4.
Thank you
Regards
Kalyan.