File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 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)
119119
120120 watchdog_reset ();
121121
122+ DEBUG_VERBOSE (" %s downloading: %s" , __FUNCTION__, ota_url);
123+
122124 URI url (ota_url);
123125 Client * client = nullptr ;
124126 int port = 0 ;
@@ -233,6 +235,7 @@ int rp2040_connect_onOTARequest(char const * ota_url)
233235
234236 DEBUG_INFO (" %s: %d bytes received" , __FUNCTION__, ftell (file));
235237 fclose (file);
238+ DEBUG_VERBOSE (" %s download successful" , __FUNCTION__);
236239
237240 /* Unmount the filesystem. */
238241 if ((err = fs.unmount ()) != 0 )
@@ -241,6 +244,8 @@ int rp2040_connect_onOTARequest(char const * ota_url)
241244 return static_cast <int >(OTAError::RP2040_ErrorUnmount);
242245 }
243246
247+ DEBUG_VERBOSE (" %s performing reset to reboot" , __FUNCTION__);
248+
244249 /* Perform the reset to reboot to SFU. */
245250 mbed_watchdog_trigger_reset ();
246251 /* If watchdog is enabled we should not reach this point */
You can’t perform that action at this time.
0 commit comments