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: Fix macOS bug, _logo for launcher. #30

Merged
merged 1 commit into from
Oct 20, 2021

Conversation

Gadgetoid
Copy link
Member

After stepping through some debugging steps with macOS/Thonny/PicoSystem on Discord it struck me that our bootsplash might be ransacking USB and causing problems where it's not fault-tolerant. I was right 😬

This changeset strips out the boot logo entirely on PicoSystem MicroPython, moving it to the "launcher.py" instead.

  • Remove splash/logo from startup. This caused USB to balk on macOS.
  • Add logo into launcher.

Note: We CANNOT run the launcher by default, this breaks Thonny support. For default launcher, import it in "main.py".

Eg:

import launcher

main.py isn't executed when you hit "stop" in Thonny (device soft reset), so it wont utterly trounce your REPL.

* Remove splash/logo from startup. This caused USB to balk on macOS.
* Add logo into launcher.

Note: We *CANNOT* run the launcher by default, this breaks Thonny support. For default launcher, import it in "main.py".
@Gadgetoid Gadgetoid merged commit 07afe5a into main Oct 20, 2021
@Gadgetoid Gadgetoid deleted the patch-macosx-launcher branch November 1, 2021 09:39
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 this pull request may close these issues.

1 participant