I have read in the MCUXpresso docs that "When you have linked with the semihosting library, your application will no longer work standalone – it will only work when connected to the debugger"
Elsewhere on the forums, I read, "semihosting only works when there is an active debug connection to the device." - this sounds like it is ok to leave it in the code when deploying because it will simply (and obviously) not provide console output when not in an active debug session.
I have an LPC845-based system that uses the console for PRINTF, super handy for developing code. It seems to work perfectly when disconnected from the Multilink, working as "stand alone", so I am confused by the #MCUXpresso document statement
So, I am asking for a definitive answer on this:
What needs to be done to the code or to the IDE settings to properly go from DEBUGGING to Production release regarding the use of semi hosting, if anything? Do I need to remove or disable the PRINTF statements? Can I leave then as-is, they are automatically "removed" when not connected to a debug session?
Cheers!