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
2025-05-31 3:52 AM
Thanks for having a look at my project and fixing it. Can you please send the corrected project for me to use? So, adding USART2 to the existing TCP Client example code is allowed, good to know that. My STM32CubeIDE version is 1.18.0.
Thanks & Regards,
Raghu Devisetti