This commit is contained in:
Liam Cottle 2024-05-29 11:25:20 -06:00 committed by GitHub
commit 8d41934029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3440,6 +3440,10 @@ def main():
time.sleep(6.5) time.sleep(6.5)
elif rnode.platform == ROM.PLATFORM_NRF52: elif rnode.platform == ROM.PLATFORM_NRF52:
# Wait a few seconds before hard resetting.
# Otherwise, macOS fails to set firmware hash on NRF52
time.sleep(5)
rnode.hard_reset() rnode.hard_reset()
# The hard reset on this platform is different # The hard reset on this platform is different
# to that of the ESP32 platform, it causes # to that of the ESP32 platform, it causes