Skip to content

Commit ea30a8a

Browse files
authored
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.
1 parent 872beec commit ea30a8a

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/supervisor

1 file changed

+1
-1
lines changed

ports/espressif/supervisor/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void reset_port(void) {
275275
}
276276

277277
void reset_to_bootloader(void) {
278-
common_hal_mcu_on_next_reset(RUNMODE_UF2);
278+
common_hal_mcu_on_next_reset(RUNMODE_BOOTLOADER);
279279
esp_restart();
280280
}
281281

0 commit comments

Comments
 (0)