-
Notifications
You must be signed in to change notification settings - Fork 27
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
neopixel/ws2812 timings #161
Comments
Okay, so I could not successfully trigger a new docker build of the MicroPython builds we have in https://github.com/microbit-foundation/micropython-build-env, because some pinned dependencies don't seem to be available in the ubuntu package repositories. I was hoping to be able to checkout the v2.1.x-branch, and re-build with only those changes, but for some reason that didn't triggering re-compilation for the codal-nrf52 files and ended up with a build with the only change being the version string. Nevertheless, doing a clean build worked correctly, and there wasn't significant changes in the build output (sometimes, even with small changes, the compiler applies optimisation levels differently and/or moves things around, when so a binary/hex comparison is not easy). The final hex output only contains 4 changes, so that made it really easy to verify everything else should be exactly the same. Which is important as I was hoping to be able to avoid having to run a lot of manual tests. The v2.1.2 hex file can be downloaded from the GitHub release https://github.com/microbit-foundation/micropython-microbit-v2/releases/tag/v2.1.2 and will be added to the Python Editor soon. The changes in the hex file are:
|
This release contains a fix for a neopixel issue: microbit-foundation/micropython-microbit-v2#161 Tag: https://github.com/microbit-foundation/micropython-microbit-v2/releases/tag/v2.1.2 Upgrade tracked by: #1137
This release contains a fix for a neopixel issue: microbit-foundation/micropython-microbit-v2#161 Tag: https://github.com/microbit-foundation/micropython-microbit-v2/releases/tag/v2.1.2 Upgrade tracked by: #1137
@dpgeorge @jimmo v2.1.2 of MicroPython for micro:bit V2 has been deployed to https://python.microbit.org |
Thanks @microbit-carlos!! :) |
There is a wide range of ws2812 LEDs with slightly different timings and the CODAL version in the MicroPython v.2.1.1 release doesn't work with all of them:
HARDWARE_NEOPIXEL
lancaster-university/codal-microbit-v2#294This has been fixed in CODAL's PR lancaster-university/codal-nrf52#47, but to do a low-risk v2.1.2 release we can apply the patch directly to v2.1.1 as done in: v2.1.1...0697c6d
The text was updated successfully, but these errors were encountered: