Fix execution halt in nrf devices on assert and add --reboot support on nrf (#1397)

* Fix execution halt in nrf devices on assert

* Peg espressif platform to 3.5.0

* Add reboot to nrf52 devices
This commit is contained in:
Ben Meadors
2022-04-25 01:48:28 -05:00
committed by GitHub
parent 58d91f0a4b
commit 2a76a5527a
3 changed files with 6 additions and 4 deletions

View File

@@ -714,6 +714,8 @@ void powerCommandsCheck()
#ifndef NO_ESP32
DEBUG_MSG("Rebooting for update\n");
ESP.restart();
#elif NRF52_SERIES
NVIC_SystemReset();
#else
DEBUG_MSG("FIXME implement reboot for this platform");
#endif