2024-01-06 11:09 PM - edited 2024-01-06 11:10 PM
Hi.
Problem:
stm32h5_xx_hal_conf.h is generated with #define HAL_USART_MODULE_ENABLED but the file stm32h5xx_hal_usart.h is not included in the project code generation.
I'm using one usart peripheral in asynchronous mode, it is OK to just comment out the row in stm32h5_xx_hal_conf.h to make the project compile and work, I must do that each time the .ioc changes.
Versions:
STM32CubeIDE version 1.14.0
STM32CubeMX version: 6.10.0-RC9
STM32Cube FW_H5 V1.1.1
Settings:
Peripherals initialized as a pair of '.c/.h' files per peripheral
Solved! Go to Solution.
2024-01-22 04:26 AM
Hello @Andrzej_P @Poleshift ,
After investigation I can confirm the issue.
I escalated the problem to CubeMX team in an internal ticket (ID : 171330 ) to take a closer look at this issue.
(PS: ID 171330 is an internal tracking number and is not accessible or usable by customers).
Thanks.
Mahmoud.
2024-01-08 12:25 AM
Hello @Poleshift ,
First let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
Thanks.
Mahmoud.
2024-01-09 05:40 AM - edited 2024-01-09 05:58 AM
Hello @Poleshift ,
The issue was not reproduced by my side.
If you disable USART:
/*#define HAL_UART_MODULE_ENABLED */
/*#define HAL_USART_MODULE_ENABLED */
If you enable USART in Asynchronous Mode:
#define HAL_UART_MODULE_ENABLED
/*#define HAL_USART_MODULE_ENABLED */
If you enable USART in Synchronous Mode:
/*#define HAL_UART_MODULE_ENABLED */
#define HAL_USART_MODULE_ENABLED
Thanks.
2024-01-13 10:48 AM
I have now done a complete uninstall, purge and reinstallation of STM32CubeIDE and the problem persists.
@Mahmoud Ben Romdhane please try to reproduce using the same versions, MCU/board and USART3 in Asynchronous mode.
2024-01-15 05:49 AM
Hello @Poleshift ,
The issue is not reproduced.
For more investigation can you provide please your .ioc file.
Thanks.
Mahmoud.
2024-01-17 03:17 PM
Have very similar issue. Had to comment out manually.
For the setup reproduction I was just going blinky LED on Nucleo-H563ZI with all default config for that.
2024-01-22 04:26 AM
Hello @Andrzej_P @Poleshift ,
After investigation I can confirm the issue.
I escalated the problem to CubeMX team in an internal ticket (ID : 171330 ) to take a closer look at this issue.
(PS: ID 171330 is an internal tracking number and is not accessible or usable by customers).
Thanks.
Mahmoud.
2024-01-22 09:41 AM
Thank you Mahmoud.
Since I made this report I have found one more issue that I only have with the H563ZI, every time I start STM32 CubeIDE, some of the configuratins in the .ioc are deleted, GPIOs, and USARTs. Is the custom to start another thread?
Best regards
2024-01-23 05:22 AM
Hello @Poleshift ,
Further to your comment.
Can you provide please more details about the issue that you have encountered.
Thanks.
Mahmoud.
2024-03-06 01:15 AM
STM32CubeIDE 1.14.1 the same problem is still there I have to comment out the include manually
stm32h5xx_hal_usart is not present in the header files in the drivers folder