cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO L432KC. How to print on TeraTerm using printf function?

VNava
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
VNava
Associate III

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.

View solution in original post

3 REPLIES 3
VNava
Associate III

I solved. Thank you anyway

Mohamed Aymen HZAMI
ST Employee

Hello @Community member​ ,

Can you please tell us how you solved your problem ?

Thanks and Best Regards,

Mohamed Aymen.

VNava
Associate III

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.