Skip to main content
PKuma.51
Associate
April 26, 2020
Question

UART driver missing in STM32CubeIDE.

  • April 26, 2020
  • 2 replies
  • 1488 views

I have generated my code using CubeMx tool in STM32CubeIDE. I find the stm32f4xx_hal_uart.c missing from the project. But when I generated the code by enabling the uart as asynchronous mode the second time, the uart appears in the driver folder. Why uart is missing?

0693W000000WSkkQAG.png

This topic has been closed for replies.

2 replies

berendi
Principal
April 26, 2020

It has copied the necessary drivers for the configured peripherals only. There must be some checkbox to change this behaviour in CubeMX.

The intended audience of the CubeMX code generator is apparently not smart enough to write code to configure a UART.

PKuma.51
PKuma.51Author
Associate
May 10, 2020

Thanks for the reply. Can you help me where can I find this in the settings?