Hey
Im trying to as low power consumption as possible and for that i have found that sys_poweroff() gives me that.
My problem is that i cannot get a pin state change to wake the system afterwards.
I have the following logic:
int main(void) { // enable irq on gpio0, 23 if (!pwr_btn_pressed()) { sys_poweroff(); } // do stuff }
Can anyone help me understand what im doing wrong?