Releases: pimoroni/badger2040
Version 0.0.5
Badger goes PNG
This release introduces powerful new generative AI features to Ba... HA! No I'm kidding, put down your keyboard, cool your jets!
This is, mostly, a bugfix release that includes some of your fixes to Badger OS in addition to all the many, many fixes and improvements to MicroPython in the two or so versions we've skipped.
WiFi bugfixes is the name of the game here, so you can probably expect more stable and reliably WiFi connections and fewer odd quirks.
This version also introduces the PNGdec module, an embedded PNG decoder which we're now using to make the Badger OS icons lovely and crisp. If you're the disposition and ability to throw money at FOSS then please go show Larry some love!!
What's Changed
For an exhaustive list of what's changed upstream see:
Pimoroni Pico - pimoroni/pimoroni-pico@v1.21.0...v1.23.0-1
MicroPython - micropython/micropython@v1.21.0...v1.23.0
- adding https to example urls to fix redirects error by @richrboo in #68
- Add set_font() to porting-guide.md by @Zoobdude in #71
- Update launcher.py for infinite scrolling by @jsh97 in #23
- CI: Update actions to fix nodejs deprecation warnings. by @Gadgetoid in #80
- Small 'quality of life' improvements for qrgen app by @hrw in #81
- Add RTC I2C address to function reference by @helgibbons in #62
- Both: MicroPython v1.23.0 + PNG decoding. by @Gadgetoid in #75
New Contributors
- @richrboo made their first contribution in #68
- @jsh97 made their first contribution in #23
- @hrw made their first contribution in #81
Full Changelog: v0.0.4...v0.0.5
Version 0.0.4
Mostly MicroPython
This change sweeps up a small bugfix contributed by @sinofp and a whole bunch of upstream MicroPython and Pimoroni Pico changes.
What's Changed
For an exhaustive list of what's changed upstream see:
Pimoroni Pico - pimoroni/pimoroni-pico@v1.20.3...v1.21.0
MicroPython - micropython/micropython@856e08b...v1.21.0
- Fix typos in the readme by @axelson in #39
- Update porting-guide.md by @allc in #53
- CI: Bump Pimoroni Pico and MicroPython to v1.21.0 by @Gadgetoid in #52
- Set PCF85063A after
ntptime.settime()
by @sinofp in #44
New Contributors
- @axelson made their first contribution in #39
- @allc made their first contribution in #53
- @sinofp made their first contribution in #44
Full Changelog: v0.0.3...v0.0.4
Version 0.0.3
Badger Bluetooth & Bug Busting Bonanza!
This release brings support for Bluetooth to Badger 2040 W and includes a few fixes-
sleep_for
will now allow for alarms up to 28 days (thanks @ahnlak)- The LED pin is now set correctly for Badger 2040
- You can now opt for a custom WiFi status handler, to avoid your screen being taken over when connecting.
What's Changed
- Update reference.md by @Zoobdude in #13
- Update README.md by @sfblackwell in #22
- CI: Bump to MicroPython v1.20 with new patch. by @Gadgetoid in #19
- Improved sleep_for, allows alarms up to 28 days long by @ahnlak in #16
- Badger2040W: Bluetooth support. by @Gadgetoid in #28
- Fix LED constant for Badger 2040 by @helgibbons in #33
- Badger 2040W: Custom WiFi status handler for #30 by @Gadgetoid in #31
- Correct LED pins in reference.md by @helgibbons in #35
- CI: Pin littlefs-python to v0.4.0. by @Gadgetoid in #36
New Contributors
- @Zoobdude made their first contribution in #13
- @sfblackwell made their first contribution in #22
- @ahnlak made their first contribution in #16
- @helgibbons made their first contribution in #33
Full Changelog: v0.0.2...v0.0.3
Version 0.0.2
Quirk Quashing Quest
This release includes fixes to the examples for a more stable Badger OS experience, plus some extra features - like the ability to set or correct the clock if you need to. Many examples have been slightly simplified to make them behave less weirdly and a bug where Badger 2040 would remain powered on while a button was held- even though it should be off- has been fixed.
Badger 2040 W also now waits 60s when connecting to wireless networks before calling it quits. My home WiFi is... quite terrible... and needed this change, perhaps yours is too!
Under the hood there's been a gravitational shift in how MicroPython assigns its own memory, giving a little more RAM back to the user. This required quite a few tweaks to make our code still work and hopefully - despite a spectacular false start and a very broken Pimoroni Pico release - it should be smooth sailing from now.
What's Changed
- Ongoing dev for v0.0.2 by @Gadgetoid in #2
Full Changelog: v0.0.1...v0.0.2
MicroPython Changes: micropython/micropython@f80d040...38e7b84
New Contributors
- @Gadgetoid made their first contribution in #2
Version 0.0.1
Badger Built Better Beta, Better Back... up... Before...
... uh, giving it a try.
Hello hello! I suspect you've made it here out of curiosity or mild irritation. The latter, no doubt, because we continue to move the goal posts for Badger 2040 and Badger 2040 W projects. I promise this time things will stay... pretty... stable.
This new home for the Badger duo's MicroPython firmware, examples and launcher aims to make it easier to find all the relevant code, documentation and files to get your Pico-powered-badge up and running.
As of this very early release we're missing documentation and a README with contents and probably a few other things need fixing, but if you want to tinker with the future of Badger - it's here!
For users migrating over from Badger 2040 W things are pretty much identical, except that the "badger2040w" module is now called "badger2040" and the "Badger2040W" class is "Badger2040" (sorry @helgibbons) so that code can work on either board without modifications.
If you've come from a Badger 2040 with the old firmware things are going to be a little dicey. Your old code will need migrating, and we'll whip up a guide for that. Stay tuned!
Some differences between the builds and from the previous Badger 2040 build:
- On Badger 2040 W
BUTTON_USER
is set toNone
, since it does not have a user button. icon
andimage
are sort-of badly shimmed in but considered deprecated. Use JPEGs instead!- Everything now uses PicoGraphics, though the
badger2040
wrapper tries to smooth over the differences. - Thickness behaviour has changed slightly, it only affects Hershey fonts. To make thick lines use:
line(x1, y1, x2, y2, thickness)
- Apps have moved to the "examples/" dir, and the whole "Badger OS" structure is generally a little neater
The module, "badger2040" has an is_wireless()
function that returns True
on Badger 2040 W and False
on Badger 2040. This can be useful for writing examples that use wireless functionality but want to fail gracefully on non-W. If you import anything relating to networking on Badger 2040 ("network", "mip", "mqtt", "ntptime", "urequests", etc) you'll get an ImportError
you'll otherwise need to catch.
with-badger-os.uf2
builds include a full filesystem which WILL OVERWRITE THE CONTENTS OF YOUR BADGER, please make sure you back up anything important via Thonny before trying these builds!