Skip to content

Releases: adafruit/circuitpython

CircuitPython 9.1.0-beta.1

19 Apr 01:16
ab69d6b
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.1.0-beta.1, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes since 9.0.0

Incompatibility warnings

  • API changes to floppyio.
  • String values in settings.toml must be quoted.

Audio

  • RP2040 I2SOut supports BLCK and LRCLK in either order.

Built-in modules

  • Enhance collections.deque functionality.
  • Add keypad_demux.DemuxKeyMatrix: use multiplexer for one side of a keypad matrix.
  • Add integration-based debouncing to keypad.
  • supervisor.Runtime.serial_bytes_available now returns a count instead of a bool.
  • Incompatible change: floppyio improvements, including API changes.

Graphics

  • fourwire.FourWire: chip_select pin is now optional.
  • picodvi now supports 640x240 and 800x240 resolutions.

Internal

  • Espressif: update to ESP-IDF v5.2.1.
  • Espressif: Change task-switching quantum to 1 millisecond from 10 milliseconds.

Supervisor

  • String values in settings.toml must be quoted.

USB

  • max3421e USB host support.
  • Allow user-specified names for usb_midi interfaces and jacks.

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 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-C3
  • nordic: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.1.0-beta.0

Fixes and enhancements

  • Update frozen libraries. #9188. Thanks @dhalbert.
  • External flash cache allocation crashed into safe mode when heap was too small. #9187, #9169. Thanks @dhalbert.
  • Avoid putting terminal escape sequences in boot_out.txt. #9181. Thanks @bill88t.
  • MAX3421E USB host support. #9164. Thanks @tannewt.
  • Enable bitmapfilter on boards where it will fit. #9156. Thanks @dhalbert.
  • Allow user-specified names for usb_midi interfaces and jacks. #9146. Thanks @brushmate.
  • supervisor.Runtime.serial_bytes_available now returns a count instead of a bool. #9141. Thanks @dhalbert
  • Correct EPaperDisplay.time_to_refresh. #9140. Thanks @elpekenin.
  • floppyio improvements, including API changes. #9135. Thanks @jepler.
  • Require strings to be quoted in settings.toml #9117. Thanks @jepler.
  • fourwire.FourWire: chip_select pin is now optional. #9106. Thanks @wee-noise-makers.

Port and board-specific changes

Broadcom

Espressif

  • Document Espressif AnalogIn limitations. #9137. Thanks @dhalbert.
  • Change task-switching quantum to 1 millisecond from 10 milliseconds. #9134. Thanks @dhalbert.
  • Handle new ESP-IDF v5.2.1 failure codes for WiFi connections. #9126. Thanks @dhalbert.

i.MX

nordic

RP2040

  • Disable picodvi and usb_host on boards that cannot use them. #9116. Thanks @bablokb.
  • picodvi now supports 640x240 and 800x240 resolutions. #9102. Thanks @jepler.

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

  • Thanks for translations:

New boards since 9.1.0-beta.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.1.0-beta.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.4

16 Apr 17:31
29eeef9
Compare
Choose a tag to compare

This is CircuitPython 9.0.4, the latest bugfix release of CircuitPython, and is a new stable release.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.3

Fixes and enhancements

  • External flash cache allocation crashed into safe mode when heap was too small. #9169. Thanks @dhalbert.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

  • Move state word that survives reset to avoid its being overwritten by bootloader. #9168, #9160. Thanks @tannewt.
  • Fix regression from 9.0.3 treating small internal-only negative ADC values as large positive values. #9161. Thanks @dhalbert.
  • Allow reuse of AnalogIn pins as other types of pins. #9161. Thanks @dhalbert.

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.3

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.3, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.3

04 Apr 13:47
0ef433b
Compare
Choose a tag to compare

This is CircuitPython 9.0.3, the latest bugfix release of CircuitPython, and is a new stable release.

The only changes to 9.0.3 from 9.0.2 are a fix for AnalogIn on Nordic nRF boards, and the addition of the Waveshare RP2040-GEEK board.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.2

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.2

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.1.0-beta.0

28 Mar 18:06
14eb3b1
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.1.0-beta.0, a beta for CircuitPython 9.1.0, and is a new unstable release. This release has known bugs that will be addressed before 9.1.0 final.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes since 9.0.0

Audio

  • RP2040 I2SOut supports BLCK and LRCLK in either order.

Built-in modules

  • Enhance collections.deque functionality.
  • Add keypad_demux.DemuxKeyMatrix: use multiplexer for one side of a keypad matrix.
  • Add integration-based debouncing to keypad.

Internal

  • Espressif: update to ESP-IDF v5.2.1.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0

