Part Number: MSP432P4111
G'Day all,
Is there a way have different code compiled into a projects' .cfg file using #defines.
In my particular case, for debug builds I'd like to use standard SysMin.outputFxn function so that System_printf() goes through the debugger, but for release builds I'd like to buffer System_printf() data for later retrieval. I'd like to do something along the lines of
#ifndef DEBUG
SysMin.outputFxn = "&my_outputFxn";
Is this possible?
Cheers
Julian