Hello @AFinn.1 ,
Thanks for your feedback,
This issue was already detected with other STM32 and raised to the development team. I'll keep you posted with the updates.
** Taking the example of PC6 and PA6, both pins CAN be configured as GPIO_EXTI6 **
- PC6 configured as a GPIO_EXTI6, user Label EXTI_PC6 and interrupt enabled in NVIC settings
- PA6 configured as an Output, user label Output_PA6
In EXTI9_5_IRQHandler(), user will find the following HAL_GPIO_EXTI_IRQHandler(Output_PA6_Pin) instead of HAL_GPIO_EXTI_IRQHandler(EXTI_PC6_Pin);
Workaround :
Either remove PA6 user label or set its state to reset state, this will give you a correct generated code.
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 :)
Thanks @Imen DAHMEN and @Peter BENSCH for flagging this to us.
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.