Skip to content

Releases: adafruit/circuitpython

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.

CircuitPython 9.0.0 Beta 1

17 Feb 18:22
6c1e34e
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-beta.1, 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: CircuitPython 9.0.0-alpha.4 and later use a new internal dynamic storage mechanism ("split heap"), which is being tuned. You may find that some CircuitPython programs fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.

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

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.
  • 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.
  • API 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.
  • 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.0

Fixes and enhancements

  • Require explicit socket port reuse (SO_REUSEADDR). #8940. Thanks @tannewt.
  • Update frozen submodules. #8938. Thanks @dhalbert.
  • Update root certificates to include ssl.com RSA root. #8935. Thanks @dhalbert.
  • Prevent out-of-range USB MSC reads. Fixes problem with Samsung Disk Magician. #8933. Thanks @drath42 and @jepler.
  • Set socket type on accepted socket. #8932. Thanks @jepler.
  • Increase CDC RX buffer size to allow better ctrl-C handling. #8929. Thanks @tannewt.
  • Fix crash when appending to read-only displayio.Group, such as CIRCUITPYTHON_TERMINAL. #8923. Thanks @jepler.
  • Fix JpegDecoder arguments. #8905. Thanks @FoamyGuy.
  • Restore <module>.file attribute. #8881. Thanks @jepler.
  • Allow RGBMatrix framebuffer size to be more than 65535 bytes. #8864, #8847. Thanks @jepler.
  • Allow zero-size blit in bitmaptools. #8880. Thanks @FoamyGuy.
  • Allow creating a mount point on an existing directory, in preparation 9.0.0 for capability. #8864, #8863. Thanks @jepler.
  • Create /sd/placeholder.txt to document and provide a mount point for SD cards. #8860. Thanks @jepler.
  • Add bitmapfilter.blend(). #8859. Thanks @jepler.
  • Fix .keys() for dict subclasses. #8851. Thanks @dhalbert.
  • USB video device (UVC) support. #8831. Thanks @jepler.
  • Correct sys.version to say "CircuitPython. #8808. Thanks @bill88t.
  • USB host keyboard: add function keys and other keys. #8807. Thanks @iyalosovetsky.

Port and board-specific changes

Broadcom

Espressif

  • Fix and speed up TLS access to sites using elliptic-curve certificates. #8924. Thanks @dhalbert.
  • Turn off _bleio on 4MB ESP32-S3 boards and refactor _bleio setting for other boards. #82924. Thanks @dhalbert.
  • Reduce NeoPixel animation glitching. #8920. Thanks @tannewt.
  • Fix socket failures by disabling variable length SSL buffers. #8913. Thanks @tannewt.
  • Use new ESP-IDF PCNT, RMT, and timer group drivers. #8909. Thanks @tannewt.
  • Correct flash and PSRAM speeds. #8870. Thanks @tannewt.
  • Disable non-working i2ctarget. #8869. Thanks @tannewt.
  • Allocate SPIRAM only via caps_alloc(). #8868. Thanks @tannewt.
  • Re-enable ParallelDisplayBus. #8862. Thanks @tannewt.

i.MX

nRF

RP2040

  • Swap PIO allocation for USB host for better operation on Pico W. #8922. Thanks @jepler.
  • Update CYW43 driver to Adafruit fork. #8861. Thanks @eightycc.

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

  • Update to pre-commit/action@v3.0.1 to get Node.js 20 support. #8936. Thanks @dhalbert.
  • Report errors as failures in build-board-info.py. #8934. Thanks @jepler.
  • Include branch and PR number in PR merge firmware filenames. #8930. Thanks @dhalbert.
  • Refactor mbedtls use to shared-module/. #8926. Thanks @jepler.
  • Fix problems found while developing ports/posix. #8900. Thanks @jepler.
  • Fix tools/test-stubs.sh. #8898. Thanks @justmobilize.
  • Fix circuitpython_setboard OS path separator. #8894. Thanks @justmobilize.
  • Document how to use MP_REGISTER_MODULE. #8849. Thanks @jepler.

Translation additions and improvements

New boards since 9.0.0-beta.0

Known issues

Thanks

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

CircuitPython 8.2.10

14 Feb 17:51
722f75f
Compare
Choose a tag to compare

This is CircuitPython 8.2.10, the latest bugfix 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. The 8.2.0 firmware is larger than what the bootloader can handle. See these instructions for updating your bootloader.

Notable changes to 8.2.10 since 8.2.9

  • Fix EPaperDisplay garbage collection.
  • Add proto argument to SocketPool.socket constructor to allow specifying protocol.
  • Allow RGBMatrix framebuffer size to be more than 65535 bytes.
  • Allow creating a mount point on an existing directory.
  • Individual board fixes.

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 8.2.9

