This is CircuitPython 11.0.0-beta.0, a beta release for 11.0.0. It has known bugs that will be fixed before the final release of 11.0.0.
CircuitPython libraries from the 10.x bundles are still compatible with CircuitPython 11.0.0 builds.
Highlights of changes since 11.0.0-alpha.3
- New LVGL-based
displayioimplementation, currently on ESP32-P4 and ESP32-S31. - Add
deinit()to displays; deprecatedisplayio.release_displays(). - Import
.mpyfiles from CIRCUITPY in place, saving RAM. - GIF animation and faster updates on e-paper displays.
vectorionow has rounded rectangles.- Move
audiotapaudio level functions toaudiotap.LevelReader.
Incompatibility warnings when upgrading to 11.0.0 from 10.x.x
- The
broadcom,litex, andrenodeports have been removed. displayio.release_displays()is deprecated. Use a display'sdeinit()method instead. For the default display, usesupervisor.runtime.display.deinit().displayio.release_displays()will be removed in 12.0.0.- The SDIO pin names on the Adafruit Feather Adalogger RP2040 and RP2350 boards were changed to be more consistent with the naming elsewhere.
os.uname().sysnameis now"CircuitPython".os.uname().nodenameis now the default or current network hostname, if known. On boards without networking, it is still the microcontroller name.- On Espressif, the processor UID values are now in canonical order. This changes the reported processor ID,
boot_out.txtvalue, and the USB serial number. OnDiskBitmapnow takes only a filename, not an open file as an argument.- The
en_x_piratetranslation has been discontinued. - The Adafruit MacroPad RP2040 now reports its name as "MacroPad" instead of "Macropad" uniformly, including its USB product string.
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 on 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 considered stable (but see Known Issues below):
atmel-samd: Microchip SAMD21, SAMx5xcxd56: Sony Spresenseespressif: Espressif ESP32, ESP32-C2, ESP32-C3, ESP32-C5, 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 MAX32690espressif: ESP32-P4, ESP32-S31mimxrt10xx: NXP i.MX RT10xxsilabs: Silicon Labs MG24 familystm: ST non-STM32F4 chip familieszephyr: various nRF, NXP, Renesas, RP2xxx, Silicon Labs, ST, and WCH boards
Changes since 11.0.0-alpha.3
Fixes and enhancements
- LVGL
displayionow redraws only the changed pixels on a full-screen bitmap. #11953. Thanks @mikeysklar. - Fix incomplete display in LVGL
displayio. #11952. Thanks @mikeysklar. - Add
CIRCUITPY_WEB_DISPLAY_RATE_LIMITinsettings.toml. #11949. Thanks @FoamyGuy. - Free
board.I2C()pins after VM finishes, unless board needs them during non-VM code. #11942. Thanks @mikeysklar. - Fix e-paper release hang that blocked deep sleep after a refresh. #11939. Thanks @dhalbert.
- Split off
audiotap.LevelReaderfromaudiotap.Tap. #11937. Thanks @FoamyGuy. - Don't queue background callbacks on the heap when heap is being torn down. #11935. Thanks @dhalbert.
- Support fractional
displayio.Groupscaling in LVGL. #11932. Thanks @tannewt. - Prevent audio glitches during
displayioauto-refresh. #11923. Thanks @mikeysklar. - Update LVGL submodule. #11920. Thanks @FoamyGuy.
- In LVGL
displayio, use LVGL to drawTileGridcells. #11919. Thanks @mikeysklar. - Add
deinit()to display classes. Deprecatedisplayio.release_displays(). #11914. Thanks @dhalbert. - Add an LVGL implementation of
EPaperDisplay. #11912. Thanks @tannewt. - Fix VNC mirror display for LVGL
FramebufferDisplay. #11911. Thanks @FoamyGuy. - Prevent audio glitches when an LVGL display redraws. #11909. Thanks @mikeysklar.
- Fix LVGL
BusDisplaybyteswap problem. #11906. Thanks @FoamyGuy. os.uname().sysnameis now"CircuitPython".os.uname().nodenameis now the default or current network hostname, if known. #11905. Thanks @dhalbert.- Add
vectoriorounded rectangle support.vectoriocan also now be subclassed. #11898. Thanks @tannewt. - Fix GC heap area free bug. #11895. Thanks @lynt-smitka.
- Import
.mpyfiles from CIRCUITPY in place, without needing to copy them into RAM. #11894. Thanks @lynt-smitka. - Skip safe-mode wait when waking from deep sleep. #11891. Thanks @dhalbert.
- Add LVGL implementation of
displayio. #11887. Thanks @tannewt. - Close the socket when a TLS handshake or
wrap_socket()fails. #11878. Thanks @dhalbert. - Validate audio sample rates in
audiocoreandsynthio. #11874. Thanks @vegardw. - Start
adafruit_bus_device.SPIDevicewith the chip-select pin off. #11870. Thanks @mikeysklar. audiocorenow rejects aRawSamplerate of zero. #11867. Thanks @dhalbert.- Add
wifi.radio.version, which reports the WiFi co-processor firmware version. #11856. Thanks @dhalbert. - Fix
_bleioHCI bugs. #11750. Thanks @lynt-smitka. - Play GIF animations at speed on e-paper displays. #11740. Thanks @mikeysklar.
- Allow fast e-paper updates by managing the waveforms carefully. #11739. Thanks @mikeysklar.
Port and board-specific changes
Analog Devices
Espressif
- Fix release of I2C devices by
espcamera. #11951. Thanks @dhalbert. - Turn off WiFi power saving on boards with ESP-Hosted co-processors. This is a temporary workaround for a WiFi problem. #11930. Thanks @dhalbert.
- Add a ring buffer for isochronous
usb_hostinput. #11924. Thanks @FoamyGuy. - Fix dual-core tasking problem that caused display hangs when USB is not connected. #11907. Thanks @dhalbert.
- Enable
audiofilters. #11904. Thanks @BlitzCityDIY. - Fix garbled audio on ESP32-P4. #11875. Thanks @mikeysklar.
- End
_bleio.Adapter.connect()when the link fails before it is reported. #11859. Thanks @urfdvw.
i.MX
Nordic
- Shrink internal-flash-only nRF52840 boards; restore
rainbowio. #11946. Thanks @dhalbert. - Fix
PWMOutfailing afterPWMAudioOutor withPulseOut. #11866. Thanks @dhalbert.
RP2xxx
- Honor the configured TCP close timeout. #11940. Thanks @astrodt.
- Stop printing WiFi MAC address in
boot_out.txton Pico W and Pico 2 W boards. #11936, #11890. Thanks @mikeysklar. - Use the
adafruitfork of the CYW43 driver. #11934. Thanks @mikeysklar. - Round up
rp2pioclock divider. #11933. Thanks @emincan2000. - Choose closer timing fraction in
audiopwmio. #11925. Thanks @emincan2000. analogbufio.BufferedInsample rate must be at least 733 Hz. #11910. Thanks @emincan2000.- Allow connection to WPA3-only WiFi networks. #11888. Thanks @mikeysklar.
- Fix crash when lowering
microcontroller.cpu.frequencyfrom 300 MHz. #11885. Thanks @mikeysklar. - Scale flash timing as CPU frequency changes; run stage 2 bootloader on RP2350. #11883. Thanks @dhalbert.
- Hold the network lock while sending a ping. #11881. Thanks @mikeysklar.
SAMx
Silicon Labs
Spresense
STM
- Add
paralleldisplaybusto the STM port, using the FSMC peripheral. #11908. Thanks @vegardw. - Add uf2-stm32f bootloader support. #11903. Thanks @vegardw.
- Fix alternate function entries in pin tables. #11902. Thanks @vegardw.
- Add STM32F412Rx support. #11896. Thanks @vegardw.
- Don't hang
PWMAudioOutwhen audio source is never-ending silence. #11889. Thanks @vegardw. - Preserve fractional seconds in
TimeAlarm. #11872. Thanks @vegardw. - Keep RTC time more accurately on boards without a low-speed crystal. #11871. Thanks @vegardw.
- Report a deep-sleep wake only after a real deep sleep. #11864. Thanks @vegardw.
- Don't sleep an extra second when a short RTC alarm is missed. #11862. Thanks @vegardw.
- Remove unused RTC wakeup code. #11861. Thanks @vegardw.
- Scale the RTC subsecond count to ticks. #11860. Thanks @vegardw.
- Fix
port_get_raw_ticks(). #11857. Thanks @vegardw.
Zephyr
- WCH: use temperature sensor noise for
os.urandom(). #11941. Thanks @mikeysklar. - Add
zephyr_inputfor touch events. #11931. Thanks @tannewt. - Bring Zephyr submodule up to date with recent Zephyr
main. #11913. Thanks @mikeysklar. - Enable
storage.disable_usb_drive(). #11901. Thanks @mikeysklar.
Individual boards
- Adafruit MacroPad: capitalize "Pad" in board name. #11947. Thanks @dhalbert.
- Adafruit PyRuler: fix
board.A2andboard.A4pin mappings. #11893. Thanks @dhalbert. - Pimoroni Inky Frame boards: fix initialization; unify pin names across boards. #11884. Thanks @bablokb.
Documentation changes
- Update "Limitations:" entries for multiple features. #11926, #11880. Thanks @dhalbert and @mikeysklar.
- Document which
errnonames are available on which boards. #11926. Thanks @dhalbert. - Add a warning that users of
try_lock()should release the lock promptly. #11926. Thanks @dhalbert. - Various fixes. #11865. Thanks @dhalbert.
Build and infrastructure changes
- Speed up documentation build and refactor board support matrix code. #11921. Thanks @dhalbert.
- Do not run tests or build
mpy-crosswhen not necessary. #11916. Thanks @dhalbert. - Fix intermittent
repl_inspect.pytest failures. #11868. Thanks @dhalbert. - Fix
make fetch-port-submodules. #11858. Thanks @mikeysklar.
Translation additions and improvements
New boards
- Adafruit Metro CH32V407 (Zephyr). #11900. Thanks @mikeysklar.
- Adafruit Metro CH32V467 (Zephyr). #11900. Thanks @mikeysklar.
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.