github adafruit/circuitpython 11.0.0-beta.0
CircuitPython 11.0.0-beta.0

pre-releaseone hour ago

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 displayio implementation, currently on ESP32-P4 and ESP32-S31.
  • Add deinit() to displays; deprecate displayio.release_displays().
  • Import .mpy files from CIRCUITPY in place, saving RAM.
  • GIF animation and faster updates on e-paper displays.
  • vectorio now has rounded rectangles.
  • Move audiotap audio level functions to audiotap.LevelReader.

Incompatibility warnings when upgrading to 11.0.0 from 10.x.x

  • The broadcom, litex, and renode ports have been removed.
  • displayio.release_displays() is deprecated. Use a display's deinit() method instead. For the default display, use supervisor.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().sysname is now "CircuitPython". os.uname().nodename is 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.txt value, and the USB serial number.
  • OnDiskBitmap now takes only a filename, not an open file as an argument.
  • The en_x_pirate translation 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, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32, ESP32-C2, ESP32-C3, ESP32-C5, 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
  • espressif: ESP32-P4, ESP32-S31
  • mimxrt10xx: NXP i.MX RT10xx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families
  • zephyr: various nRF, NXP, Renesas, RP2xxx, Silicon Labs, ST, and WCH boards

Changes since 11.0.0-alpha.3

Fixes and enhancements

  • LVGL displayio now 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_LIMIT in settings.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.LevelReader from audiotap.Tap. #11937. Thanks @FoamyGuy.
  • Don't queue background callbacks on the heap when heap is being torn down. #11935. Thanks @dhalbert.
  • Support fractional displayio.Group scaling in LVGL. #11932. Thanks @tannewt.
  • Prevent audio glitches during displayio auto-refresh. #11923. Thanks @mikeysklar.
  • Update LVGL submodule. #11920. Thanks @FoamyGuy.
  • In LVGL displayio, use LVGL to draw TileGrid cells. #11919. Thanks @mikeysklar.
  • Add deinit() to display classes. Deprecate displayio.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 BusDisplay byteswap problem. #11906. Thanks @FoamyGuy.
  • os.uname().sysname is now "CircuitPython". os.uname().nodename is now the default or current network hostname, if known. #11905. Thanks @dhalbert.
  • Add vectorio rounded rectangle support. vectorio can also now be subclassed. #11898. Thanks @tannewt.
  • Fix GC heap area free bug. #11895. Thanks @lynt-smitka.
  • Import .mpy files 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 audiocore and synthio. #11874. Thanks @vegardw.
  • Start adafruit_bus_device.SPIDevice with the chip-select pin off. #11870. Thanks @mikeysklar.
  • audiocore now rejects a RawSample rate of zero. #11867. Thanks @dhalbert.
  • Add wifi.radio.version, which reports the WiFi co-processor firmware version. #11856. Thanks @dhalbert.
  • Fix _bleio HCI 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_host input. #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 PWMOut failing after PWMAudioOut or with PulseOut. #11866. Thanks @dhalbert.

RP2xxx

SAMx

Silicon Labs

Spresense

STM

  • Add paralleldisplaybus to 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 PWMAudioOut when 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

Individual boards

  • Adafruit MacroPad: capitalize "Pad" in board name. #11947. Thanks @dhalbert.
  • Adafruit PyRuler: fix board.A2 and board.A4 pin mappings. #11893. Thanks @dhalbert.
  • Pimoroni Inky Frame boards: fix initialization; unify pin names across boards. #11884. Thanks @bablokb.

Documentation changes

Build and infrastructure changes

  • Speed up documentation build and refactor board support matrix code. #11921. Thanks @dhalbert.
  • Do not run tests or build mpy-cross when not necessary. #11916. Thanks @dhalbert.
  • Fix intermittent repl_inspect.py test failures. #11868. Thanks @dhalbert.
  • Fix make fetch-port-submodules. #11858. Thanks @mikeysklar.

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.