This is CircuitPython 10.3.0-alpha.4, an alpha release for 10.3.0. Further features, changes, and bug fixes will be added before the final release of 10.3.0.
Highlights of this release
- Add
audiofilewriter. - Add
audiodelays.GranularPitchShift. - Add
sdioio,audiodelays,audiofilters, andaudiofreeverbon RP2xxx. - Add
CIRCUITPY_BLE_WORKFLOW,CIRCUITPY_SAFE_MODE_DELAY, andCICUITPY_WIFI_HOSTNAMEtosettings.toml. - Add
storage.unsafe_disable_usb_drive(), to disable the USB CIRCUITPY drive after the host has mounted it. - Lower the default WiFi power to from 20 dBm to 15 dBm on all boards with chip antennas
- USB host fixes.
- Espressif BLE fixes.
- ESP-NOW works again on Espressif.
- Update TinyUSB.
Incompatibility warnings when upgrading to 10.3.0 from 10.2.x
- The
baudratespecified inbusio.SPI.configure()is now a ceiling, and will not be exceeded. Previously, on some ports, the actual baudrate chosen could have been the nearest available baudrate, but higher than the specified baudrate, sometimes by a substantial amount. UseSPI.frequencyto fetch the actual baudrate. Limitations: On Zephyr,SPI.frequencyis the specified, not the actual baudrate, and some Zephyr ports may violate the ceiling behavior.
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-C2, ESP32-C3, ESP32-C6, ESP32-C61, ESP32-H2, ESP32-S2, ESP32-S3nordic: 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 2W (will be removed in CircuitPython 11)espressif: ESP32-P4litex: fomumimxrt10xx: NXP i.MX RT10xxxrenode: hardware simulatorsilabs: Silicon Labs MG24 familystm: ST non-STM32F4 chip familieszephyr: multiplatform RTOS, running on multiple chip families
Changes since 10.3.0-alpha.3
Fixes and enhancements
- Update frozen libraries. #11129. Thanks @dhalbert.
- Add
storage.unsafe_disable_usb_drive(), which disables the CIRCUITPY drive even after it was enumerated as a USB drive. The drive is marked as "not ready". This allows writing to the drive from the REPL or from code without aremount()in boot.py. - Allow non-boot-protocol keyboards to be used with USB host. #11126. Thanks @mikeysklar.
- Do not do BLE bonding delay (blue flashes) when waking from deep sleep. #11123. Thanks @dhalbert.
- Add
CIRCUITPY_BLE_WORKFLOWinsettings.tomlfor enabling/disabling BLE workflow. #11123. Thanks @dhalbert. - Add
audiodelays.GranularPitchShift. #11121. Thanks @FoamyGuy. - Fix handling of
..in beginning of file paths. #11113. Thanks @94xhn. - Fix native modules (
.mpyfiles with native machine code). #11112. Thanks @jepler. - Improve
PWMOutconstructor failure error messages. #11107. Thanks @dhalbert. - Add
audiofilewritermodule, an audio sink that writes to a file. #11106. Thanks @FoamyGuy. - Update TinyUSB, including MAX3421E fix. #11093. Thanks @mikeysklar.
- Fix
preserve_diosduring fake deep sleep. #11087. Thanks @dhalbert. - Fix non-looping audio playback. #11085. Thanks @dhalbert.
busio.SPI: do not exceed specified baudrate. #11081. Thanks @dhalbert.- Fix BLE crash on AirLift restart. #11077. Thanks @dhalbert.
- Add
CIRCUITPY_SAFE_MODE_DELAYinsettings.toml: sets time allowed for user-initiated safe mode during startup. #11073. Thanks @dhalbert. - Add
CIRCUITPY_WIFI_HOSTNAMEinsettings.toml: sets hostname prior to WiFi connect. #11072. Thanks @dhalbert. - Improvements to
I2SInstreaming protocol. #11068. Thanks @FoamyGuy.
Port and board-specific changes
Analog Devices
Broadcom
Espressif
- Lower default WiFi power to from 20 dBm to 15 dBm on all boards with chip antennas. #11132. Thanks @dhalbert.
- Deinitialize
espcameraI2C use properly. #11108. Thanks @dhalbert. - Fixed GATT discovery failures: build Python objects on main task, not BLE task. #11104. Thanks @dhalbert.
- Fix
I2SOut. #11083. Thanks @dhalbert. - Wait for access point IP address to be valid. #11082. Thanks @dhalbert.
- Fixed ESP-NOW regression. #11075. Thanks @dhalbert.
i.MX
Nordic
renode
RP2xxx
- Fix USB host failures. #11130, #11120, #11117, #11114. Thanks @mikeysklar.
- Check builds for use of flash by core 1 USB host code. #11115. Thanks @mikeysklar.
- Implement
sdioio. #11090. Thanks @FoamyGuy. - Enable
audiodelays,audiofilters, andaudiofreeverb. #11074. Thanks @FoamyGuy.
SAMx
SiLabs
Spresense
STM
Zephyr
Individual boards
Documentation changes
Build and infrastructure changes
Translation additions and improvements
- Use
sort-by-fileinstead of deprecated--sort-outputforxgettextandmergemsg. #11107. Thanks @dhalbert. - Translations
- @LydoriaChan (Turkish)
- @lydorianP (Turkish)
New boards
- PCBCupid GLYPH C3. #11096. Thanks @pcbcupid.
- PCBCupid GLYPH C6. #11100. Thanks @pcbcupid.
- PCBCupid GLYPH H2. #11101. Thanks @pcbcupid.
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 toward this release, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.