Fixes and enhancements

  • Allow creating a mount point on an existing directory, in preparation for 9.0.0 capability. #8863. Thanks @jepler.
  • Allow RGBMatrix framebuffer size to be more than 65535 bytes. #8847. Thanks @jepler.
  • Fix EPaperDisplay refresh sequence garbage collection. #8843, #8839. Thanks @tannewt.
  • Add proto argument to SocketPool.socket constructor to allow specifying protocol. #8752. Thanks @carson-coder.
  • Detect and reject RLE-compress BMP files in OnDiskBitmap. #8735. 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 or removed boards since 8.2.9

Known issues

  • ESP32-S3 has significant issues with I2C devices that sleep or use clock stretching. Retry operations on these devices as necessary, or use ESP32-S2 boards. This problem is fixed in current 9.0.0 builds
  • Espressif boards have ESP-IDF storage leaks and occasionally crash after extended WiFi use.
  • See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:

Thanks

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

CircuitPython 9.0.0 Beta 0

27 Jan 15:29
b704452
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-beta.0, 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: CircuitPython 9.0.0-alpha.4 and later use a new internal dynamic storage mechanism ("split heap"), which is being tuned. You may find that some CircuitPython programs fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.

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

  • New split-heap internal dynamic storage mechanism.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.2.
  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Further USB host support, on i.MX and RP2040.
  • Make SD cards available over web workflow. storage.mount() now requires that a directory exists at the mount path. It may need to be created over USB.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.
  • Add jpegio JPEG decoder support.
  • Add bitmapfilter image manipulation.
  • Add repl.py, which runs just before the REPL starts up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add I2S MCLK support on Espressif.
  • Add mDNS TXT record support.
  • Add synthio.Note .loop_start and .loop_end properties.
  • Allow signed amplitude in synthio.
  • HID can wake up sleeping host computer.
  • Allow specifying protocol for raw sockets.
  • Add codeop.compile_command().

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-alpha.6

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

  • Allocate heap objects from SPIRAM first, before using internal RAM. #8835. Thanks @tannewt.

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit ESP32-S3 Camera MEMENTO: Add pins. #8731. Thanks @BlitzCityDIY.
  • Adafruit MatrixPortal S3: Fix A0 pin. #8805. Thanks @tannewt.
  • FireBeetle ESP32-S3: Fix I2C and pins. #8838, #8782. Thanks @bill88t.
  • Flipper WiFi: Fix PID. #8744. Thanks @maewolfsky.
  • LILYGO TTGO TI S2 ST7789: Fix screen rotation. #8773. Thanks @RetiredWizard.
  • LILYGO TTGO T-Display ESP32 16MB flash: Pin and display fixes. #8787. Thanks @kreier.
  • LILYGO TTGO T-Display RP2040: Pin and display fixes. #8772. Thanks @kreier.
  • M5Stack M5Paper: Remove board.DISPLAY as display initialization code is not yet written. #8841. Thanks @tannewt.
  • M5Stack Timer Camera: Incrase PSRAM speed. #8724. Thanks @bill88t.

Documentation changes

Build and infrastructure changes

  • Update CI actions to versions that use Node.js 20. #8833. Thanks @dhalbert.
  • Ensure ulab submodule is present when doing translation checks. #8768. Thanks @jepler.
  • Share the implementation of hashlib across ports. #8749. Thanks @jepler.

Translation additions and improvements

New boards since 9.0.0-alpha.6

Known issues

Thanks

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

CircuitPython 9.0.0 Alpha 6

12 Dec 20:00
f5a03a8
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-alpha.6, an alpha release for 9.0.0. It has significant known bugs, and will have further additions and fixes before the final release of 9.0.0.

NOTE: CircuitPython 9.0.0-alpha.4 and later use a new internal dynamic storage mechanism ("split heap"), which is being tuned. You may find that some CircuitPython programs fail with MemoryError. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.

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

  • New split-heap internal dynamic storage mechanism.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.2.
  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Further USB host support, on i.MX and RP2040.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.
  • Add jpegio JPEG decoder support.
  • Add repl.py, which runs just before the REPL starts up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add I2S MCLK support on Espressif.
  • Add mDNS TXT record support.
  • Add synthio.Note .loop_start and .loop_end properties.
  • Allow signed amplitude in synthio.

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-alpha.5

