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

Add NeoPixel Library for Datanoise PicoADK. #8166

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

DatanoiseTV
Copy link

The PicoADK has an WS2812-compatible addressable LED on board, so
the NeoPixel MPY should be included in the firmware.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the NeoPixel MPY should be included in the firmware.

This not in general a policy for boards. For Adafruit boards, we add frozen libraries for boards when we are worried about RAM space, which is not a worry on the RP2040. The disadvantage of freezing is that it uses up firmware space, and the library is frozen at a particular version. The user can override a frozen library by putting a version in /, instead of /lib, because sys.path by default is ['', '/', '.frozen', '/lib'].

However, this is just a guideline, and if you as a manufacturer want to freeze it, it's of course your choice. There are other third-party boards, particularly those designed for educational purposes, where the manufacturer has elected to freeze one or more libraries, including custom libraries for that board.

So happy to approve, based on your reaction to the above. Let us know.

@DatanoiseTV
Copy link
Author

@dhalbert My intention to freeze it was to include it in the base firmware, so it can be used by the PicoADK users. I think it is fine if we freeze it.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tannewt tannewt merged commit f4d1e68 into adafruit:main Jul 13, 2023
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.

3 participants