You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% "Enable detection of devices with stdio_usb-compatible reset interface"
301
304
#if !defined(_WIN32)
302
305
+ option('f', "--force").set(settings.force) % "Force a device not in BOOTSEL mode but running compatible code to reset so the command can be executed. After executing the command (unless the command itself is a 'reboot') the device will be rebooted back to application mode" +
303
306
option('F', "--force-no-reboot").set(settings.force_no_reboot) % "Force a device not in BOOTSEL mode but running compatible code to reset so the command can be executed. After executing the command (unless the command itself is a 'reboot') the device will be left connected and accessible to picotool, but without the RPI-RP2 drive mounted"
@@ -2276,19 +2282,25 @@ int main(int argc, char **argv) {
2276
2282
#if defined(_WIN32)
2277
2283
printer(dr_vidpid_stdio_usb,
2278
2284
" appears to be a RP2040 device with a USB serial connection, not in BOOTSEL mode. You can force reboot into BOOTSEL mode via 'picotool reboot -f -u' first.");
2285
+
printer(dr_reset_interface,
2286
+
" appears to be a RP2040 device with a USB reset interface, not in BOOTSEL mode. You can force reboot into BOOTSEL mode via 'picotool reboot -f -u' first.");
2279
2287
#else
2280
2288
printer(dr_vidpid_stdio_usb,
2281
2289
" appears to be a RP2040 device with a USB serial connection, so consider -f (or -F) to force reboot in order to run the command.");
2290
+
printer(dr_reset_interface,
2291
+
" appears to be a RP2040 device with a USB reset interface, so consider -f (or -F) to force reboot in order to run the command.");
2282
2292
#endif
2283
2293
} else {
2284
2294
// special case message for what is actually just reboot (the only command that doesn't require reboot first)
2285
2295
printer(dr_vidpid_stdio_usb,
2286
2296
" appears to be a RP2040 device with a USB serial connection, so consider -f to force the reboot.");
2297
+
printer(dr_reset_interface,
2298
+
" appears to be a RP2040 device with a USB reset interface, so consider -f to force the reboot.");
0 commit comments