Reboot into the ROM bootloader from 1200 baud

Per Scott, the purpose of this trick is to make the board programmable from Arduino even when CP is installed, so my convenience of escaping into UF2 is not going to work out.
This commit is contained in:
Jeff Epler 2022-01-20 18:50:50 -06:00 committed by GitHub
parent 872beeccfe
commit ea30a8ac04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -275,7 +275,7 @@ void reset_port(void) {
} }
void reset_to_bootloader(void) { void reset_to_bootloader(void) {
common_hal_mcu_on_next_reset(RUNMODE_UF2); common_hal_mcu_on_next_reset(RUNMODE_BOOTLOADER);
esp_restart(); esp_restart();
} }