Resolved! Ext Interrupt works fine in dedicated project, but does not when copied into the main project
I have this code, in where the interrupt works without issues in debug mode: void EXTI2_IRQHandler(){ SET_BIT(EXTI->PR1, EXTI_PR1_PIF2); // Clear interrupt flag } /* USER CODE END 0 */ /** * @brief The application entry point. * @retval int ...