Add support for resetting RP2040 via the USB connection when using pico_stdio_usb
- setting baud rate to magic value (default=1200) will cause a reset to BOOTSEL mode - a VENDOR interface along side the CDC interface can be used to reset via refular flash boot, or into BOOTSEL mode with control for the reset_usb_boot parameters for the latter either method can be configured/enabled/disabled via #define
This commit is contained in:
@ -23,5 +23,7 @@
|
||||
#if !PICO_ON_DEVICE && !defined(PICO_NO_BINARY_INFO)
|
||||
#define PICO_NO_BINARY_INFO 1
|
||||
#endif
|
||||
#if !PICO_NO_BINARY_INFO
|
||||
#include "pico/binary_info/code.h"
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user