CircuitPython 11.0.0-beta.0 introduces LVGL-based displayio and memory optimizations
The new beta release features a major display engine overhaul using LVGL and improved RAM management for .mpy files.
Summary
Adafruit has released CircuitPython 11.0.0-beta.0, a significant pre-release update for the microcontroller-focused Python implementation. This version introduces a new displayio implementation based on the LVGL graphics library, currently targeting the ESP32-P4 and ESP32-S31 platforms.
Beyond graphics, the update focuses on memory efficiency and API modernization. It allows for the direct import of .mpy files from the CIRCUITPY drive to save RAM and introduces deprecations to prepare for the version 12.0.0 lifecycle. While it maintains compatibility with 10.x library bundles, users are warned of potential incompatibilities during the upgrade process.
Technical changes in CircuitPython 11.0.0-beta.0
- Graphics Engine: A new LVGL-based displayio implementation has been added, supporting fractional Group scaling and optimized redrawing that only updates changed pixels on full-screen bitmaps.
- Memory Management: The runtime now supports importing .mpy files directly from the CIRCUITPY partition in place, reducing the RAM overhead typically required for file loading.
- API Deprecation: The
displayio.release_displays()function is now deprecated in favor of individual displaydeinit()methods; the former is scheduled for removal in version 12.0.0. - Hardware Port Changes: The Broadcom, LiteX, and Renode ports have been removed from the codebase, while the ESP32-P4 and ESP32-S31 are currently in alpha status.
- System Metadata:
os.uname().sysnamenow returns "CircuitPython" andos.uname().nodenamehas been updated to reflect the current network hostname or microcontroller name.
Why it matters
This release provides embedded developers with more sophisticated graphics capabilities via LVGL, which is critical for complex UI design on microcontrollers. The memory optimizations and improved e-paper support make the platform more viable for resource-constrained IoT applications and low-power displays.
Original reference: blog.adafruit.com →