2025-05-24 8:27 AM
Hi all,
I had created an example project Tx_Thread_Creation for NUCLEO-F767ZI board and enabled Threadx.
I had also enabled the USART 2 peripheral and also enabled the USART driver under HAL Drivers under the software packages, but the USART Driver files are not added to the "Drivers/STM32F7xx_HAL_Driver/" folder. Attached the project for your reference as a zip file.
Please check it once and let me know how to fix the issue.
Thanks,
2025-05-24 9:15 AM
I opened you project and took a look at your config file and the #define HAL_UART_MODULE_ENABLED was commented out.
I disabled USART2 and generated code. I then enabled USART2 and NVIC, then generated code. The #define HAL_UART_MODULE_ENABLED now shows correctly. This is with STM32CubeIDE 1.18.1