I’m starting using PlatformIO environment with STM32 Nucleo board (NUCLEO-F411RE) and mbed 6. Mbed docs claims printf() should be available (https://os.mbed.com/docs/mbed-os/v6.3/debug-test/debugging-using-printf-statements.html ). In prior versions it was Serial class and serial.printf() method that can be used. Starting from mbed 6 there is no Serial class, but UnbufferedSerial/BufferedSerial which does not have printf() function. I know there is write(), but I would like to make use of convenience of printf’s formatting options.
I added printf() invocation to my main, it seems it is called properly, but I don’t see any output (checked Terminal, Debug Console and Output tabs).
Are there any configuration steps required to enable printf() on mbed 6 with output in PlatformIO? Is the output of printf() going to show in Debug Console tab?