File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ int rp2040_connect_onOTARequest(char const * ota_url)
119
119
120
120
watchdog_reset ();
121
121
122
+ DEBUG_VERBOSE (" %s downloading: %s" , __FUNCTION__, ota_url);
123
+
122
124
URI url (ota_url);
123
125
Client * client = nullptr ;
124
126
int port = 0 ;
@@ -233,6 +235,7 @@ int rp2040_connect_onOTARequest(char const * ota_url)
233
235
234
236
DEBUG_INFO (" %s: %d bytes received" , __FUNCTION__, ftell (file));
235
237
fclose (file);
238
+ DEBUG_VERBOSE (" %s download successful" , __FUNCTION__);
236
239
237
240
/* Unmount the filesystem. */
238
241
if ((err = fs.unmount ()) != 0 )
@@ -241,6 +244,8 @@ int rp2040_connect_onOTARequest(char const * ota_url)
241
244
return static_cast <int >(OTAError::RP2040_ErrorUnmount);
242
245
}
243
246
247
+ DEBUG_VERBOSE (" %s performing reset to reboot" , __FUNCTION__);
248
+
244
249
/* Perform the reset to reboot to SFU. */
245
250
mbed_watchdog_trigger_reset ();
246
251
/* If watchdog is enabled we should not reach this point */
You can’t perform that action at this time.
0 commit comments