I’ve did as You said, see attached image,
still I cannot have printf in ‘Console’ of System Workbench for STM32 via ITM.
I defined __io_putchar function, overwriting weak definition, like this:
FENCEif !defined ( BSP_LCD_USE )
int __io_putchar (const char ch)
uint32_t ch_ = (uint32_t)ch;
return (int) ITM_SendChar ( ch_ );
since my STM32F746-DISCOVERY board has an LCD, with LCD I don’t need it.
What can be done next to have debug printf on System Workbench for STM32 Console ?