This is CircuitPython 10.0.0-rc.0, a release candidate for 10.0.0 final. This release is believed to be stable, and is meant for testing before the final release of 10.0.0.
Highlights of this release
- Allow chained calls for audio effects and audio mixer.
- Bug fixes.
Incompatibility warnings
- You must update the TinyUF2 bootloader on all ESP32-S2 and ESP32-S3 4MB flash boards to TinyUF2 0.33.0 or later.
- The CircuitPython UF2 builds for these boards now assume a firmware partition size of 2.8MB (double the old size), as explained here. Updating the TinyUF2 bootloader will update the partition size. Failure to update the bootloader will likely cause a UF2 load to fail: you will remain in the bootloader, with the BOOT drive showing.
- This bootloader update is only needed for ESP32-S2 and ESP32-S3 boards with 4MB flash boards; other ESP32-S2 and ESP32-S3 boards are fine. This bootloader update is compatible with CircuitPython 9.1.0 and later.
- The proper updated bootloader will be installed by the "OPEN INSTALLER" buttons on each board download page and is also listed in the bootloader update section on those pages.
- If you are loading CircuitPython using a
.bin
file instead of a UF2, the partition table is included in the.bin
, and you don't need to do anything.
synthio.BlockBiquad
has been renamed tosynthio.Biquad
. The old deprecatedsynthio.Biquad
has been removed, as well assynthio.Synthesizer.low_pass_filter
,synthio.Synthesizer.high_pass_filter
, andsynthio.Synthesizer.band_pass_filter
. Coefficients frombiquad_filter_state
have been moved intosynthio_biquad
(biquad_filter_state
is still used for input and output state).- The
displayio
bindings deprecated in 9.x.x have been removed:busdisplay.BusDisplay
replacesdisplayio.Display
.fourwire.FourWire
replacesdisplayio.Fourwire
.epaperdisplay.EPaperDisplay
replacesdisplayio.EPaperDisplay
.i2cdisplaybus.I2CDisplayBus
replacesdisplayio.I2CDisplay
.
os.uname().sysname
andos.uname().nodename
now are set toMICROPY_HW_MCU_NAME
uniformly across all ports.watchdog.WatchDogTimer.deinit()
is removed._asyncio
removedpush_head
,push_sorted
,pop_head
. Ensure you are using the latest version of theasyncio
CircuitPython library.sys.print_exception()
is removed. Usetraceback.print_exception()
instead. The exception object returned bysys.exc_info()
is now atraceback
module compatible object.
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, SAMx5xcxd56
: Sony Spresenseespressif
: Espressif ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6nordic
: Nordic nRF52840, nRF52833raspberrypi
: Raspberry Pi RP2040, RP2350stm
: ST STM32F4 chip family
These ports are considered alpha and will have bugs and missing functionality:
analog
: Analog Devices MAX32690broadcom
: Raspberry Pi boards such as RPi 4, RPi Zero 2Wespressif
: ESP32-P4, ESP32-H2litex
: fomumimxrt10xx
: NXP i.MX RT10xxxrenode
: hardware simulatorsilabs
: Silicon Labs MG24 familystm
: ST non-STM32F4 chip familieszephyr
: multiplatform RTOS: testing with Nordic nRF5340 and nRF54L15, Renesas RA6M5, ST STM32H7
Changes
Fixes and enhancements
- Update frozen libraries. #10649. Thanks @dhalbert.
- Ensure that additional mounted filesystems are read-only to the host if read-write to CircuitPython, and vice versa. #10648. Thanks @dhalbert.
- Prevent spurious auto-reloads when host writes the filesystem dirty bit. #10645. Thanks @dhalbert.
- Allow chained calls for audio effects and audio mixer. #10635. Thanks @relic-se.
- Ensure USB host buffers are in DMA-capable RAM. #10633. Thanks @tannewt.
- Always include module name for clarity when reporting an
import
failure. #10629. Thanks @dhalbert. - Give better error when mistakenly importing a MicroPython
.mpy
file. #10622. Thanks @dhalbert. - Improve
usb.core.Device
error handling. #10616. Thanks @samblenny.
Port and board-specific changes
Analog Devices
- Add
busio
support. #10413. Thanks @Brandon-Hurst.
Broadcom
Espressif
- Return correct error code on network connect failure. #10631. Thanks @dhalbert.
- Use standard LWIP defaults in
sdkconfig.defaults
to allow more sockets. #10609. Thanks @dhalbert.
i.MX
Nordic
renode
RP2
- Fix crash after
rotaryio.IncrementalEncoder
constructor failure. #10634. Thanks @dhalbert. - Fix LWIP-related crashes by putting port heap operations in critical sections. #10631, #10615. Thanks @dhalbert.
- Incorporate recent MicroPython LWIP-related fixes. #10631. Thanks @dhalbert.
- Fix PIO wait pin validation. #10627. Thanks @Supermath101 and @dhalbert.
SAMx
- Disable SD card mount presented as USB drive, due to a SAMD-specific issue. #10645. Thanks @dhalbert.
- Release SERCOM on I2C deinit. #10402. Thanks @eightycc.
SiLabs
Spresense
STM
Zephyr
Individual boards
- Bradán Lane STUDIO Core M0: add more built-in modules. #10601. Thanks @bradanlane.
- M5Stack Cardputer: fix boot loop. #10607. Thanks @dhalbert.
- M5Stack CoreS3: improve pin definitions. #10558. Thanks @CDarius.
Documentation changes
- Improve
struct_time
andtime.localtime()
documentation and type annotations. #10603. Thanks @proveskit. - Improve
wifi.Radio
type annotations. #10602. Thanks @proveskit.
Build and infrastructure changes
- Move
adabot
cron workflows tocircuitpython
repo. #10596. Thanks @FoamyGuy. - Use
RUN_BACKGROUND_TASKS
asMICROPY_INTERNAL_EVENT_HOOK
, so it doesn't have to be called explicitly frommp_event_wait_*()
. #10379. Thanks @jepler.
Translation additions and improvements
New boards
- Espressif ESP32-C3 Lyra V2. #10625. Thanks @oroblancoinc.
- Prokyber Ai-On-The-Edge-Cam. #10605. Thanks @allexoK.
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.