cancel
Showing results for 
Search instead for 
Did you mean: 

printf not working.

VKUMA.12
Associate II

Hi,

printf function not working in stm32cube_ide.

No error on ide but also no output on uart.

Please help!

4 REPLIES 4
gbm
Lead III
  1. See the syscalls.c file and define your output routine.
  2. Make sure to put \n at the end of format string.

Can u please provide an example code where to edit?

gbm
Lead III

Dozens of related tutorial are available - just look for them. Try something like "STM32CubeIDE printf redirection".

Thanks alot!

Resolved.