Skip to content

Commit 6044ad9

Browse files
author
Maurizio Branca
committed
Add verbose logs for portenta h7
1 parent f98c0c6 commit 6044ad9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utility/ota/OTA-portenta-h7.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ int portenta_h7_onOTARequest(char const * ota_url)
6161
watchdog_reset();
6262

6363
/* Download the OTA file from the web storage location. */
64+
DEBUG_VERBOSE("Arduino_Portenta_OTA_QSPI::download(%s) started", ota_url);
6465
int const ota_portenta_qspi_download_ret_code = ota_portenta_qspi.download(ota_url, true /* is_https */);
6566
DEBUG_VERBOSE("Arduino_Portenta_OTA_QSPI::download(%s) returns %d", ota_url, ota_portenta_qspi_download_ret_code);
6667

@@ -83,6 +84,8 @@ int portenta_h7_onOTARequest(char const * ota_url)
8384
return static_cast<int>(ota_portenta_err);
8485
}
8586

87+
DEBUG_VERBOSE("Arduino_Portenta_OTA_QSPI::reboot() performing reset to reboot");
88+
8689
/* Perform the reset to reboot - then the bootloader performs the actual application update. */
8790
NVIC_SystemReset();
8891
}

0 commit comments

Comments
 (0)