I've spent over a day following the scattered examples on this forum trying to get printf to work without any luck.
Has anyone been able to get printf to work on Simplicity Studio v4 with BLE SDK 2.4 running on a Mac system? Thanks.
Are you trying to use printf through SWO or UART?
I added link to Knowledge Base article which explains how to retarget stdio to UART. Data can easily be read from UART using terminal software (example Tera Term).
I'm using TeraTerm daily with BGMxxx and printf() is working just fine.
Perhaps you YaakkoV can share the steps you usually go through to set it up....
I did a quick test using 4 different solutions from the forum and no, none of them did work clean.
At best one of the solutions did print "YZ" when I did printf( "XYZ");.....
The code in the SWO window did not build...I'm using the BGM111.
I needed to add retargetio.c. Worked only with this file in the project.
Got great help from the Finland office!