cancel
Showing results for 
Search instead for 
Did you mean: 

UART mode enable missing

bramble
Senior

Hi @STTwo-32  & Community,

This issue was reported a long time ago but I'm seeing something similar again now.

In my case it's the definition HAL_UART_MODE_ENABLED for my STM32H755 project, this define being put into stm32h7xx_conf.h after each code re-generation.

My project began as one targeting the H755 Nucleo and at that point there was not problem. The problem arose after migrating to my custom H755 PCB, at which point I removed the Nucleo BSP stuff in MX (CubeIDE MX perspective); I also removed some other unwanted things such as Ethernet support (& LWIP)

I have no UART/USART in my project and can't think of any reason why the UART definition should be getting into my HAL config. Viewing HAL modules in the MX Project settings does not show any peripherals other than those I'm expecting.

My .ioc is attached in case it's helpful.

Thanks

Edit: moved from stm32h5xx_hal_usart.h is missing

1 ACCEPTED SOLUTION

Accepted Solutions
bramble
Senior

Ah I found the solution to my problem. Posting here in case it's helpful to anyone else..

I had not noticed a small checkbox in the BSP config "Human Machine Interface", and this also needed to be unchecked.

I wonder who at ST - or anywhere in the Universe - thinks that light-grey on white, in 6-pt font, is a good colour scheme for text in a GUI?!

bramble_0-1749241666664.png

 

View solution in original post

2 REPLIES 2
bramble
Senior

Ah I found the solution to my problem. Posting here in case it's helpful to anyone else..

I had not noticed a small checkbox in the BSP config "Human Machine Interface", and this also needed to be unchecked.

I wonder who at ST - or anywhere in the Universe - thinks that light-grey on white, in 6-pt font, is a good colour scheme for text in a GUI?!

bramble_0-1749241666664.png

 

Amel NASRI
ST Employee

Hi @bramble ,

I moved your issue to a new thread. Thanks for sharing the solution you found.

@Ghofrane GSOURI for your attention regarding the UI feedback.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.