Fixes and enhancements

  • Update frozen libraries. #8717. Thanks @dhalbert.
  • Remove same-line comments in mpconfigboard.mk that interfered with settings checks. #8702, #8669. Thanks @dhalbert.
  • dotclockframebuffer: round up internal size to multiple of 16 pixels. #8698. Thanks @jepler.
  • Add jpegio JPEG decoder support. #8696. Thanks @jepler.
  • Enable builts.compile() for all boards. #8687. Thanks @bill88t.
  • Process input during websocket operation. #8668. Thanks @tannewt.
  • Improve web workflow error handling. #8667. Thanks @tannewt.
  • Allow signed amplitude in synthio. #8642. Thanks @jepler.
  • Add synthio.Note .loop_start and .loop_end properties. #8629. Thanks @dcooperdalrymple.
  • Fix signature for SSLContext.load_verify_locations. #8624. Thanks @dhalbert.
  • Add W25Q16JVxQ as alternative flash chip for a number of boards. #8622, #8621. Thanks @dhalbert.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

  • Document that time monotonic values are only guaranteed to be monotonic per VM instantiation. #8685. Thanks @jepler.

Build and infrastructure changes

  • Document decompress_vstr() assumption. #8666. Thanks @jepler.
  • Unset D_FORTIFY_SOURCE globally. #8663. Thanks @jepler.
  • Share UTF-8 conversion code to save flash. #8655. Thanks @jepler.
  • Add branch and PR number to uploaded build filenames (needs more work). #8648. Thanks @dhalbert.
  • Fix build error when frozen modules are updated. #8633. Thanks @jepler.
  • Fix git version for unified submodule cloning. #8620. Thanks @dhalbert.

Translation additions and improvements

New or removed boards since 9.0.0-alpha.5

Known issues

Thanks

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

CircuitPython 8.2.9

06 Dec 17:57
c5c7d11
Compare
Choose a tag to compare

This is CircuitPython 8.2.9, the latest bugfix 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. The 8.2.0 firmware is larger than what the bootloader can handle. See these instructions for updating your bootloader.

Notable changes to 8.2.9 since 8.2.8

  • PIO DMA fix for RP2040.
  • New and removed boards.
  • Individual board fixes.

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 8.2.8

Fixes and enhancements

  • Remove same-line comments in mpconfigboard.mk that interfered with settings checks. #8669. Thanks @dhalbert.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

  • Use DMA for PIO when transfer size exceeds FIFO size. #8700. Thanks @dhalbert.

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit HalloWing M0: Add support for 2MB flash chip shipped by mistake on a few boards. #8669, #8646. Thanks @dhalbert and @jepler.
  • Arduino Nano ESP32-S3: Correct USB PID. #8634. Thanks @dhalbert.

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New or removed boards since 8.2.8

Known issues

  • ESP32-S3 has significant issues with I2C devices that sleep or use clock stretching. Retry operations on these devices as necessary, or use ESP32-S2 boards.
  • Espressif boards have ESP-IDF storage leaks and occasionally crash after extended WiFi use.
  • See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:

Thanks

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

CircuitPython 8.2.8

16 Nov 16:16
f98ec19
Compare
Choose a tag to compare

This is CircuitPython 8.2.8, the latest bugfix 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. The 8.2.0 firmware is larger than what the bootloader can handle. See these instructions for updating your bootloader.

Notable changes to 8.2.8 since 8.2.7

  • Add alternative flash chips for many boards. Fixes issue with new-production Adafruit Metro M4 AirLift boards.
  • Add wifi.stop_ap() for Pico W.
  • Fix ESP32 AnalogIn on pin IO32.
  • Fix race condition in RP2040 PulseIn.
  • New boards.

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 8.2.7

Fixes and enhancements

  • Add W25Q16JVxQ as alternative flash chip for a number of boards. #8621. Thanks @dhalbert.
  • Fix off-by-one multiple-block flash reads when read starts at MBR. #8565. Thanks @eightycc.

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 8.2.7

Known issues

  • ESP32-S3 has significant issues with I2C devices that sleep or use clock stretching. Retry operations on these devices as necessary, or use ESP32-S2 boards.
  • Espressif boards have ESP-IDF storage leaks and occasionally crash after extended WiFi use.
  • See https://github.com/adafruit/circuitpython/issues for other issues, including issues still to be addressed for:

Thanks

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

CircuitPython 9.0.0 Alpha 5

15 Nov 19:04
4d93849
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-alpha.5, an alpha release for 9.0.0. It has significant known bugs, and will have further additions and fixes before the final release of 9.0.0.

