CircuitPython 10.3.0-alpha.3 Released!
Article excerpt
From the GitHub release page: This is CircuitPython 10.3.0-alpha.3, 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 usb_audio.USBMicrophone and usb_audio.USBSpeaker, which provide audio source and sink USB devices. Add audiospeed.Resampler. Add audio_i2sin input audio stream; supported only on […]
From the GitHub release page:
This is CircuitPython 10.3.0-alpha.3, 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 usb_audio.USBMicrophone and usb_audio.USBSpeaker, which provide audio source and sink USB devices.
Add audiospeed.Resampler.
Add audio_i2sin input audio stream; supported only on Espressif and RP2xxx.
Fix Espressif camera support regression.
Fix several Espressif BLE bugs.
Other bug fixes.
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
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.2
Fixes and enhancements
Add audio_i2sin on Espressif and RP2xxx. It can act as an audio stream like other audio sources. #11064, #10990. Thanks @FoamyGuy.
Add usb_audio.USBSpeaker. #11062. Thanks @FoamyGuy.
Add usb_audio.USBMicrophone. #11058. Thanks @FoamyGuy.
Add audiospeed.Resampler. #11057. Thanks @relic-se.
Allow using an I/O expander pin or a DigitalInOut for the sdcardio.SDCard chip-select pin. #11053. Thanks @bablokb.
Fix dotclockframebuffer GPIO expander pin validation. #11028. Thanks @makermelissa.
Add mask arg to bitmaptools.alphablend(). #11027. Thanks @makermelissa.
Fix stereo signal processing in audiofilters.Filter. #11025. Thanks @relic-se.
Fix audiospeed.SpeedChanger. #11022. Thanks @todbot.
Fix filesystem incorrectly reported as read-only for web and BLE workflows. #11048. Thanks @makermelissa.
Return HTTP 409 instead of 500 on web workflow when filesytem is read-only. #11017. Thanks @makermelissa.
Simplify startup message printing to fix suppressing messages from boot.py on the display. #11010. Thanks @dhalbert.
Turn on __delattr__() and __setattr__() on most boards. #11007. Thanks @dhalbert.
Port and board-specific changes
Analog Devices
Broadcom
Espressif
Fix camera support. #11059. Thanks @dhalbert.
Turn on audiobusio.PDMIn on ESP32. Improve PDMIn documentation and compile options. #11056. Thanks @dhalbert.
Fix crashes due to BLE reset bug on startup. #11051. Thanks @dhalbert.
Fix slow BLE discovery. #11050. Thanks @dhalbert.
Use a more recent cmake version. #11043. Thanks @bablokb.
Validate arg for ParallelBus to prevent crashes. #11041. Thanks @dhalbert.
Fix BLE advertising duration. Return bleio.adapter.connected as True earlier. #11036. Thanks @dhalbert.
Remove obsolete lwip workaround. #11016. Thanks @dhalbert.
i.MX
Nordic
renode
RP2xxx
Use irq_shared_handler() instead of isr_dma_0(). #11054. Thanks @dhalbert.
Fix uses of PICO_RP2040 and PICO_RP2350 compile macros. #11019, #11014. Thanks @dhalbert.
Switch back to using upstream Pico-PIO-USB library. #11015. Thanks @dhalbert.
Turn off picodvi on boards without available pins. #11008. Thanks @dhalbert.
SAMx
SiLabs
Spresense
STM
Zephyr
Pin protobuf version to prevent build issues. #11045. Thanks @tannewt.
Update Zephyr version to post-4.4.0. #11011. Thanks @tannewt.
Individual boards
senseBox MCU Eye: update name, pins, and flash. #11063. Thanks @sensebox.
Documentation changes
Improve deep sleep and displayio.release_displays() documentation. #11038. Thanks @dhalbert.
Build and infrastructure changes
Prevent duplicate builds on PR’s and releases. #11046. Thanks @dhalbert.
Fix incorrect compressed translation qstr ids. #11037. Thanks @dhalbert.
Translation additions and improvements
New boards
PCBCupid Glyph Mini 2040. #11034. Thanks @pcbcupid.
PCBCupid GLYPH S3. #11042. Thanks @pcbcupid.
Waveshare ESP32-S3-Tiny-N8R8. #11033. Thanks @stolen.
Known issues
Native-code .mpy files are not working. This capability is currently enabled only on the winterbloom_sol board.
See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:
10.2.x
10.3.0
10.x.x
11.0.0
long term
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.