Skip to main content
PX_it
Associate II
January 20, 2022
Solved

Bug Report on Code Generation for STM32H745 using STM32CubeMX V6.4.0

  • January 20, 2022
  • 2 replies
  • 1758 views

The PB7 pin is set as GPIO_EXTI7 and TIM17 is enabled for PWM output. In the generated code, the IRQ routine is generated wrongly as follow:

void EXTI9_5_IRQHandler(void)
{
 /* USER CODE BEGIN EXTI9_5_IRQn 0 */
 
 /* USER CODE END EXTI9_5_IRQn 0 */
 HAL_GPIO_EXTI_IRQHandler(TIM17_BUZZER_Pin);
 /* USER CODE BEGIN EXTI9_5_IRQn 1 */
 
 /* USER CODE END EXTI9_5_IRQn 1 */
}

This topic has been closed for replies.
Best answer by Sara BEN HADJ YAHYA

Hello @PX​ ,

Thanks for your feedback,

This is a known issue and already raised to the dev team. For more details, please check my answer in this thread CubeIDE incorrectly generates the initial code of EXTI handlers: namely, it substitutes the wrong names with User Labels

Sorry for any inconvenience that this may cause.

If you issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)

Sara.

2 replies

Sara BEN HADJ YAHYA
ST Technical Moderator
January 20, 2022

Hello @PX​ ,

Thanks for your feedback,

This is a known issue and already raised to the dev team. For more details, please check my answer in this thread CubeIDE incorrectly generates the initial code of EXTI handlers: namely, it substitutes the wrong names with User Labels

Sorry for any inconvenience that this may cause.

If you issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Sara BEN HADJ YAHYA
ST Technical Moderator
March 8, 2022

Hello @PX ,

This issue is fixed in STM32CubeMX latest release.

V6.5.0 is now available under this Link.

Thanks for your contribution.

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.