github adafruit/circuitpython 10.0.0
CircuitPython 10.0.0

16 hours ago

This is CircuitPython 10.0.0, the latest major revision of CircuitPython, and is a new stable release.

This release is identical to 10.0.0-rc.0 except for its version number.

Incompatibility warnings when upgrading to 10.0.0 from 9.x.x

  • 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 has 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.

Notable changes to 10.0.0 not in 9.x.x

Audio

  • Add effects: audiodelays.Chorus, audiodelays.MultiTapDelay, audiofreeverb.Freeverb, audioFilters.Phaser.
  • Add audiomixer.MixerVoice.panning, with synthio.BlockInput support.
  • Add synthio.MidiTrack.tempo.
  • Rename synthio.BlockBiquad to synthio.Biquad. See Incompatibility warnings above.
  • Convert mono audio to stereo when going through a stereo audiomixer.Mixer.
  • Add MixerVoice.end().

Built-in modules

  • Initial experimental implementation of MicroROS.
  • Improve accuracy of time.sleep() and similar functions.

Graphics

  • Support quad-color and "Spectra6" six-color e-ink displays.
  • tilepalettemapper.TilePaletteMapper now supports displayio.ColorConverter.
  • Add lvfontio.OnDiskFont to support on-disk fonts for terminalio.
  • Add Terminal.cursor_x and .cursor_y.
  • Add picodvi.Framebuffer.color_depth.
  • Improve picodvi timing to accomodate more monitors.

Internal

  • Improved garbage collection times: skip scanning inside objects with no pointers.
  • Update TinyUSB.
  • Merge MicroPython updates up to MicroPython v1.25.0.
  • Update Espressif ESP-IDF to 5.4.1.
  • Update Raspberry Pi pico-sdk to 2.2.0 and cyw43-driver to v1.1.0.

Networking

  • Use full Mozilla SSL root certificate list for all network-capable boards.
  • Add wifi.radio.power_management to control WiFi power consumption while listening.

Python interpreter

Storage

  • Add CPSAVES partition (currently only on Adafruit Fruit Jam).

Supervisor

USB

  • Present mounted SD cards and CPSAVES as additional USB drives.

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

Port and board-specific changes

Analog Devices

Broadcom

Espressif

i.MX

Nordic

renode

RP2

SAMx

SiLabs

Spresense

STM

Zephyr

Individual boards

Documentation changes

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.

Don't miss a new circuitpython release

NewReleases is sending notifications on new releases.