Skip to content

CircuitPython 9.2.2

Latest
Compare
Choose a tag to compare
@dhalbert dhalbert released this 09 Jan 20:45
50726f5

This is CircuitPython 9.2.2, the latest bugfix revision of CircuitPython, and is a new stable release.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Highlights of this release

  • int.from_bytes() and .to_bytes() calls can omit byteorder arg, as in CPython.
  • DemuxKeyMatrix: add scan delay, add columns_to_anodes and transpose args.
  • Implement audiomixer.MixerVoice.level as synthio.BlockInput.
  • displayio now supports 24-bit color depth.
  • Add sideset_pindirs to rp2pio.StateMachine.
  • rp2pio: support on GPIO pins 32 and up, available on RP2350B.
  • Initial implementation of audiobusio.PDMIn on Espressif.
  • Update Espressif ESP-IDF to v5.3.2, which supports ESP32-P4 v1.0 chips.
  • New ports/analog port, initially supporting Analog Devices ADI MAX32690 microcontroller.
  • Over 20 new boards.

Incompatibility warnings

Download from circuitpython.org

Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.

Installation

To install follow the instructions in the Welcome to CircuitPython! guide. To install the latest libraries, see this page in that guide.

Try code.circuitpython.org or the latest version of the Mu editor for creating and editing your CircuitPython programs and for easy access to the CircuitPython serial connection (the REPL).

Documentation

Documentation is available in readthedocs.io.

Port status

CircuitPython has a number of "ports" that are the core implementations for different microcontroller families. Stability varies on a per-port basis. As of this release, these ports are consider stable (but see Known Issues below):

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6
  • nordic: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040, RP2350
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • analog: Analog Devices MAX32690
  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • espressif: ESP32-P4
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.2.1

Fixes and enhancements

  • int.from_bytes() and .to_bytes() calls can omit byteorder arg, as in CPython. #9940. Thanks @dhalbert.
  • Discard line-clearing escape characters in web workflow serial stream. #9934. Thanks @Neradoc.
  • Fix self arg passed to @classmethod when accessed via super. #9926. Thanks @dhalbert and @dpgeorge (from MicroPython).
  • DemuxKeyMatrix: add scan delay, add columns_to_anodes and transpose args. #9912. Thanks @patricksurry.
  • Implement audiomixer.MixerVoice.level as synthio.BlockInput. #9899. Thanks @relic-se.
  • RGBMatrix speculative fix: added and removed. #9892, #9865. Thanks @jepler.
  • displayio: support 24-bit color depth. #9882. Thanks @ddrown.
  • MP3Decoder: prevent including old data in stream. #9866. Thanks @jepler.
  • Remove unneeded keyword arg handlers in audio classes property setters. #9864, #9862. Thanks @relic-se and @jepler.
  • Provide audiomixer.MixerVoice.loop property. #9861. Thanks @pdw-mb.
  • Fix vectorio rotation corner case. #9851. Thanks @FoamyGuy.

Port and board-specific changes

Analog Devices

  • New ports/analog port, initially supporting Analog Devices ADI MAX32690 microcontroller. #9667. Thanks @Brandon-Hurst.

Broadcom

Espressif

  • Add short delay after I2C bus probe to fix I2C bus scanning on ESP32-S2. #9942. Thanks @dhalbert.
  • Update Espressif ESP-IDF to v5.3.2, which supports ESP32-P4 v1.0 chips. #9928. Thanks @tannewt.
  • Use correct USB Device instance. #9889. Thanks @dhalbert.
  • ESP32-P4: USB support. #9889, #9841. Thanks @tannewt and @dhalbert.
  • Make alarm available on some boards where it was inadvertently omitted. #9881. Thanks @dhalbert.
  • Allow mbedtls data to be stored in PSRAM. #9867. Thanks @jepler.
  • Initial implementation of audiobusio.PDMIn. #9828. Thanks @JetForMe.

i.MX

Nordic

renode

RP2

  • Enable compiler warning that was disabled for gcc 10. #9942. Thanks @jepler.
  • rp2pio: support PIO on GPIO pins 32 and up, available on RP2350B. #9901. Thanks @jepler.
  • Better documentation for rp2pio types. #9885. Thanks @jepler.
  • Add sideset_pindirs to rp2pio.StateMachine. #9849. Thanks @jepler.
  • Update pico-sdk to version 2.1.0. #9831. Thanks @eightycc.

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

  • Document safe mode wait interval in README.rst. #9929. Thanks @pdw-mb.
  • Update usb_hid boot device documentation. #9836. Thanks @dhalbert.

Build and infrastructure changes

Translation additions and improvements

New boards since 9.2.1

Known issues

Thanks

Thank you to all who used, tested, and contributed toward this release, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.