Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MicroPython Feature Request] UF2 to wipe main.py #102

Open
menehune23 opened this issue Apr 20, 2024 · 1 comment · May be fixed by #103
Open

[MicroPython Feature Request] UF2 to wipe main.py #102

menehune23 opened this issue Apr 20, 2024 · 1 comment · May be fixed by #103

Comments

@menehune23
Copy link
Contributor

A UF2 (and accompanying documentation) that resets/wipes the main.py from the filesystem would be super useful to help when a user has gotten their code into a bad state. The other day, my son had errors in his code and couldn't reconnect to Thonny.

Perhaps even better is to detect a key combo on boot and wipe the main.py if that occurs, to unbrick it. Then the user wouldn't need to go through and install a separate UF2 and reinstall the official one.

@menehune23
Copy link
Contributor Author

Heads up, I'm working on this over in my fork: menehune23#2

Will PR to this repo once it's working. I'm pretty new to MicroPython, so if you have some time to take a peek at that PR and offer any comments, I'd appreciate it!

@menehune23 menehune23 linked a pull request Apr 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant