I think it’s sufficient to simply register the interrupts using attachInterrupt()
. The STM32 will wake on any EXTI interrupts, not just the one configured with System.sleep()
.
I’m just concluding this from looking at the code, so I may be mistaken. Please try and let me know!