Skip to main content
SA.17
Associate III
Jul 31, 2021 1:24 AM UTC
Question

How to update only HAL usart drivers in my program ?

I have used stm32cubemx v5.2 to create my project .

Now i want to update only Uart drivers to drivers of cubemx V6.3 (latest drivers)

How to do it ?

Is it safe to just replace ?

stm32l0xx_hal_uart.c and stm32l0xx_hal_uart.h with newer drivers ?

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
Jul 31, 2021 11:08 AM UTC

> Now i want to update only Uart drivers to drivers of cubemx V6.3 (latest drivers)

 Why?

> Is it safe to just replace ?

Generally, HAL is an intertangled system, so probably nobody will guarantee you that.

JW

SA.17
SA.17Author
Associate III
Jul 31, 2021 1:55 PM UTC

due to suggestion on following link

https://community.st.com/s/feed/0D53W00000znJMrSAM

safe means : are api names and arguments are same ,means i can just replace.