2015-12-18 12:52 AM
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.cThanks[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_irqhandler2015-12-18 02:25 AM
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)