Page 1 of 1
Proper way to reboot?
Posted: Wed Oct 23, 2019 6:38 am
by zliudr
Upon receiving new wifi credential, I'd like my esp32 to reboot. Being new really sucks. I don't know the proper way to reboot. Could someone point out how to do this? Thank you!
Re: Proper way to reboot?
Posted: Wed Oct 23, 2019 12:22 pm
by PeterR
or, if you like,
Re: Proper way to reboot?
Posted: Wed Oct 23, 2019 4:42 pm
by zliudr
Great! Thanks. Should I 32-bit long jump to the (NULL*) pointer and call pistol.shoot(self.foot) right before the long jump?
Re: Proper way to reboot?
Posted: Wed Oct 23, 2019 11:02 pm
by wevets
And if you're writing in assembly, the HCF (halt and catch fire) instruction would be appropriate.