2018-06-25 10:18 PM
Hi,
I am trying to set up printf debug on aSTM32L072 using SWO interface with a ST-Link and uVision5
following documentation I found
I have started with a basic STM32CubeMX project and included the function
int fputc(int ch, FILE *f)
{
ITM_SendChar(ch);
return(ch);
}
but cannot find whereITM_SendChar() is defined.From what I have read it is supposed to be in core_cm0.h which is not loaded in the project - rathercore_cm0plus.h is but does not include a definition forITM_SendChar().
Any advice on
a) should this work ?
b) where isITM_SendChar() defined
c) example of how to get this working
would be appreciated
Thank You
Regards
Peter Simpson