Last active
October 6, 2025 16:14
-
-
Save RobCranfill/8413eddb49265f5f640b84ef91ea4fe1 to your computer and use it in GitHub Desktop.
Put CircuitPython device into bootloader mode; useful on my QTPy that I broke the BOOTSEL button on! And also all my embedded devices where I can't get at the BOOT button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import microcontroller | |
microcontroller.on_next_reset(microcontroller.RunMode.BOOTLOADER) | |
microcontroller.reset() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment