ST-link printf to console with GDB and semihosting or ITM and ST Link Utility
Thankyou Michael for this great entry
I want just to highlight that when using ITM the user has to make sure that SWO related solder bridges are soldered.
eg : STM32F429I-DISCO >> SB9 ; F3-DISCO >> SB10 ; ...
Regards,
Tarek