2020-10-01 02:29 AM
Hi!
My name is Vincenzo.
I'm studying the board L432KC and I can't understand why using the HAL_UART_Transmit function I can transmit data on the terminal, while using the printf function nothing appears. Is there any preliminary operation to do?
Thanks in advance for your support!
Vincenzo
Solved! Go to Solution.
2020-10-06 02:04 AM
Hi Mohamed,
yes, sure!
I followed the strategy described in chapter 8 of the Carmine Noviello's book (Mastering STM32 - paragraph 8.6 I/O Retargeting).
This strategy is also summarized in this article: https://shawnhymel.com/1873/how-to-use-printf-on-stm32/
I hope this has been useful to you.
Thanks.
2020-10-01 02:37 AM
I solved. Thank you anyway
2020-10-06 01:17 AM
Hello @Community member ,
Can you please tell us how you solved your problem ?
Thanks and Best Regards,
Mohamed Aymen.
2020-10-06 02:04 AM
Hi Mohamed,
yes, sure!
I followed the strategy described in chapter 8 of the Carmine Noviello's book (Mastering STM32 - paragraph 8.6 I/O Retargeting).
This strategy is also summarized in this article: https://shawnhymel.com/1873/how-to-use-printf-on-stm32/
I hope this has been useful to you.
Thanks.