From 0b66649158cc9312fb4f361130195e9fb7def203 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 18 May 2024 00:18:54 +0200 Subject: [PATCH] Avoid nRF52 hard reset after EEPROM wipe --- RNS/Utilities/rnodeconf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index a1cbbdb..9b46bbe 100755 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -2873,8 +2873,9 @@ def main(): RNS.log("WARNING: EEPROM is being wiped! Power down device NOW if you do not want this!") rnode.wipe_eeprom() - # TODO: Add conditional for avoiding this reset on nRF - rnode.hard_reset() + if rnode.platform != ROM.PLATFORM_NRF52: + rnode.hard_reset() + graceful_exit() RNS.log("Reading EEPROM...")