github adafruit/circuitpython 10.3.0-alpha.4
CircuitPython 10.3.0-alpha.4

pre-release7 hours ago

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, and audiofreeverb on RP2xxx.
  • Add CIRCUITPY_BLE_WORKFLOW, CIRCUITPY_SAFE_MODE_DELAY, and CICUITPY_WIFI_HOSTNAME to settings.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 baudrate specified in busio.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. Use SPI.frequency to fetch the actual baudrate. Limitations: On Zephyr, SPI.frequency is 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, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-C61, ESP32-H2, ESP32-S2, ESP32-S3
  • nordic: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040, RP2350
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • analog: Analog Devices MAX32690
  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W (will be removed in CircuitPython 11)
  • espressif: ESP32-P4
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families
  • zephyr: 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 a remount() 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_WORKFLOW in settings.toml for 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 (.mpy files with native machine code). #11112. Thanks @jepler.
  • Improve PWMOut constructor failure error messages. #11107. Thanks @dhalbert.
  • Add audiofilewriter module, an audio sink that writes to a file. #11106. Thanks @FoamyGuy.
  • Update TinyUSB, including MAX3421E fix. #11093. Thanks @mikeysklar.
  • Fix preserve_dios during 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_DELAY in settings.toml: sets time allowed for user-initiated safe mode during startup. #11073. Thanks @dhalbert.
  • Add CIRCUITPY_WIFI_HOSTNAME in settings.toml: sets hostname prior to WiFi connect. #11072. Thanks @dhalbert.
  • Improvements to I2SIn streaming protocol. #11068. Thanks @FoamyGuy.

Port and board-specific changes

Analog Devices

Broadcom

Espressif

i.MX

Nordic

renode

RP2xxx

SAMx

SiLabs

Spresense

STM

Zephyr

Individual boards

Documentation changes

  • Fix doubled backslashes in settings.toml documentation. #11119. Thanks @dhalbert.

Build and infrastructure changes

  • fix CIRCUITPY_* flags that should be #if, not #ifdef. #11069. Thanks @dhalbert.

Translation additions and improvements

New boards

Known issues

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.

Don't miss a new circuitpython release

NewReleases is sending notifications on new releases.