Fixes and enhancements

  • Turn off displayio warnings noting name changes since 8.x.x. #9100, #9096. Thanks @dhalbert.
  • Fix bitbangio.SPI idle polarity for polarity=1. #9075. Thanks @kbsriram.
  • Enhance collections.deque functionality. #9065. Thanks @SAK917.
  • Add keypad_demux.DemuxKeyMatrix: use multiplexer for one side of a keypad matrix. #9035. Thanks @CDarius.
  • Add integration-based debouncing to keypad. #8855. Thanks @xs5871.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

  • Do not include PICODVI-related sources if CIRCUITPY_PICODVI = 0. #9099. Thanks @bablokb.
  • Fix compile error when CIRCUITPY_USB_HOST = 0. #9091. Thanks @bablokb.
  • Update GitHub codespaces devcontainers. #9068. Thanks @bablokb.
  • Rename ports/nrf to ports/nordic to avoid overlap with MicroPython. #9062. Thanks @dhalbert.

Translation additions and improvements

  • Thanks for translations:

New boards since 9.0.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.2

28 Mar 15:20
b858170
Compare
Choose a tag to compare

This is CircuitPython 9.0.2, the latest bugfix release of CircuitPython, and is a new stable release.

The only change to 9.0.2 from 9.0.1 is a fix for a pin error for the Adafruit SHT4x Trinkey board. You do not need to upgrade from 9.0.1 unless you are using this board.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.1

26 Mar 23:25
6d1b940
Compare
Choose a tag to compare

This is CircuitPython 9.0.1, the latest bugfix release of CircuitPython, and is a new stable release.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

For notable changes to 9.0.0 since 8.x.x, see the 9.0.0 release notes.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0

Fixes and enhancements

  • Turn off displayio warnings noting name changes since 8.x.x. #9096. Thanks @dhalbert.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

  • Implement Socket.setsockopt(SOL_SOCKET, SO_REUSEADDR) for Pico W. #9084. Thanks @jepler.

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit ItsyBitsy ESP32: fix board.NEOPIXEL and board.NEOPIXEL_POWER pin assignments. #9087. Thanks @RetiredWizard.

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.0

18 Mar 22:22
84e937f
Compare
Choose a tag to compare

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

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes to 9.0.0 since 8.x.x

Incompatibility warnings

  • New storage management. See Internal below about possible new memory errors with existing programs.
  • Filesystems such as SD cards must now be mounted on an existing directory as a mount point. See Storage below.
  • Incompatible change in socket behavior: Sockets must be explictly made reusable. See Networking below.
  • displayio.*Display.show() has been removed. Use *Display.root_group = instead.
  • I2CPeripheral is now I2CTarget.

Audio

  • Add synthio.Note .loop_start and .loop_end properties.
  • Add synthio.Synthesizer.note_state.
  • Add I2S MCLK support on Espressif.
  • Allow signed amplitude in synthio.

Built-in modules

  • Add OrderedDict.move_to_end().
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add codeop.compile_command().
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.

Graphics

  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
    • displayio.Display is now busdisplay.BusDisplay.
    • displayio.FourWire is now fourwire.FourWire.
    • displayio.EPaperDisplay is now epaperdisplay.EPaperDisplay.
    • displayio.I2CDisplay is now i2cdisplaybus.I2CDisplayBus.
  • Add jpegio JPEG decoder support.
  • Add bitmapfilter image manipulation.

Internal

  • New split-heap internal dynamic storage mechanism. Some CircuitPython programs may fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.3.

Networking

  • Allow specifying protocol for raw sockets.
  • Add mDNS TXT record support.
  • Make SD cards available over web workflow.
  • Allow fetching of associated stations in access-point mode.
  • Incompatible change: Require explicit socket port reuse. Use socket.setsockopt(pool.SOL_SOCKET, pool.SO_REUSEADDR, 1), as in CPython.

Python interpreter

  • Use terser error messages on small builds.

Storage

  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Incompatible change: Require filesystem mounts to be on existing directories. Create /sd in fresh filesystems to provide a mount point.

Supervisor

  • Add repl.py, which runs just before the REPL starts up.

USB

  • Video device ("Webcam", UVC) support.
  • HID can wake up sleeping host computer.
  • Further USB host support, on i.MX and RP2040.
  • Allow setting USB HID interface name.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0-rc.1

Fixes and enhancements

  • Allow ctrl-C of adafruit_bus_device.spi_device.SPIDevice awaiting lock. #9055. Thanks @dhalbert.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.0-rc.1

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0-rc.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.0 Release Candidate 1

14 Mar 19:56
fcac731
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-rc.1, a release candidate for 9.0.0 final. This release is believed to be stable, and is meant for testing before the final release of 9.0.0.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes to 9.0.0 since 8.x.x

