CircuitPython 9.2.2 Released!

From the GitHub release page:

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

  • Adafruit Floppsy RP2040: add board.DISPLAY; update pins. #9869, #9833. Thanks @jepler.
  • LILYGO T-Watch 2020 V3: restore serial connection. #9916. Thanks @Neradoc.
  • Oxocard Connect: fix pins. #9932. Thanks @supcik.
  • TTGO T8 v1.7 ESP32: PSRAM support. #9824. Thanks @aguaviva.
  • Waveshare S3 Zero: add button pin names. #9858. Thanks @Timeline8.
  • WIZnet W5100S-EVB-Pico2: update USB names. #9835. Thanks @anecdata.

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

  • raspberrypi: revert #5210. Use -Og for debug build. #9925. Thanks @eightycc.
  • Update CMAKE version for GitHub codespaces. #9832. Thanks @bablokb

Translation additions and improvements

  • Thanks for translations:
    • @andibing (English – UK)
    • @odeevee (French)
    • @hexthat (Chinese – Hanyu Pinyin)
    • @jposada202020 (Spanish)
    • @SKRRRRRRT (German)
    • @wtuemura (Portugese – Brazil)

New boards since 9.2.1

  • 8086 RP2040 Interfacer. #9894. Thanks @burtyb.
  • Adafruit Metro RP2350 (RP2350B chip). #9895, #9890, #9834, #9830. Thanks @dhalbert.
  • Analog Devices MAX32690 APARD. #9667. Thanks @Brandon-Hurst.
  • Analog Devices MAX32690 EvKit. #9667. Thanks @Brandon-Hurst.
  • HEIA-FR Picomo V3. #9933. Thanks @supcik.
  • Heltec Wireless Paper. #9838. Thanks @SeanTheITGuy.
  • M5Stack M5Stick C Plus2. #9939. Thanks @bootc.
  • Music Thing Modular Workshop System. #9850. Thanks @todbot.
  • Pimoroni Plasma 2350 W. #9923. Thanks @ShawnEsterman.
  • Pimoroni Pico Plus 2 W. #9826. Thanks @eightycc.
  • Waveshare ESP32-S3-ETH. #9922. Thanks @anecdata.
  • Sunton ESP32-2432S024C. #9919, #9918. Thanks @PasswordVault and @RetiredWizard.
  • Sunton ESP32-8048S050. #9911. Thanks @RetiredWizard.
  • Waveshare ESP32-S3-Matrix. #9879. Thanks @m4tk.
  • Waveshare RP2350-Geek. #9896. Thanks @relic-se.
  • Waveshare RP2350-LCD-0.96. #9896. Thanks @relic-se.
  • Waveshare RP2350-LCD-1.28. #9896. Thanks @relic-se.
  • Waveshare RP2350-One. #9896. Thanks @relic-se.
  • Waveshare RP2350-Plus. #9896. Thanks @relic-se.
  • Waveshare RP2350-Tiny. #9896. Thanks @relic-se.
  • Waveshare RP2350-Touch-LCD-1.28. #9896. Thanks @relic-se.
  • Waveshare RP2350-Zero. #9896. Thanks @relic-se.

Known issues

  • See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:
  • Native-code .mpy files are not working. This capability is currently enabled only on the winterbloom_sol board.

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.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Happy New Year 2025
Happy New Year from Adafruit!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Open Hardware is In, New CircuitPython and Pi 5 16GB, and much more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — Low power?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.


Leave a comment

Adafruit has a "be excellent to each other" comment policy. Help us keep the community here positive and helpful. Stick to the topic, be respectful of makers of all ages and skill levels. Be kind, and don't spam - Thank you!

Prove you are human by reading this resistor:

0Ω+/- 5%

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

5
5
10

Prove you are human by reading this resistor:


Click/tap drag the number in the circle of each slider on the left to the matching color band on the resistor.

Can't view resistor colors? Don't worry! Just type your comment and hit submit without moving the sliders. Our moderators will review and approve in a jiffy.

Click Here for a new resistor image.

New to electronics? Click here to learn how to read resistor values.

Or learn to read resistors by playing Mho's Resistance!