Skip to content

Releases

Version 1.29.0 (Now with working Pico 2 builds)

Choose a tag to compare

@Gadgetoid Gadgetoid released this 31 Aug 09:36
39b017a

v1.29.0-2

Fix the broken Pico 2 builds as reported by #1147 and #1146.

v1.29.0-1 notes follow:

v1.29.0-1

This release is functionally the same as v1.29.0, but we've migrated some boards from pimoroni-pico-rp2350 to their rightful home, here:

Build Board
pico2 RPI_PICO2
pico2_w RPI_PICO2_W
pico2b RPI_PICO2B
pico_plus2 PIMORONI_PICO_PLUS2
tiny2350 PIMORONI_TINY2350

And moved some to their proper homes:

Fixes

  • PSRAM display: reset enable and reset were sent inside one CS frame, so the
    APS6404 never reset. A chip left in 32-byte wrapped burst mode stayed there across
    reboots, tiling each row's first 32 pixels across the panel. Consecutive single-byte
    pixel writes are now combined into bursts, taking a full 800x480 dithered image from
    ~384k transactions to ~16-24k, and bursts are chunked to fit the 8us tCEM limit.
    (#1131, #1137, #1144)
  • Plasma: WS2812 and APA102 now claim their PIO state machine, and default to a
    free one under MicroPython. A second strip previously reused the first's state
    machine; destroying either then stalled the other's DMA with is_busy() never
    clearing. (#1140)
  • Inky 7.3: AC waveform, and a power-off command in the shutdown routine. (#1129)

Build notes

  • MicroPython is pinned to pimoroni/micropython@cyw43-dynamic-pins: v1.29.0 plus five
    commits for dynamic CYW43 pin support, needed by boards with a SP/CE connector.
  • -specs=nano.specs replaced with a __verbose_terminate_handler override. Costs
    ~16KB per board but gets us aligned with MicroPython. (#1141)

v1.29.0 notes follow:

Built against MicroPython v1.29.0, up from v1.27.0 in the last release: micropython v1.27.0...v1.29.0

Breaking

  • Construct BreakoutSCD41(i2c) instead of calling breakout_scd41.init(i2c). The module-level functions are gone; hold the object for as long as you use the sensor.
  • Pass degrees to scd41.set_temperature_offset(). get_temperature_offset() now returns degrees as a float, not millidegrees as an int.
  • Switch vector font users to PicoVector. Hershey fonts are no longer built into MicroPython firmware* and set_font("sans") now raises ValueError. set_thickness() is accepted but has no effect.
  • Expect line() and thick_line() to draw both endpoints, and polygon() to fill from its topmost coordinate. Adjust anything that compensated for the old off-by-one.

-* we really needed the space

Fixed

  • Time out lte.start_ppp() instead of waiting forever.
  • Raise instead of hard faulting when an LTR559 interrupt pin is out of range.
  • Survive gc.collect() with an SCD41 attached.
  • Reclaim PicoVector node buffers so reinstantiating it no longer exhausts the heap.
  • Report RSSI, not the channel, from Esp32Spi::get_rssi_networks().
  • Check the BME68X configure result.
  • Correct the WS2812 PIO clock divider, previously 4% out.
  • Clip circles correctly at the right and bottom edges.
  • Accept a float scale in character(), matching text().
  • Stop RGBLED copies from releasing another instance's pins.
  • Update the Sensirion SCD4x driver to 1.2.0.

Other

  • Free roughly 40K of flash per board. Pico W drops from 99.9% to 96.7% full.
  • Build any board locally with source ci/micropython.sh && ci_prepare_all && ci_build_board pico RPI_PICO.
  • Read the SH1107 README and find the SH1107 in it.

Merged PRs

  • CI: Bump MicroPython to v1.28.0. by @Gadgetoid in #1128
  • Update firmware list and supported products by @helgibbons in #1130
  • add I2C OLED example by @helgibbons in #1132
  • rv3028: add new chip ID/version by @helgibbons in #1136
  • Feature/pico scroll to picographics by @BryanH in #1138
  • Bump MicroPython to 1.29.0 + Misc Fixes by @Gadgetoid in #1139

New Contributors

Full Changelog: v1.27.0...v1.29.0

Version 1.29.0 (Now with extra boards)

Choose a tag to compare

@Gadgetoid Gadgetoid released this 28 Aug 10:07
55c122a

v1.29.0-1

This release is functionally the same as v1.29.0, but we've migrated some boards from pimoroni-pico-rp2350 to their rightful home, here:

Build Board
pico2 RPI_PICO2
pico2_w RPI_PICO2_W
pico2b RPI_PICO2B
pico_plus2 PIMORONI_PICO_PLUS2
tiny2350 PIMORONI_TINY2350

And moved some to their proper homes:

Fixes

  • PSRAM display: reset enable and reset were sent inside one CS frame, so the
    APS6404 never reset. A chip left in 32-byte wrapped burst mode stayed there across
    reboots, tiling each row's first 32 pixels across the panel. Consecutive single-byte
    pixel writes are now combined into bursts, taking a full 800x480 dithered image from
    ~384k transactions to ~16-24k, and bursts are chunked to fit the 8us tCEM limit.
    (#1131, #1137, #1144)
  • Plasma: WS2812 and APA102 now claim their PIO state machine, and default to a
    free one under MicroPython. A second strip previously reused the first's state
    machine; destroying either then stalled the other's DMA with is_busy() never
    clearing. (#1140)
  • Inky 7.3: AC waveform, and a power-off command in the shutdown routine. (#1129)

Build notes

  • MicroPython is pinned to pimoroni/micropython@cyw43-dynamic-pins: v1.29.0 plus five
    commits for dynamic CYW43 pin support, needed by boards with a SP/CE connector.
  • -specs=nano.specs replaced with a __verbose_terminate_handler override. Costs
    ~16KB per board but gets us aligned with MicroPython. (#1141)

v1.29.0 notes follow:

Built against MicroPython v1.29.0, up from v1.27.0 in the last release: micropython v1.27.0...v1.29.0

Breaking

  • Construct BreakoutSCD41(i2c) instead of calling breakout_scd41.init(i2c). The module-level functions are gone; hold the object for as long as you use the sensor.
  • Pass degrees to scd41.set_temperature_offset(). get_temperature_offset() now returns degrees as a float, not millidegrees as an int.
  • Switch vector font users to PicoVector. Hershey fonts are no longer built into MicroPython firmware* and set_font("sans") now raises ValueError. set_thickness() is accepted but has no effect.
  • Expect line() and thick_line() to draw both endpoints, and polygon() to fill from its topmost coordinate. Adjust anything that compensated for the old off-by-one.

-* we really needed the space

Fixed

  • Time out lte.start_ppp() instead of waiting forever.
  • Raise instead of hard faulting when an LTR559 interrupt pin is out of range.
  • Survive gc.collect() with an SCD41 attached.
  • Reclaim PicoVector node buffers so reinstantiating it no longer exhausts the heap.
  • Report RSSI, not the channel, from Esp32Spi::get_rssi_networks().
  • Check the BME68X configure result.
  • Correct the WS2812 PIO clock divider, previously 4% out.
  • Clip circles correctly at the right and bottom edges.
  • Accept a float scale in character(), matching text().
  • Stop RGBLED copies from releasing another instance's pins.
  • Update the Sensirion SCD4x driver to 1.2.0.

Other

  • Free roughly 40K of flash per board. Pico W drops from 99.9% to 96.7% full.
  • Build any board locally with source ci/micropython.sh && ci_prepare_all && ci_build_board pico RPI_PICO.
  • Read the SH1107 README and find the SH1107 in it.

Merged PRs

  • CI: Bump MicroPython to v1.28.0. by @Gadgetoid in #1128
  • Update firmware list and supported products by @helgibbons in #1130
  • add I2C OLED example by @helgibbons in #1132
  • rv3028: add new chip ID/version by @helgibbons in #1136
  • Feature/pico scroll to picographics by @BryanH in #1138
  • Bump MicroPython to 1.29.0 + Misc Fixes by @Gadgetoid in #1139

New Contributors

Full Changelog: v1.27.0...v1.29.0

Version 1.29.0

Choose a tag to compare

@Gadgetoid Gadgetoid released this 26 Aug 17:05
6bcec5a

v1.29.0

Built against MicroPython v1.29.0, up from v1.27.0 in the last release: micropython v1.27.0...v1.29.0

Breaking

  • Construct BreakoutSCD41(i2c) instead of calling breakout_scd41.init(i2c). The module-level functions are gone; hold the object for as long as you use the sensor.
  • Pass degrees to scd41.set_temperature_offset(). get_temperature_offset() now returns degrees as a float, not millidegrees as an int.
  • Switch vector font users to PicoVector. Hershey fonts are no longer built into MicroPython firmware* and set_font("sans") now raises ValueError. set_thickness() is accepted but has no effect.
  • Expect line() and thick_line() to draw both endpoints, and polygon() to fill from its topmost coordinate. Adjust anything that compensated for the old off-by-one.

-* we really needed the space

Fixed

  • Time out lte.start_ppp() instead of waiting forever.
  • Raise instead of hard faulting when an LTR559 interrupt pin is out of range.
  • Survive gc.collect() with an SCD41 attached.
  • Reclaim PicoVector node buffers so reinstantiating it no longer exhausts the heap.
  • Report RSSI, not the channel, from Esp32Spi::get_rssi_networks().
  • Check the BME68X configure result.
  • Correct the WS2812 PIO clock divider, previously 4% out.
  • Clip circles correctly at the right and bottom edges.
  • Accept a float scale in character(), matching text().
  • Stop RGBLED copies from releasing another instance's pins.
  • Update the Sensirion SCD4x driver to 1.2.0.

Other

  • Free roughly 40K of flash per board. Pico W drops from 99.9% to 96.7% full.
  • Build any board locally with source ci/micropython.sh && ci_prepare_all && ci_build_board pico RPI_PICO.
  • Read the SH1107 README and find the SH1107 in it.

Merged PRs

  • CI: Bump MicroPython to v1.28.0. by @Gadgetoid in #1128
  • Update firmware list and supported products by @helgibbons in #1130
  • add I2C OLED example by @helgibbons in #1132
  • rv3028: add new chip ID/version by @helgibbons in #1136
  • Feature/pico scroll to picographics by @BryanH in #1138
  • Bump MicroPython to 1.29.0 + Misc Fixes by @Gadgetoid in #1139

New Contributors

Full Changelog: v1.27.0...v1.29.0

Version 1.27.0

Choose a tag to compare

@Gadgetoid Gadgetoid released this 25 Feb 15:21
52a01f5

This release bumps MicroPython from v1.25.0 to v1.27.0, among other changes.

What's Changed

New Contributors

Full Changelog: v1.25.0...v1.27.0

Version 1.25.0

Choose a tag to compare

@Gadgetoid Gadgetoid released this 12 May 13:20
21ec6a2

⚠️ Unicorn builds are no longer part of this repository, you'll find them here: https://github.com/pimoroni/unicorn

This release includes many, many, many changes including a bump to MicroPython v1.25.0 and all of the bugfixes and tweaks since 1.24.1.

We've also made many, many improvements to PicoVector and Alright Fonts- features you may already have encountered in Presto or Interstate 75.

Over the beta releases, this release includes a fix to PicoGraphics memory allocation, avoiding some breakage when using a lower MicroPython garbage collection threshold than typical. Plus a fix to Inky Frame to avoid running as non-blocking by default.

What's Changed

New Contributors

Full Changelog: v1.23.0...v1.25.0

Version 1.25.0 - Preview

Choose a tag to compare

@Gadgetoid Gadgetoid released this 14 Apr 15:45

We Couldn't Wait For An Official MicroPython 1.25 Release

⚠️ Unicorn builds are no longer part of this repository, you'll find them here: https://github.com/pimoroni/unicorn

The impetus behind this release is mostly to make BME690 drivers available, since it's based upon BOSCH's C driver and thus compiled into our batteries included builds. If you need BME690 support, then you've come to the right place.

There are, however, many, many, many other changes including a bump to MicroPython master - ostensibly v1.25.0 - and all of the bugfixes and tweaks since 1.24.1.

We've also made many, many improvements to PicoVector and Alright Fonts- features you may already have encountered in Presto or Interstate 75.

What's Changed

New Contributors

Full Changelog: v1.23.0-1...v1.25.0-beta1

Version 1.24.0 - Beta 2

Choose a tag to compare

@Gadgetoid Gadgetoid released this 11 Dec 15:15

This release is based upon MicroPython 1.24.0 which introduces, among other things, support for the RP2350 chip found in the Pico 2 and our own boards. Since RP2350 is new, and we've been busy working on various new features and bugfixes to accompany it, this release should be considered beta.

⚠️ None of the builds in this release include RP2350 support- things are still a little experimental in that department. If you've got a shiny new RP2350 board you should go here: https://github.com/pimoroni/pimoroni-pico-rp2350/releases/latest

Changes Since Beta 1

This build includes, above all else, an actual PPP build which seems to have got lost from Beta 1.

In addition to this there are many, many bugfixes to PicoVector. There's also some tentative PicoVector documentation here: https://github.com/pimoroni/presto/blob/main/docs/picovector.md

Doing A Thing With PPP

You'll notice a new "ppp" build, this includes MicroPython's new PPP support, leveraging UART to talk to networking modules like our Clipper LTE Breakout. We need a standalone build for this because PPP and networking support are bulky, requiring a 1MB/1MB filesystem split.

See https://github.com/pimoroni/pimoroni-pico-rp2350/blob/main/micropython/examples/pico_plus_2/breakouts/lte-catfacts.py for an example of how to get the LTE module up and running with Pico!

⚠️ Flashing the "ppp" build to an existing Pico board will erase your filesystem. Back up first!

PicoVector Changes Again

We've completely overhauled PicoVector more or less from the ground up, this includes changes to drawing operations, font formats and a whole bunch of plumbing changes which render it quite incompatible with old PicoVector code. If you've got some existing code you want to port over, chime in on #1026

PicoGraphics Layers

We've introduced the concept of layers into PicoGraphics. This is a fairly memory intensive feature that lets you create a PicoGraphics instance with multiple drawing layers. It doesn't have much practical use on RP2040 builds - ie: most of the boards supported here - but can be very useful on the RP2350. Documentation and examples are scarce while we work out how it fits into the bigger picture.

Non-blocking Inky Frame

Inky Frame has gained a non-blocking mode, so you can put that 20-second refresh time to better use. Find out more at #936

⚠️ Inky Frame builds have been moved to https://github.com/pimoroni/inky-frame/releases

What's Changed

New Contributors

Full Changelog: v1.23.0-1...v1.24.0-beta2

... Psst... Inky Frame builds have been moved to https://github.com/pimoroni/inky-frame/releases

Version 1.24.0 - Beta 1

Pre-release

Choose a tag to compare

@Gadgetoid Gadgetoid released this 31 Oct 16:57

This release is based upon MicroPython 1.24.0 which introduces, among other things, support for the RP2350 chip found in the Pico 2 and our own boards. Since RP2350 is new, and we've been busy working on various new features and bugfixes to accompany it, this release should be considered beta.

⚠️ None of the builds in this release include RP2350 support- things are still a little experimental in that department. If you've got a shiny new RP2350 board you should go here: https://github.com/pimoroni/pimoroni-pico-rp2350/releases/latest

Doing A Thing With PPP

You'll notice a new "ppp" build, this includes MicroPython's new PPP support, leveraging UART to talk to networking modules like our Clipper LTE Breakout. We need a standalone build for this because PPP and networking support are bulky, requiring a 1MB/1MB filesystem split.

See https://github.com/pimoroni/pimoroni-pico-rp2350/blob/main/micropython/examples/pico_plus_2/breakouts/lte-catfacts.py for an example of how to get the LTE module up and running with Pico!

⚠️ Flashing the "ppp" build to an existing Pico board will erase your filesystem. Back up first!

PicoVector Changes Again

We've completely overhauled PicoVector more or less from the ground up, this includes changes to drawing operations, font formats and a whole bunch of plumbing changes which render it quite incompatible with old PicoVector code. If you've got some existing code you want to port over, chime in on #1026

PicoGraphics Layers

We've introduced the concept of layers into PicoGraphics. This is a fairly memory intensive feature that lets you create a PicoGraphics instance with multiple drawing layers. It doesn't have much practical use on RP2040 builds - ie: most of the boards supported here - but can be very useful on the RP2350. Documentation and examples are scarce while we work out how it fits into the bigger picture.

Non-blocking Inky Frame

Inky Frame has gained a non-blocking mode, so you can put that 20-second refresh time to better use. Find out more at #936

What's Changed

New Contributors

Full Changelog: v1.23.0-1...v1.24.0-rc0
MicroPython Changelog: micropython/micropython@v1.23.0...v1.24.0

Version 1.23.0 - Bugfix 1

Choose a tag to compare

@Gadgetoid Gadgetoid released this 06 Jun 18:16
7a2ebe5

This release is basically v1.23.0, except that it's actually based upon MicroPython v1.23.0, plus a small fix to make our builds work.

If you're seeing hangs when you try to time.sleep() or use led = Pin("LED", Pin.OUT) or wireless functionality, then this is the release for you 🥳

Doing A Thing With USB

This release is based on MicroPython v1.23.0 (well, actually, just slightly past v1.23.0), which introduces USB support. We have not rolled this out to all of our builds because:

  1. It's new and complicated
  2. So we're still figuring it out...
  3. It's also big, and we're forever running out of firmware space
  4. And in many cases there's no good reason for USB... at least yet!

In lieu of this, you'll find a new build in this release: pico_usb. This build gives you a way to play with USB on the Pico (non W for now) in conjunction with our libraries. To demo this we've added some basic code for long-time holdout Keybow 2040, which can now do keyboards things with MicroPython. You can find those here: https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/keybow2040

⚠️ the pico_usb build uses a 1MB/1MB Flash/Filesystem split so it will erase your .py files. Back up before flashing!

What's Changed

To get an idea of what's new and what's improved, you should first read the MicroPython release notes: https://github.com/micropython/micropython/releases/tag/v1.23.0

Over here in Pimoroni Pico MicroPython land we've been busy fixing bugs and adding features-

Renamed And Less Breaky Builds

More of a personal bugbear than anything else, but I renamed our .uf2 files to drop the "pimoroni-" from the front so it's easier to scan-read down the list. I've also added a verification step to make sure we don't inadvertently produce totally broken builds- which has happened in a release at least once - or subtly broken builds - which has wasted inordinate amounts of my time spent scratching my head. If you want a tool/library to poke at Pico's binary metadata gooey innards, see: https://github.com/gadgetoid/py_decl

Updated ulab

Since we needed compatibility with some breaking changes in MicroPython v1.23.0, a bunch of extra fixes have been swept up in the ulab module. Details of the latest release can be found here: https://github.com/v923z/micropython-ulab/releases/tag/6.5.2

PNG Decode

We've added support for greyscale PNG files, which are a great way to stamp out monochrome icons from very, very small source files.

This support includes the ability to shift a greyscale PNGs "colours" to anywhere within a PicoGraphics palette. It's a hard concept to explain, but you can get two completely different recolours of artwork out of the same greyscale PNG file- @thirdr has illustrated this with an example: https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pico_display/display_png_offset_palette.py

You'll also find basic PNG examples for Inky Frame, Pico Display and Tufty 2040 - https://github.com/pimoroni/pimoroni-pico/pull/928/files

All The Things 🎉

And here's an exhaustive list of everything we've merged since v1.22.2-

Full Changelog: v1.23.0...v1.23.0-1
MicroPython Changelog: micropython/micropython@v1.22.2...v1.23.0

Note: also includes this commit: micropython/micropython@932f76c

New Contributors

Version 1.23.0

Choose a tag to compare

@Gadgetoid Gadgetoid released this 04 Jun 20:09
3440ab2

⚠️ Whoa There! ⚠️

I pulled in a few too many spicy, unstable post-1.23.0 commits and as a result, this release is broken. So very broken.

Please see: https://github.com/pimoroni/pimoroni-pico/releases/tag/v1.23.0-1

Doing A Thing With USB

This release is based on MicroPython v1.23.0 (well, actually, just slightly past v1.23.0), which introduces USB support. We have not rolled this out to all of our builds because:

  1. It's new and complicated
  2. So we're still figuring it out...
  3. It's also big, and we're forever running out of firmware space
  4. And in many cases there's no good reason for USB... at least yet!

In lieu of this, you'll find a new build in this release: pico_usb. This build gives you a way to play with USB on the Pico (non W for now) in conjunction with our libraries. To demo this we've added some basic code for long-time holdout Keybow 2040, which can now do keyboards things with MicroPython. You can find those here: https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/keybow2040

What's Changed

To get an idea of what's new and what's improved, you should first read the MicroPython release notes: https://github.com/micropython/micropython/releases/tag/v1.23.0

Over here in Pimoroni Pico MicroPython land we've been busy fixing bugs and adding features-

Renamed And Less Breaky Builds

More of a personal bugbear than anything else, but I renamed our .uf2 files to drop the "pimoroni-" from the front so it's easier to scan-read down the list. I've also added a verification step to make sure we don't inadvertently produce totally broken builds- which has happened in a release at least once - or subtly broken builds - which has wasted inordinate amounts of my time spent scratching my head. If you want a tool/library to poke at Pico's binary metadata gooey innards, see: https://github.com/gadgetoid/py_decl

Updated ulab

Since we needed compatibility with some breaking changes in MicroPython v1.23.0, a bunch of extra fixes have been swept up in the ulab module. Details of the latest release can be found here: https://github.com/v923z/micropython-ulab/releases/tag/6.5.2

PNG Decode

We've added support for greyscale PNG files, which are a great way to stamp out monochrome icons from very, very small source files.

This support includes the ability to shift a greyscale PNGs "colours" to anywhere within a PicoGraphics palette. It's a hard concept to explain, but you can get two completely different recolours of artwork out of the same greyscale PNG file- @thirdr has illustrated this with an example: https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pico_display/display_png_offset_palette.py

You'll also find basic PNG examples for Inky Frame, Pico Display and Tufty 2040 - https://github.com/pimoroni/pimoroni-pico/pull/928/files

All The Things 🎉

And here's an exhaustive list of everything we've merged since v1.22.2-

Full Changelog: v1.22.2...v1.23.0
MicroPython Changelog: micropython/micropython@v1.22.2...932f76c

New Contributors