cancel
Showing results for 
Search instead for 
Did you mean: 

EXTI3_IRQHandler(..) not generated after patch Firmware package V1.10.1 for STM32F4

schelven
Associate II
Posted on December 18, 2015 at 09:52

Hi,

The following code in stm32f4xx_it.c is not generated anymore after upgrading to firmware package 1.10.1 for STM32F4 

Also missing HAL_NVIC_SetPriority(EXTI3_IRQn, 5, 0); in MX_GPIO_Init() in main.c

Thanks

[code] 

void EXTI3_IRQHandler(void)

{

/* USER CODE BEGIN EXTI3_IRQn 0 */

/* USER CODE END EXTI3_IRQn 0 */

HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_3);

/* USER CODE BEGIN EXTI3_IRQn 1 */

/* USER CODE END EXTI3_IRQn 1 */

}

[/code]

#stm32f4-1.10.1-ext3_irqhandler
1 REPLY 1
schelven
Associate II
Posted on December 18, 2015 at 11:25

Update: Not sure now if it has to do with the update. The issue is. If the interrupt is default disabled in the NVIC panel of CubeMX, then the code won't be generated, although the pin has been defined in the pinpout panel as GPIO_EXTI3

I would expect that the IRQ handle code is generated with a call to HAL_NVIC_DisableIRQ(EXTI3_IRQn) in, for example MX_GPIO_Init(void)