Incompatibility warnings

  • New storage management. See Internal below about possible new memory errors with existing programs.
  • Filesystems such as SD cards must now be mounted on an existing directory as a mount point. See Storage below.
  • Incompatible change in socket behavior: Sockets must be explictly made reusable. See Networking below.
  • displayio.*Display.show() has been removed. Use *Display.root_group = instead.
  • I2CPeripheral is now I2CTarget.

Audio

  • Add synthio.Note .loop_start and .loop_end properties.
  • Add synthio.Synthesizer.note_state.
  • Add I2S MCLK support on Espressif.
  • Allow signed amplitude in synthio.

Built-in modules

  • Add OrderedDict.move_to_end().
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add codeop.compile_command().
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.

Graphics

  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • Add jpegio JPEG decoder support.
  • Add bitmapfilter image manipulation.

Internal

  • New split-heap internal dynamic storage mechanism. Some CircuitPython programs may fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.3.

Networking

  • Allow specifying protocol for raw sockets.
  • Add mDNS TXT record support.
  • Make SD cards available over web workflow.
  • Allow fetching of associated stations in access-point mode.
  • Incompatible change: Require explicit socket port reuse. Use socket.setsockopt(pool.SOL_SOCKET, pool.SO_REUSEADDR, 1), as in CPython.

Python interpreter

  • Use terser error messages on small builds.

Storage

  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Incompatible change: Require filesystem mounts to be on existing directories. Create /sd in fresh filesystems to provide a mount point.

Supervisor

  • Add repl.py, which runs just before the REPL starts up.

USB

  • Video device ("Webcam", UVC) support.
  • HID can wake up sleeping host computer.
  • Further USB host support, on i.MX and RP2040.
  • Allow setting USB HID interface name.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0-rc.0

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

  • Don't reset USB_HOST_POWER pin on Teensy boards that have it. #9048. Thanks @dhalbert

nRF

RP2040

  • Handle multiple USB setup packets: TinyUSB fix. #9042. Thanks @hathach.
  • Don't claim PWMOut pin before validation. #9024. Thanks @dhalbert.
  • Update cyw43-driver to upstream version v1.0.3. #9022. Thanks @eightycc.

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 9.0.0-rc.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0-rc.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.0 Release Candidate 0

07 Mar 23:56
60bd748
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-rc.0, a release candidate for 9.0.0 final. This release is believed to be stable, and is meant for testing before the final release of 9.0.0.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes to 9.0.0 since 8.x.x

Incompatibility warnings

  • New storage management. See Internal below about possible new memory errors with existing programs.
  • Filesystems such as SD cards must now be mounted on an existing directory as a mount point. See Storage below.
  • Incompatible change in socket behavior: Sockets must be explictly made reusable. See Networking below.
  • displayio.*Display.show() has been removed. Use *Display.root_group = instead.
  • I2CPeripheral is now I2CTarget.

Audio

  • Add synthio.Note .loop_start and .loop_end properties.
  • Add synthio.Synthesizer.note_state.
  • Add I2S MCLK support on Espressif.
  • Allow signed amplitude in synthio.

Built-in modules

  • Add OrderedDict.move_to_end().
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add codeop.compile_command().
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.

Graphics

  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • Add jpegio JPEG decoder support.
  • Add bitmapfilter image manipulation.

Internal

  • New split-heap internal dynamic storage mechanism. Some CircuitPython programs may fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.3.

Networking

  • Allow specifying protocol for raw sockets.
  • Add mDNS TXT record support.
  • Make SD cards available over web workflow.
  • Allow fetching of associated stations in access-point mode.
  • Incompatible change: Require explicit socket port reuse. Use socket.setsockopt(pool.SOL_SOCKET, pool.SO_REUSEADDR, 1), as in CPython.

Python interpreter

  • Use terser error messages on small builds.

Storage

  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Incompatible change: Require filesystem mounts to be on existing directories. Create /sd in fresh filesystems to provide a mount point.

Supervisor

  • Add repl.py, which runs just before the REPL starts up.

USB

  • Video device ("Webcam", UVC) support.
  • HID can wake up sleeping host computer.
  • Further USB host support, on i.MX and RP2040.
  • Allow setting USB HID interface name.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0-beta.2

