cancel
Showing results for 
Search instead for 
Did you mean: 

USART3_8_IRQHandler generated code - spurious repetition of (&huart5);

jerome29
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

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.

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.