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

pbio/platform/prime_hub: Enable slots. #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

pbio/platform/prime_hub: Enable slots. #277

wants to merge 1 commit into from

Conversation

laurensvalk
Copy link
Member

@laurensvalk laurensvalk commented Dec 16, 2024

Support for basic multi-program slots has been added a while ago, but it is not enabled by default while we wait on related featured to be completed.

This enables it for those who wish to try it out early.

Try it out

  • Download the Prime Hub firmware file using the link in the post below.
  • Install that file using these instructions.
  • Code as usual using https://beta.pybricks.com/
  • On the hub, choose slot 1 to 5 using the left/right buttons.
  • A new program is downloaded to the selected slot.

Caveats

  • There is no file manager yet. To delete programs, just download an empty program to that slot.
  • Upgrading to a new firmware will erase the programs from the hub.
  • All programs are kept in memory at once. If you write 5 giant programs, it will have a bit less memory remaining to run them.

@coveralls
Copy link

Coverage Status

coverage: 56.36%. remained the same
when pulling e37a731 on slot
into cc5521f on master.

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.

2 participants