Fixes and enhancements

  • Update frozen libraries. #9019. Thanks @dhalbert.
  • Fix corrupted BLE ScanEntry objects. #9014. Thanks @dhalbert.
  • Setting the WatchdogTimer timeout will reset the watchdog interval. #9012. Thanks @tannewt.
  • Improve RGBMatrix reliability. #9008. Thanks @tannewt.
  • Fix ETIMEDOUT exceptions in ssl. #9006. Thanks @jepler.
  • Postpone web workflow request if SPI bus is locked. #9005. Thanks @jepler.
  • Fix USB Host HID. #8999. Thanks @hathach.
  • Allow web workflow to write to CIRCUITPY when connected to USB. #8994. Thanks @tannewt.
  • Disable warnings during REPL autocomplete. #8993. Thanks @tannewt.
  • Allow setting USB HID interface name. #8989. Thanks @MariuszCwikla.
  • Include language code in USB Host string descriptors. #8976. Thanks @tannewt.
  • Use finalizer to properly clean up PWMOut objects, including those used by other objects. #8966. Thanks @tannewt.
  • Freeze new adafruit_connection_manager library on appropriate boards. #8963. Thanks @justmobilize.
  • Fix ssl.SSLSocket.bind() error checking. #8962. Thanks @tannewt.
  • Allow fetching of associated stations in access-point mode. #8820. Thanks @romkey.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit QT Py M0 Haxpress: allow W25Q32FV flash chip. #9011. Thanks @guutz.
  • M5Stack Atom S3: fix display colors. #8998. Thanks @jins-tkomoda.
  • PewPew LCD: update board to v4.1. #8959. Thanks @deshipu.

Documentation changes

Build and infrastructure changes

  • Update tlsf library to allow allocating just-freed region. #9004. Thanks @tannewt.
  • Update tools/convert_release_notes.py to use mistune v3. #8955. Thanks @dhalbert.

Translation additions and improvements

New boards since 9.0.0-beta.2

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0-beta.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 9.0.0 Beta 2

20 Feb 02:37
cbdaaea
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-beta.2, a beta release for 9.0.0, and is a new unstable release. This release has known bugs that will be addressed before 9.0.0 final.

Note for MEMENTO Camera Board users: This release contains an important fix for MEMENTO. If you originally installed a version of CircuitPython older than 9.0.0-beta.2 on your board, your CIRCUITPY drive thinks it is larger than it really is. This can cause crashes. To fix this, back up what is on your drive, install CircuitPython 9.0.0-beta.2 or later, and then erase and reformat CIRCUITPY by running this code from the terminal or in a program

import storage
storage.erase_filesystem()

Or, use the factory reset procedure described in the MEMENTO Learn Guide. But the simple code above will work just as well.

WARNING for nRF52 boards only: If your board has an nRF52 UF2 bootloader whose version is before 0.6.1, you will not be able to load CircuitPython 8.2.0 and later, due to increased size of the firmware. See these instructions for updating your bootloader.

Notable changes to 9.0.0 since 8.x.x

Incompatibility warnings

  • New storage management. See Internal below about possible new memory errors with existing programs.
  • Filesystems such as SD cards must now be mounted on an existing directory as a mount point. See Storage below.
  • Incompatible change in socket behavior: Sockets must be explictly made reusable. See Networking below.

Audio

  • Add synthio.Note .loop_start and .loop_end properties.
  • Add synthio.Synthesizer.note_state.
  • Add I2S MCLK support on Espressif.
  • Allow signed amplitude in synthio.

Built-in modules

  • Add OrderedDict.move_to_end().
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add codeop.compile_command().
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.

Graphics

  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • Add jpegio JPEG decoder support.
  • Add bitmapfilter image manipulation.

Internal

  • New split-heap internal dynamic storage mechanism. Some CircuitPython programs may fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.2.

Networking

  • Allow specifying protocol for raw sockets.
  • Add mDNS TXT record support.
  • Make SD cards available over web workflow.
  • Incompatible change: Require explicit socket port reuse. Use socket.setsockopt(pool.SOL_SOCKET, pool.SO_REUSEADDR, 1), as in CPython.

Python interpreter

  • Use terser error messages on small builds.

Storage

  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Incompatible change: Require filesystem mounts to be on existing directories. Create /sd in fresh filesystems to provide a mount point.

Supervisor

  • Add repl.py, which runs just before the REPL starts up.

USB

  • Video device ("Webcam", UVC) support.
  • HID can wake up sleeping host computer.
  • Further USB host support, on i.MX and RP2040.

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 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-C3
  • nrf: Nordic nRF52840, nRF52833
  • raspberrypi: Raspberry Pi RP2040
  • stm: ST STM32F4 chip family

These ports are considered alpha and will have bugs and missing functionality:

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.0.0-beta.1

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit MEMENTO: Fix CIRCUITPY size. Requires storage.erase_filesystem(). #8952. Thanks @dhalbert @jepler.
  • Cytron Maker Uno RP2040: Change name; remove RGB status LED. #8950. Thanks @noqman.

Documentation changes

Build and infrastructure changes

  • Add tests for bit_length(). Thanks @kbsriram.

Translation additions and improvements

  • Thanks for translations:

New boards since 9.0.0-beta.1

Known issues

Thanks

Thank you to all who used, tested, and contributed since 9.0.0-beta.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.