2018-11-28 01:42 AM
I am using STM32CubeMx to generate default files to build with Makefile. I edited the main.c to print some logs using printf. I am unable to see the same logs in the serial. Am I missing anything ?
2018-11-28 05:21 AM
>>Am I missing anything ?
Evidently something
Confirm the configuration of the clocks, peripheral and pins. Inspect registers in debugger.
Check USART via simple string output test, NOT using printf/puts/putchar
2018-11-30 12:48 AM
I tried directly to write into the USART1 using the below method
HAL_UART_Transmit(&console_uart, (uint8_t*)string, strlen(string), 0xffffff);
It is working fine. But how to redirect the standard I/O to the same port ? I am naive in this. Any Help could be appreciated