Closed
Description
CircuitPython version
Setup: Adafruit ESP32-S2 Metro, UF2 0.5.2, CircuitPython 7.0.0, Windows 10
Code/REPL
import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.UF2)
microcontroller.reset()
Behavior
Acts just as a regular system reset. Device does not enter UF2-Bootloader.
Description
Even by directly calling:
esp_reset_reason();
esp_reset_reason_set_hint((esp_reset_reason_t) 0x11F2);
esp_restart();
The ESP32-S2 does not enter UF2-Bootloader.
The only way is to double press the reset button, or reset the device and shortly after press the boot button.
Additional information
No response