2025-10-17 1:44 AM - last edited on 2025-10-17 2:42 AM by Andrew Neil
Hello,
I have a project on STM32F091 generated with STM32CubeMX.
Connectivity included USART3, USART4 and USART5.
It created this code that has a problem on the line with huart5 ("(&huart5);" is written twice and it give a warning during build).
Do you confirm? What the procedure to correct in next CubeMX version?
void USART3_8_IRQHandler(void)
{
/* USER CODE BEGIN USART3_8_IRQn 0 */
/* USER CODE END USART3_8_IRQn 0 */
HAL_UART_IRQHandler(&huart3);
HAL_UART_IRQHandler(&huart4);
HAL_UART_IRQHandler(&huart5);(&huart5);
/* USER CODE BEGIN USART3_8_IRQn 1 */
/* USER CODE END USART3_8_IRQn 1 */
}regards
jerome
Edited to apply source code formatting - please see How to insert source code for future reference.
Solved! Go to Solution.
2025-10-17 5:52 AM
Hello @jerome29 ,
Let me thank you for bringing this issue to our attention.
The issue is confirmed, and an internal Ticket was submitted to the Development Team:
(Internal Ticket Number: 219909).
I will keep you up to date when the problem is solved.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-17 3:39 AM
Hello @jerome29 ,
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
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-17 5:52 AM
Hello @jerome29 ,
Let me thank you for bringing this issue to our attention.
The issue is confirmed, and an internal Ticket was submitted to the Development Team:
(Internal Ticket Number: 219909).
I will keep you up to date when the problem is solved.
Thanks.
Mahmoud
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.