NOTE: CircuitPython 9.0.0-alpha.4 and later use a new internal dynamic storage mechanism ("split heap"), which is being tuned. You may find that some CircuitPython programs fail with MemoryError. 9.0.0-alpha.5 includes fixes which make this less likely. If you encounter programs that work in 8.x.x but get MemoryError exceptions, consider filing an issue with details.

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

  • New split-heap internal dynamic storage mechanism.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.
  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Further USB host support, on i.MX and RP2040.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.
  • Add repl.py, which runs just before the REPL starts up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Add warnings module, similar to what is in CPython.
  • Add locale.getlocale().
  • Add I2S MCLK support on Espressif.
  • Add mDNS TXT record support.

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-alpha.4

Fixes and enhancements

  • _asyncio: Fix ticks to match adafruit_ticks. #8609. Thanks @jepler.
  • Add locale.getlocale(). #8608. Thanks @jepler.
  • Fix split-heap pystack allocation. #8598. Thanks @tannewt.
  • Remove remaining obsolete code and documentation about reserved PSRAM and supervisor allocations. #8596. Thanks @jepler.

Port and board-specific changes

Broadcom

Espressif

  • Fix split heap storage allocation to include PSRAM. #8605. Thanks @tannewt.
  • Fix WiFI on ESP32-C6. Thanks @bill88t.

i.MX

nRF

RP2040

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit QT Py ESP32-S3 4MB Flash 2MB PSRAM: Fix build. #8611. Thanks @dhalbert.

Documentation changes

Build and infrastructure changes

  • Merge fetch-submodules.sh into ci_fetch_deps.py and use the latter in makefiles. #8589. Thanks @jepler.

Translation additions and improvements

New boards since 9.0.0-alpha.4

Known issues

Thanks

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

CircuitPython 9.0.0 Alpha 4

12 Nov 16:48
166a98f
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-alpha.4, an alpha release for 9.0.0. It has significant known bugs, and will have further additions and fixes before the final release of 9.0.0.

