Skip to content

CircuitPython 10.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@dhalbert dhalbert released this 30 Jul 22:35
· 14 commits to main since this release
234ebf4

This is CircuitPython 10.0.0-beta.2, a beta release for 10.0.0. It has known bugs that will be fixed before the final release of 10.0.0.

This release is the same as CircuitPython 10.0.0-beta.1 and replaces it. Some boards failed to build during the beta.1 release process due to a third-party website problem. This release fixes that problem but is otherwise the same.

Highlights of this release

  • Support quad-color e-paper displays.
  • Support MagTag 2025 Edition display.
  • Use full Mozilla SSL root certificate list for all network-capable boards.

Incompatibility warnings

  • You must update the TinyUF2 bootloader on all ESP32-S2 and ESP32-S3 4MB flash boards to TinyUF2 0.33.0 or later.
    • The CircuitPython UF2 builds for these boards now assume a firmware partition size of 2.8MB (double the old size), as explained here. Updating the TinyUF2 bootloader will update the partition size. Failure to update the bootloader will likely cause a UF2 load to fail: you will remain in the bootloader, with the BOOT drive showing.
    • This bootloader update is only needed for ESP32-S2 and ESP32-S3 boards with 4MB flash boards; other ESP32-S2 and ESP32-S3 boards are fine. This bootloader update is compatible with CircuitPython 9.1.0 and later.
    • The proper updated bootloader will be installed by the "OPEN INSTALLER" buttons on each board download page and is also listed in the bootloader update section on those pages.
    • If you are loading CircuitPython using a .bin file instead of a UF2, the partition table is included in the .bin, and you don't need to do anything.
  • synthio.BlockBiquad has been renamed to synthio.Biquad. The old deprecatedsynthio.Biquad has been removed, as well as synthio.Synthesizer.low_pass_filter, synthio.Synthesizer.high_pass_filter, and synthio.Synthesizer.band_pass_filter. Coefficients from biquad_filter_state have been moved into synthio_biquad (biquad_filter_state is still used for input and output state).
  • The displayio bindings deprecated in 9.x.x have been removed:
    • busdisplay.BusDisplay replaces displayio.Display.
    • fourwire.FourWire replaces displayio.Fourwire.
    • epaperdisplay.EPaperDisplay replaces displayio.EPaperDisplay.
    • i2cdisplaybus.I2CDisplayBus replaces displayio.I2CDisplay.
  • os.uname().sysname and os.uname().nodename now are set to MICROPY_HW_MCU_NAME uniformly across all ports.
  • watchdog.WatchDogTimer.deinit() is removed.
  • _asyncio removed push_head, push_sorted, pop_head. Ensure you are using the latest version of the asyncio CircuitPython library.
  • sys.print_exception() is removed. Use traceback.print_exception() instead. The exception object returned by sys.exc_info() is now a traceback module compatible object.

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-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6
  • 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, ESP32-H2
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families
  • zephyr: multiplatform RTOS: testing with Nordic nRF5340 and nRF54L15, Renesas RA6M5, ST STM32H7

Changes

Fixes and enhancements

  • Fix heap growth calculation, which was preventing early large allocations. #10525. Thanks @tannewt.
  • Support quad-color e-paper displays. #10519. Thanks @tannewt.
  • Use full Mozilla SSL root certificate list for all network-capable boards, instead of previous smaller list. #10508, #10354. Thanks @dhalbert.

Port and board-specific changes

Analog Devices

Broadcom

Espressif

  • Return correct deep-sleep wakeup pin on ESP32. #10513. Thanks @dhalbert.
  • Restore settable microcontroller.cpu.frequency on all but 2MB-flash boards. #10495. Thanks @dhalbert.
  • Fix storage allocation in frequencyio.FrequencyIn. #10490. Thanks @dhalbert and @Sola85.

i.MX

Nordic

renode

RP2

SAMx

SiLabs

Spresense

STM

Zephyr

Individual boards

Documentation changes

  • Improve description of when settings.toml is read. #10493. Thanks @tannewt.
  • Improve Terminal escape code documentation. #10492. Thanks @tannewt.
  • Add a static stubs directory and include micropython.const in the stubs. #10485. Thanks @dunkmann00.

Build and infrastructure changes

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.