reset after deadlock
Posted: Thu Aug 08, 2019 10:47 pm
Hi,
I've been experimenting with handling deadlocks in MicroPython on ESP32 Thingy.
Can I use an interrupt handler to reset the system? I've tried handling an edge on pin 0 but either it isn't called or it's code is blocked.
I'd like to modify/remove main.py and call machine.reset() from the interrupt. Is this possible?
Cheers,
Bitrat
I've been experimenting with handling deadlocks in MicroPython on ESP32 Thingy.
Can I use an interrupt handler to reset the system? I've tried handling an edge on pin 0 but either it isn't called or it's code is blocked.
I'd like to modify/remove main.py and call machine.reset() from the interrupt. Is this possible?
Cheers,
Bitrat