STM32CubeIDE Correct Configuration for Virtual Debug Console
I’m creating a project for NUCLEO-144 (STM32H563ZIT6)
and I’m using STM32CubeIDE for Build/Debug.
After reading various guides from the Web, I have still not
been able to see any Console output (trying to use printf()
and re-directing the character output with this:
int _write(int file, char *ptr, int len)
{
for (int i = 0; i < len; i++)
{
ITM_SendChar((*ptr++));
}
return len;
}
Is there an esoteric Config in the IDE that I need to Enable (or Disable)?
Have I missed some important item in the Project Creation? (I had used STM32CubeMX)
Guidance appreciated!
Paul++
