With mbed-os `printf("Hello world");` would print "Hello world" on ttyACM0
How can I achieve the same this using STMCube32 HAL API's?
Initially printf() was giving me some undefined reference errors in sbrk() system call errors.
I added `-specs=nosys.specs` to linker flags. the compilation was successful.
But cat /dev/ttyACM0 does not show any prints.
How can I get printf working on ttyACM0?