(9.0.0-alpha.3 was discarded due to a build problem, fixed by #8587.)

NOTE: Starting with 9.0.0-alpha.4, CircuitPython uses a new internal dynamic storage mechanism ("split heap"), which will need to be tuned. You may find that some CircuitPython programs fail with MemoryError or RuntimeError: PYSTACK exhausted exceptions. Adjusting the settings.toml value CIRCUITPY_HEAP_START_SIZE may help. Please file issues with examples of programs that no longer load, and whether you were able to fix the problem by adjusting CIRCUITPY_HEAP_START_SIZE.

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

  • New split-heap internal dynamic storage mechanism.
  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.
  • Reorganize and split displayio. 8.x.x naming structure is available in 9.x.x, but will be removed in 10.0.0.
  • CIRCUITPY drives now mount on Android.
  • Increased file capacity on CIRCUITPY drives <= 128kB.
  • Further USB host support, on i.MX and RP2040.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral renamed to I2CTarget.
  • Add repl.py, which runs just before the REPL starts up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Add warnings module, similar to what is in CPython.
  • Add I2S MCLK support on Espressif.
  • Add mDNS TXT record support.

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-alpha.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.0-alpha.2

Known issues

Thanks

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

CircuitPython 9.0.0 Alpha 2

27 Oct 02:05
4ecc51e
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 9.0.0-alpha.2, an alpha release for 9.0.0. It has significant known bugs, and will have further additions and fixes 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

  • Merge updates from MicroPython v1.19.1, v1.20.0, and v1.21.0.
  • Espressif: update to ESP-IDF v5.1.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral: now I2CTarget.
  • Add repl.py, which runs just before the REPL starts up.
  • Add OrderedDict.move_to_end().
  • Add synthio.Synthesizer.note_state.
  • Further USB host support, on i.MX and RP2040.
  • Reorganize and split displayio.
  • Add warnings module, similar to what is in CPython.

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 8.2.x split from main

Note: The tags 9.0.0-alpha.0 and 9.0.0-alpha.1 exist, but there are no releases for those tags because their .mpy file formats differ from 9.0.0-alpha.2 and later. 9.0.0-alpha.0 tags the first commit after 8.2.x was branched from main.

Fixes and enhancements

  • Add warnings module and warn about displayio deprecations. #8524. Thanks @tannewt.
  • Merge MicroPython v1.21.0. #8523, #8508. Thanks @dhalbert and @tannewt.
  • Merge MicroPython v1.20.0. #8481. Thanks @dhalbert and @tannewt.
  • Merge MicroPython v1.19.1. #8310, #8281. Thanks @dhalbert and @jepler.
  • Fix subscript operator on subclasses of native classes. #8522. Thanks @tannewt.
  • Raise explanatory error when some_display.show() is used. #8517. Thanks @tannewt.
  • Support for GRB status LEDs. #8497. Thanks @Axeia.
  • Merge fixes from 8.2.x. #8494, #8395, #8342, #8317. Thanks @tannewt, @dhalbert, @jepler.
  • Split off parts of displayio into multiple modules: busdisplay, fourwire, epaperdisplay, i2cdisplaybus, paralleldisplaybus. The existing displayio hierarchy will still be available 9.x.x, but is deprecated, and will be removed in 10.0.0. #8493. Thanks @tannewt.
  • Add qrio.QRDecoder.fin() to locate QR codes without decoding. #8467. Thanks @deshipu.
  • Remove 8.x.x deprecations: displayio.*.show(), I2CPeripheral: now I2CTarget. #8456. Thanks @tannewt.
  • Add dotclock display support. #8440, #8430, #8401, #8351. Thanks @jepler.
  • Do not start web workflow if no password is given. #8367. Thanks @bill88t.
  • Do not add dotfiles to CIRCUITPY on boards without native USB. #8346. Thanks @bill88t.
  • Add repl.py, which runs just before the REPL starts up. #8344. Thanks @jepler.
  • Add .Trash-1000 file so Linux will not store trash files on CIRCUITPY. #8339. Thanks @bill88t.
  • Fix zlib gzip decompression. #8335. Thanks @BJap.
  • Fix FATFS support for non-512-byte block sizes. #8304. Thanks @ccattuto.
  • Fix displayio display layout when logo is disabled. #8300. Thanks @deshipu.
  • Reset current directory before running code.py and other files. #8295. Thanks @deshipu.
  • Update TinyUSb to improve abort handling. #8292. Thanks @tannewt.
  • Improve bitmaptools alphablend features. #8270. Thanks @makermelissa.
  • Add OrderedDict.move_to_end(). #8258. Thanks @jepler and @elpekenin.
  • Update ulab. #8256, #8126. Thanks @jepler.
  • Cache USB configuration descriptor. #8254. Thanks @tannewt.
  • Raise exception when creating a USB device when host isn't initalized. #8242. Thanks @tannewt.
  • Improve displayio error reporting about too many busses. #8231, #8229. Thanks @elpekenin.
  • Align FATFS window buffer for TinyUSB. #8222. Thanks @tannewt.
  • Update frozen modules. #8211. Thanks @FoamyGuy.
  • Fix ssl_context.load_verify_locations(cadata=None). #8192. Thanks @gaweng.
  • Add displayio.Bitmap.bits_per_value. #8191. Thanks @gaweng.
  • Add synthio.Synthesizer.note_state. #8186. Thanks @jepler.
  • Make usb_host.Port be a singleton. #8182. Thanks @tannewt.
  • Fix OrderedDict.fromkeys() to return correct type. #8175. Thanks @kbsriram.
  • Raise exception if os.getenv() is used when settings.toml is not supported. #8169. Thanks @jepler.
  • USB host keyboard map control and other improvements. #8161. Thanks @jepler.
  • More USB host support and keyboard workflow. #8155. Thanks @tannewt.
  • Suppoort multiple data pins with shared clock and latch in keypad.ShiftRegisterKeys. #8143. Thanks @kolkmvd.
  • Add bitmap.blit() skip_self_index parameter. #8136. Thanks @FoamyGuy.
  • Reimplement and improve watchdog. #7718. Thanks @microdev1.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

  • Make it possible to enable async/await on SAMD21. #8338. Thanks @deshipu.
  • Handle RUNMODE_UF2. #8264. Thanks @bcr.
  • Support external clock sources on SAMx5x. #8183. Thanks @Qyriad.

SiLabs

  • Fix watchdog code crash. Add status LEDs. Add flash Makefile target. Reduce build verbosity. #8484. Thanks @tannewt.
  • Change system clock from 39 MHz to 78 MHz. #8458. Thanks @silabs-BelaV.

Spresense

STM

Individual boards

Documentation changes

  • Do not build the support matrix PDF: ReadTheDocs only wants one PDF. #8527. Thanks @tannewt.
  • Fix typo in test README. #8526. Thanks @daanzu.
  • Split support matrix out of PDF doc. #8493. Thanks @tannewt.
  • Improve rotaryio documentation. #8453. Thanks @heygauri.
  • Improve canio documentation. #8298. Thanks @jepler.
  • Fix synthio documentation. #8260. Thanks @jepler.
  • Fix bitmaptools.blit documentation. #8252. Thanks @jepler.
  • Redirect index.html to README.html. #8247. Thanks @jepler.
  • Add circuitpython_typing to intersphinx configuration. Resolve TypeAliased references. Thanks @kbsriram.
  • Note that `wifi.radio.ipv4_address...
Read more