Incorrect pin definitions in interrupt code (CubeMX 6.4.0, FW_G4 1.5.0)
Processor STM32G473VET, for MDK-ARM
The generated code in stm32g4xx_it.c under EXTI2_IRQHandler() and EXTI15_10_IRQHandler() is passing the incorrect ***_Pin defines to HAL_GPIO_EXTI_IRQHandler(); I believe the port index number may be correct, but the signal is from the wrong port.
e.g.,
Only one of these signals is actually configured as interrupts in CubeMX, however each is on the same index as a configured interrupt on a different port (given the interrupt limitations of 1 per index across all ports, I think this code may actually function).
HAL_GPIO_EXTI_IRQHandler(M1_FAULT_N_Pin);
HAL_GPIO_EXTI_IRQHandler(M2_TEMP_FB_ADC_Pin);
HAL_GPIO_EXTI_IRQHandler(SPI_SCK_Pin);
HAL_GPIO_EXTI_IRQHandler(WAKEUP_Pin);
HAL_GPIO_EXTI_IRQHandler(OSC32_OUT_Pin);
