STM32CubeMx does not generate syscalls.c
Dear all,
I have an STM32F746G-DISCO and wanted to get started with printing some text with printf() over the virtual serial COM-port USART1 which is connected via the ST-Link v2.1 with a USB-cable to the PC.
I used STM32Cube FW_F7_V1.5.1 to generate my project for SystemWorkbench STM32. I configured the USART1 port to be used.
Then I copied all relevant code from the UART_Printf - example from STM32F746ZG-Nucleo\Examples\UART\UART_Printf.However, nothing gets printed to the serial terminal console on my PC.
After a long time, I figured out what was wrong: STM32CubeMX does not generate the syscalls.c !
Can you please fix this in STM32CubeMx?
Or add an option there to generate it? Or at least clearly document it in the USART_Printf() example?I hope this post, at least, helps any other newcomers to solve this problem with printf() over the serial VCP.
