UART driver missing in STM32CubeIDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-26 08:55 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-26 09:04 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-10 06:43 AM
Thanks for the reply. Can you help me where can I find this in the settings?