This is CircuitPython 9.1.0-rc.0, a release candidate for 9.1.0 final. This release is believed to be stable, and is meant for testing before the final release of 9.1.0.
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.
Notable changes since 9.0.0
Incompatibility warnings
- API changes to
floppyio
. - String values in
settings.toml
must be quoted.
Audio
- RP2040
I2SOut
supportsBLCK
andLRCLK
in either order. - ESP32-S3 supports
audiomp3
. audiomp3
supports streaming from HTTP servers.
Bluetooth
- BLE GATT server support on Espressif.
- Pairing and bonding support on Espressif.
Built-in modules
- Enhance
collections.deque
functionality. - Add
keypad_demux.DemuxKeyMatrix
: use multiplexer for one side of a keypad matrix. - Add integration-based debouncing to
keypad
. supervisor.Runtime.serial_bytes_available
now returns a count instead of abool
.- Incompatible change:
floppyio
improvements, including API changes. - Espressif:
microcontroller.cpu.frequency
is settable.
Graphics
fourwire.FourWire
:chip_select
pin is now optional.picodvi
now supports 640x240 and 800x240 resolutions.- Enable
_eve
on Espressif boards with more than 4MB flash.
Internal
- Espressif: update to ESP-IDF v5.2.2.
- Espressif: Change task-switching quantum to 1 millisecond from 10 milliseconds.
Networking
- Implement
ssl
module for anything that providessocket
. - Add stream protocol support to
SSLSocket
.
Ports
- New port for
renode
hardware simulator.
Power
- Enable deep sleep on all supported Espressif chips.
Supervisor
- String values in
settings.toml
must be quoted.
USB
max3421e
USB host support.- Allow user-specified names for
usb_midi
interfaces and jacks.
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 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, SAMx5xcxd56
: Sony Spresenseespressif
: Espressif ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6nordic
: Nordic nRF52840, nRF52833raspberrypi
: Raspberry Pi RP2040stm
: ST STM32F4 chip family
These ports are considered alpha and will have bugs and missing functionality:
broadcom
: Raspberry Pi boards such as RPi 4, RPi Zero 2Wlitex
: fomumimxrt10xx
: NXP i.MX RT10xxxrenode
: hardware simulatorsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip families
Changes since 9.1.0-beta.4
Fixes and enhancements
- Update frozen libraries. #9422. Thanks @dhalbert.
sdcardio.SDCard
: fix crashes after deinit. #9418. Thanks @dhalbert.
Port and board-specific changes
Broadcom
Espressif
- Add ringbuf atomicity for USB/JTAG serial operations. #9409. Thanks @dhalbert.
- Espressif:
microcontroller.cpu.frequency
is now settable. #9432. Thanks @Sola85.
i.MX
nordic
renode
RP2040
SAMx
SiLabs
Spresense
STM
Individual boards
- 8086 USB Interposer: fix pin name. #9403. Thanks @burtyb.
- Maple Elite-Pi: correct flash chip. #9419. Thanks @dhalbert.
- M5Stack Dial: fix I2C pin naming. #9404. Thanks @mumin50 and @CDarius.
Documentation changes
- Fix example in
sdioio
. #9415. Thanks @RetiredWizard.
Build and infrastructure changes
- Fix missing pins in board-specific stubs. #9410. Thanks @elpekenin.
Translation additions and improvements
- Thanks for translations:
- @wtuemura (Portuguese - Brazil)
New boards since 9.1.0-beta.4
- LILYGO T-Display S3 Pro. #9414, #9405. Thanks @dikei100.
- Waveshare RP2040-PiZero. #9408. Thanks @CDarius.
Known issues
- See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:
Thanks
Thank you to all who used, tested, and contributed since 9.1.0-beta.4, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.