Releases: adafruit/circuitpython
CircuitPython 9.1.1
This is CircuitPython 9.1.1, 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.
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
Fixes and enhancements
Port and board-specific changes
Broadcom
Espressif
i.MX
nordic
renode
RP2040
SAMx
- SAMD51: fix
PWMOut
by reverting #9343: symptoms included no backlight on boards with displays. #9447. Thanks @dhalbert.
SiLabs
Spresense
STM
Individual boards
Documentation changes
Build and infrastructure changes
Translation additions and improvements
New boards since 9.1.0
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, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.1.0
This is CircuitPython 9.1.0, the latest minor 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.
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-rc.0
This release is a relabeling of 9.1.0-rc.0 and is otherwise identical to that release.
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.
CircuitPython 9.1.0-rc.0
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.
CircuitPython 9.1.0-beta.4
This is CircuitPython 9.1.0-beta.4, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.
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.
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.3
Fixes and enhancements
- Correct count of available incoming serial bytes. #9400. Thanks @jepler.
- Update frozen libraries. #9397. Thanks @dhalbert.
- Fix OUT USB HID report handling. #9322. Thanks @dhalbert.
- Add stream protocol support to
SSLSocket
. #9318. Thanks @jepler. - Fix file path handling errors in remote workflows. #9314, #9311. Thanks @dhalbert.
- Fix
EPaperDisplay.time_to_refresh()
. #9299. Thanks @tannewt. - Fix
espulp
and support both FSM and RISCV when available. #9277. Thanks @Sola85.
Port and board-specific changes
Broadcom
Espressif
- Fix BLE advertising timeout and slowdown. #9395. Thanks @dhalbert.
- Fix several BLE bugs. #9374. Thanks @dhalbert.
- Provide a setting for maximum wifi power and adjust on several boards. #9369, #9364. Thanks @bill88t and @karlfl.
- Prevent errors when using ping by adding a delay when necessary. #9350. Thanks @dhalbert.
- Start BLE for workflow only when desired. #9344. Thanks @tannewt.
- Finish BLE GATT server support. #9325. Thanks @tannewt.
- Upgrade to ESP-IDF v5.2.2. #9325. Thanks @tannewt.
- Enable deep sleep on all supported Espressif chips. #9324. Thanks @tannewt.
- Support BLE pairing and bonding. #9289. Thanks @tannewt.
- Enable
_eve
on Espressif boards with more than 4MB flash. #9243. Thanks @Bridgetek.
i.MX
nordic
renode
RP2040
- Fix off-by-one errors affecting PWM frequeny. #9398. Thanks @timchinowsky.
- Fix accuracy of ADC sample rate for
analogbufio
. #9396. Thanks @timchinowsky. - Pico W: turn off USB host and DVI support to regain RAM space. #9303. Thanks @dhalbert.
SAMx
- Fix PWM delays and rounding. #9343. Thanks @timchinowsky.
SiLabs
Spresense
STM
Individual boards
- Adafruit Feather ESP32-S2 and ESP32-S3 Reverse Feathers: use correct display power pin. #9346. Thanks @lewinski.
- Bradan Lane RP2040 Explorer Badge: reassign UART pins to IR; add frozen modules. #9389. Thanks @bradanlane.
- Espressif ESP32-S3-DevKitM-1: Add missing pins. #9287. Thanks @fetsnleds.
- M5Stack Cardputer improvements: #9280, #9273. Thanks @bill88t.
- Seeed WIO Terminal: add explanatory comments in
pins.c
. #9371. Thanks @stonehippo. - Sunton ESP32 2432S028: rotate display. #9340. Thanks @occasional-contributor.
Documentation changes
- Update
espressif
README. #9309. Thanks @bill88t. - Update
AnalogIn
limitations for Espressif. #9272. Thanks @dhalbert.
Build and infrastructure changes
- Use macOS 12 for mpy-cross builds. #9388, #9329. Thanks @jepler.
- Use Python 3.9 or higher for
circuitpython_setboard
. #9368. Thanks @FoamyGuy. - Fix custom board build available via GitHub web. #9298, #9293. Thanks @tyeth.
- Use
uncrustify
from PyPimicropython-uncrustify
. #9295. Thanks @dhalbert. - Remove unused global
board_display_obj
. #9294. Thanks @bablokb. - Generate CSV tables of board details. #9278. Thanks @timchinowsky.
Translation additions and improvements
- Thanks for translations:
- @andibing (English - UK)
- @hacimuhammed (Turkish)
- @hexthat (Chinese - Pinyin)
- @johnnohj (English - UK, German)
- @kerem3338 (Turkish)
- @wtuemura (Portuguese - Brazil)
- @Xfox20 (German)
New boards since 9.1.0-beta.3
- 8086 USB Interposer. #9401. Thanks @burtyb
- Adafruit Feather RP2040 Adalogger. #9290. Thanks @dhalbert.
- ARCHI NEWSAN: #9387, #9353. Thanks @EricAlmendras.
- Arduino Nano 33 BLE Rev2. #9347. Thanks @applecuckoo.
- AutosportLabs ESP32-CAN-X2. #9281. Thanks @autosportlabs.
- Espressif ESP32 TTGO T8 v1.7. #9391. Thanks @aguaviva.
- NodeMcu ESP32-C2. #9300. Thanks @bill88t.
- Oak Dev Tech RPGA Feather. #9292. THanks @skerr92.
- Seeed Xiao ESP32C6. #9326. Thanks @MatthewJeffson.
- Sunton ESP32 2432S032C with 3.2in display. #9316. Thanks @bablokb.
- ThingPulse Pendrive S3. #9296. Thanks @squix78.
- UnexpectedMaker FeatherS3 Neo. #9307. Thanks @UnexpectedMaker.
- Waveshare ESP32-S3-Tiny. #9274. Thanks @kylefmohr.
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.3, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.1.0-beta.3
This is CircuitPython 9.1.0-beta.3, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.
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
.
Bluetooth
- Initial implementation of BLE GATT server support on Espressif chips. Pairing/bonding is not yet implemented.
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.
Graphics
fourwire.FourWire
:chip_select
pin is now optional.picodvi
now supports 640x240 and 800x240 resolutions.
Internal
- Espressif: update to ESP-IDF v5.2.1.
- Espressif: Change task-switching quantum to 1 millisecond from 10 milliseconds.
Networking
- Implement
ssl
module for anything that providessocket
.
Ports
- New port for
renode
hardware simulator.
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.2
Fixes and enhancements
- Update frozen libraries. In particular, fixes an issue introduced in 9.1.0-beta.2 with the
adafruit_esp32spi
library. #9271. Thanks @dhalbert. - Fix exception chaining for non-built-in exceptions #9269, #9266. Thanks @jepler.
- Update TinyUSB; includes USB host fixes. #9252. Thanks @todbot.
- Calculate
synthio.LFO.value
at construction. #9247. Thanks @jepler.
Port and board-specific changes
Broadcom
Espressif
- Initial implementation of BLE GATT server support on Espressif chips. Pairing/bonding is not yet implemented. #9222. Thanks @tannewt.
i.MX
nordic
renode
RP2040
SAMx
SiLabs
Spresense
STM
Individual boards
- Espressif ESP2-S3-DevKitM-1: add GPIO34 pin. #9259. Thanks @fetsnleds.
- M5Stack CoreS3: enable on-board camera and microphone. #9255. Thanks @CDarius.
Documentation changes
Build and infrastructure changes
- Use raw strings for Python regular expressions. #9267. Thanks @dhalbert.
- Replace all uses of
STATIC
withstatic
in CircuitPython-only C source files. #9263. Thanks @dhalbert. - Replace include guards with
#pragma once
in CircuitPython-only C header files. #9262, #9260. Thanks @dhalbert. - Mark all CircuitPython-only C sources files as being part of the CircuitPython project. Change to use SPDX for copyright lines and licenses for these files. Remove in-line MIT license text. Add headers to files that did not have them. #9257. Thanks @dhalbert.
Translation additions and improvements
New boards since 9.1.0-beta.2
- Bradán Lane STUDIO Explorer Badge. #9256. Thanks @bradanlane.
- Freenove ESP32-WROVER-DEV-CAM (and other similar generic boards). #9233. Thanks @gitcnd.
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.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.0.5
This is CircuitPython 9.0.5, the latest bugfix release 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.
For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.
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-C3, ESP32-C6nrf
: 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 RT10xxxsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip families
Changes since 9.0.4
Fixes and enhancements
Port and board-specific changes
Broadcom
Espressif
i.MX
nRF
RP2040
SAMx
SiLabs
Spresense
STM
Individual boards
- Waveshare RP2040-GEEK: fix pin names to match board. #9200. Thanks @RetiredWizard.
Documentation changes
Build and infrastructure changes
Translation additions and improvements
New boards since 9.0.4
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.0.4, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.1.0-beta.2
This is CircuitPython 9.1.0-beta.2, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.
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
.
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.
Graphics
fourwire.FourWire
:chip_select
pin is now optional.picodvi
now supports 640x240 and 800x240 resolutions.
Internal
- Espressif: update to ESP-IDF v5.2.1.
- Espressif: Change task-switching quantum to 1 millisecond from 10 milliseconds.
Networking
- Implement
ssl
module for anything that providessocket
.
Ports
- New port for
renode
hardware simulator.
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-C3nordic
: 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.1
Fixes and enhancements
- Update frozen libraries. #9250. Thanks @dhalbert.
- Implement
ssl
module for anything that providessocket
. #8954. Thanks @jepler. - Make sure the
os.getcwd()
is/
after VM restart. #9224. Thanks @bill88t.
Port and board-specific changes
Broadcom
Espressif
- Enable
audiomp3
on ESP32-S3. #9218. Thanks @jepler. - Allow user-specified socket connect timeout. #9210. Thanks @dhalbert.
- Use
-Os
for all 4MB builds, to save space. #9207. Thanks @tannewt. - Clear UART input buffer on creation, to avoid stray junk bytes. #9193. Thanks @dhalbert.
i.MX
nordic
renode
RP2040
- Fix
I2CTarget
restart requests. #9236. Thanks @mirskytech. - Improve
time.monotonic_ns()
resolution by adding subticks internally. #9229. Thanks @timchinowsky.
SAMx
SiLabs
Spresense
STM
Individual boards
- Adafruit Feather nRF52840: add
board.NEOPIXEL_POWER
support, available in board Rev E. #9246. Thanks @dhalbert. - Challenger RP2040 LTE: Fix pin assignment. #9249. Thanks @mirskytech.
- M5Stack AtomS3U: fix pin typo. #9212. Thanks @n3o59hf.
- Waveshare ESP32-S3-GEEK: update pin names: #9194. Thanks @RetiredWizard.
- Waveshare RP2040-GEEK: update pin names: #9194. Thanks @RetiredWizard.
Documentation changes
- Fix typos in
_bleio.Adapter.start_advertising()
documentation. #9248. Thanks @andrewguest. - Improve
I2CTarget
documentation. #9236. Thanks @mirskytech.
Build and infrastructure changes
- Add
Adafruit_CircuitPython_Bitmap_Fonts
to frozen libraries. #9202. Thanks @bradanlane.
Translation additions and improvements
New boards since 9.1.0-beta.1
- Adafruit Pixel Trinkey M0. #9189. Thanks @dhalbert.
- Adafruit TRRS Trinkey M0. #9190. Thanks @dhalbert.
- AI-Thinker ESP32-CAM. #9231. Thanks @gitcnd.
- Spotpear ESP32C3 with 1.44" LCD. #9210. Thanks @SeanTheITGuy.
- Waveshare ESP32S3 LCD 1.28". #9205, #9192. Thanks @SeanTheITGuy and @bill88t.
- WEMOS LOLIN32 Lite. #9206. Thanks @bill88t.
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.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.1.0-beta.1
This is CircuitPython 9.1.0-beta.1, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.
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.
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.
Graphics
fourwire.FourWire
:chip_select
pin is now optional.picodvi
now supports 640x240 and 800x240 resolutions.
Internal
- Espressif: update to ESP-IDF v5.2.1.
- Espressif: Change task-switching quantum to 1 millisecond from 10 milliseconds.
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-C3nordic
: 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 RT10xxxsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip families
Changes since 9.1.0-beta.0
Fixes and enhancements
- Update frozen libraries. #9188. Thanks @dhalbert.
- External flash cache allocation crashed into safe mode when heap was too small. #9187, #9169. Thanks @dhalbert.
- Avoid putting terminal escape sequences in boot_out.txt. #9181. Thanks @bill88t.
- MAX3421E USB host support. #9164. Thanks @tannewt.
- Enable
bitmapfilter
on boards where it will fit. #9156. Thanks @dhalbert. - Allow user-specified names for
usb_midi
interfaces and jacks. #9146. Thanks @brushmate. supervisor.Runtime.serial_bytes_available
now returns a count instead of abool
. #9141. Thanks @dhalbert- Correct
EPaperDisplay.time_to_refresh
. #9140. Thanks @elpekenin. floppyio
improvements, including API changes. #9135. Thanks @jepler.- Require strings to be quoted in
settings.toml
#9117. Thanks @jepler. fourwire.FourWire
:chip_select
pin is now optional. #9106. Thanks @wee-noise-makers.
Port and board-specific changes
Broadcom
Espressif
- Document Espressif
AnalogIn
limitations. #9137. Thanks @dhalbert. - Change task-switching quantum to 1 millisecond from 10 milliseconds. #9134. Thanks @dhalbert.
- Handle new ESP-IDF v5.2.1 failure codes for WiFi connections. #9126. Thanks @dhalbert.
i.MX
nordic
- Fix AnalogIn. #9187, #9161, #9114. Thanks @dhalbert.
- Move state word that survives reset to avoid its being overwritten by bootloader. #9160. Thanks @tannewt.
RP2040
- Disable
picodvi
andusb_host
on boards that cannot use them. #9116. Thanks @bablokb. picodvi
now supports 640x240 and 800x240 resolutions. #9102. Thanks @jepler.
SAMx
SiLabs
Spresense
STM
Individual boards
- FireBeetle 2 ESP32-S3: fix reset. #9170. Thanks @bill88t.
- ESP32-S3 HackTablet: initialize display. #9157. Thanks @RetiredWizard.
- M5Stack Cardputer: allow input from Cardputer keyboard. #9145. Thanks @joshua-beck-0908.
- Pimoroni InkyFrame 5.7": several updates. #7997. Thanks @bablokb.
- senseBox MCU-S2 ESP32S2:
busio.I2C
: allow GPIO45, do not check for pullups. #9132. Thanks @mariopesch.
Documentation changes
Build and infrastructure changes
Translation additions and improvements
- Thanks for translations:
- @wtuemura (Portuguese - Brazil)
New boards since 9.1.0-beta.0
- MakerGo ESP32C3 Supermini. #9131. Thanks @SeanTheITGuy.
- SQFMI Watchy. #9153. Thanks @joshua-beck-0908.
- Sunton ESP32-2424S012. #9110. Thanks @SeanTheITGuy.
- Sunton ESP32-8048S070. #9149. Thanks @SeanTheITGuy.
- Waveshare RP2040-GEEK. #9187, #9090. Thanks @RetiredWizard.
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.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.0.4
This is CircuitPython 9.0.4, the latest bugfix release 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.
For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.
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-C3nrf
: 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 RT10xxxsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip families
Changes since 9.0.3
Fixes and enhancements
- External flash cache allocation crashed into safe mode when heap was too small. #9169. Thanks @dhalbert.
Port and board-specific changes
Broadcom
Espressif
i.MX
nRF
- Move state word that survives reset to avoid its being overwritten by bootloader. #9168, #9160. Thanks @tannewt.
- Fix regression from 9.0.3 treating small internal-only negative ADC values as large positive values. #9161. Thanks @dhalbert.
- Allow reuse of
AnalogIn
pins as other types of pins. #9161. Thanks @dhalbert.
RP2040
SAMx
SiLabs
Spresense
STM
Individual boards
Documentation changes
Build and infrastructure changes
Translation additions and improvements
New boards since 9.0.3
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.0.3, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.
CircuitPython 9.0.3
This is CircuitPython 9.0.3, the latest bugfix release of CircuitPython, and is a new stable release.
The only changes to 9.0.3 from 9.0.2 are a fix for AnalogIn
on Nordic nRF boards, and the addition of the Waveshare RP2040-GEEK board.
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.
For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.
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-C3nrf
: 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 RT10xxxsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip families
Changes since 9.0.2
Fixes and enhancements
Port and board-specific changes
Broadcom
Espressif
i.MX
nRF
RP2040
SAMx
SiLabs
Spresense
STM
Individual boards
Documentation changes
Build and infrastructure changes
Translation additions and improvements
New boards since 9.0.2
- Waveshare RP2040-GEEK. #9090. Thanks @RetiredWizard.
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.0.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.