CircuitPython 10.0.0-alpha.4
Pre-releaseThis is CircuitPython 10.0.0-alpha.4, an alpha release for 10.0.0. Further features, changes, and bug fixes will be added before the final release of 10.0.0.
This release is nearly the same as 10.0.0-alpha.3 but has a bug fix that breaks finalisers and results in "in use" errors. (Finalisers will usually release the resources.) It also fixes crashes on ESP32-CX RISC-V boards.
Highlights of this release
- A number of new audio effects.
- Improved garbage collection times
- ESP-IDF update to 5.4.1
- Improved audio playback on RP2
Incompatibility warnings
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
Python-level library.
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 nRF5340, nRF54L15, RA6M5, STM32H7
Changes
Fixes and enhancements
- Chorus audio effect by @gamblor21 in #10044
- Audio Effect Reverb by @gamblor21 in #10196
- Audio Effect Multi-Tap Delay by @relic-se in #10258
- Audio Effect Phaser by @relic-se in #10304
- Add selective collect to memory allocations by @tannewt in #10264
- Increase CFG_TUH_ENUMERATION_BUFSIZE so that USB devices with long descriptors are recognized by @rianadon in #10281
- Wifi power management by @dhalbert in #10271
- increase default PYSTACK size from 1536 to 2048 by @dhalbert in #10236
- Change mix calculation on
audiodelays.Echo
to allow full range. by @relic-se in #9994 - Add working_directory for subsequent code file by @tannewt in #10263
- Run background tasks during display refresh by @tannewt in #10277
- Fix for fixed point overflow in synthio by @gamblor21 in #10288
- Implement use_global_block_protection_lock for write-enabling flash. by @eightycc in #10249
- fix swapped argument required vars in bitmaptools args helper by @FoamyGuy in #10253
- update frozen libraries, especially asyncio by @dhalbert in #10251
- extmod/modasyncio.c: remove push_head, push_sorted, pop_head by @dhalbert in #10244
Port and board-specific changes
Analog Devices
Broadcom
Espressif
- Upgrade ESP-IDF v5.3.2 to v5.4.1 by @eightycc in #10267
- ESP: add MAC address to boot_out.txt (for wifi boards) by @Neradoc in #10239
i.MX
Nordic
renode
RP2
- Add touchio pullup rp2350 by @todbot in #10227
- Implement BOOTSEL button entry to safe mode for RP2. by @eightycc in #10231
- rp2pio mov_status_type and mov_status_n by @burtyb in #10262
- Fix RP2xxx I2SOut reversed channels by @dhalbert in #10250
- Tweak audio playback on RP2 by @tannewt in #10299
SAMx
SiLabs
Spresense
STM
Zephyr
Individual boards
- Add Blues Cygnet Feather (STM32L433) board by @Bucknalla in #10211
- Added peripheral support for Daisy Seed stm32H750 board by @snkYmkrct in #10198
- boards/oxocard_*/board.c: Fix vertical offset for LCD screen by @supcik in #10302
- Seeed Xiao ESP32-C6: Add user LED to pins.c by @KanyonKris in #10273
Documentation changes
Build and infrastructure changes
Translation additions and improvements
New boards
- Feather RP2350 adalogger by @BlitzCityDIY in #10254
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.
New Contributors
- @Bucknalla made their first contribution in #10211
- @KanyonKris made their first contribution in #10273
- @rianadon made their first contribution in #10281
Full Changelog: 10.0.0-alpha.3...10.0.0-alpha.4