The following code when implemented in `esp-idf` works fine but doesn't in `CPY`. Code Reference: [TinyUF2](https://github.com/adafruit/tinyuf2/tree/master/ports/esp32s2#usage) docs. ```c (void) esp_reset_reason(); esp_reset_reason_set_hint(0x11F2); ``` I am working on adding reset-to-uf2 bootloader from cpy. - `esp_reset_reason_set_hint()` sets `RTC_RESET_CAUSE_REG` which is used by TinyUF2 to determine if reset-to-uf2 was requested. - I can confirm that `RTC_RESET_CAUSE_REG` is successfully set and is persistent after `esp_restart()` is called. - The `sdkconfig` for both cpy and idf are similar.
Activity
[-]Irregularity between Circuitpython & IDF[/-][+]ESP32S2: UF2 RunMode is not working[/+]