Skip to content

Releases: adafruit/circuitpython

CircuitPython 8.1.0 Release Candidate 0

16 May 23:15
f2bfced
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 8.1.0-rc.0, a release candidate for 8.1.0. We believe it is stable, and are making a release candidate for further testing before final release.

Notable changes to 8.1.0 since 8.0.0

  • Silicon Labs (SiLabs) MG24 microcontroller family port (silabs), contributed by Silicon Labs.
  • Add animated GIF support, including palette support: gifio.OnDiskGif.
  • Add safemode.py, for programmatic handling of safe mode.
  • Add ESP-NOW support on Espressif.
  • synthio improvements and new features; API is still experimental and may change after 8.1.0.
  • Add picodvi on RP2040: DVI/HDMI framebuffer and displayio support.
  • CPU frequency is settable on RP2040.
  • Add 7-color e-ink display support.
  • Add bitmaptools.drawpolygon().
  • Allow setting pystack size in settings.toml.
  • Allow static IPv4 addresses for access points.
  • Add dither support to Palette.
  • Support array.extend(iterable).

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.1.0-beta.2

Fixes and enhancements

  • Fix display object management. #2204. Thanks @furbrain.
  • Allow no chip select pin in native adafruit_bus_device.spi_device. #7970. Thanks @dhalbert.
  • Continued synthio improvements and fixes. #7969, #7959, #7933, #7862. Thanks @jepler.
  • Prevent WiFi workflow background activity if WiFi not connected. #7960. Thanks @thess.
  • Improve vectorio.Polygon argument validation. #7947. Thanks @FoamyGuy.
  • Support little-endian e-paper displays; fix display memory management. #7891. Thanks @tannewt.

Port and board-specific changes

Broadcom

Espressif

i.MX

  • Fix pin pad handling. #7964. Thanks @tannewt.
  • Fix regressions, startup and MIDI problems. #7953. Thanks @jepler.
  • Update TinyUSB, fix unimplemented Processor routines, script for peripheral generation. #7921. Thanks @tannewt.

nRF

RP2040

  • Wait for wifi.radio.stop_station() to complete. #7982. Thanks @bill88t.
  • Allow static IPv4 for access point. #7976. Thanks @anecdata.
  • picodvi now takes framebuffer resolution instead of output resolution. #7922. Thanks @tannewt.
  • Allow setting cpu.frequency. #7430. Thanks @Lanzaa.

SAMx

SiLabs

Spresense

STM

  • Preserve monotonicity of time routines after RTC date/time change. #7965. Thanks @dhalbert.

Individual boards

  • Adafruit Feather RP2040: add board.BUTTON/board.BOOT for GPIO4, for rev D and later boards. #7988. Thanks @Neradoc.
  • Adafruit Feather RP2040 ThinkInk: rename board, add board.BUTTON. #7927. Thanks @BlitzCityDIY.
  • Sprig Hack Club: add board.DISPLAY. #7958. Thanks @ajs256.

Documentation changes

  • Document settings.toml CIRCUITPY_PYSTACK_SIZE. #7951. Thanks @Neradoc.
  • Add __contains__() stub to displayio.Group. #7949. Thanks @FoamyGuy.

Build and infrastructure changes

Translation additions and improvements

New boards since 8.1.0-beta.2

Known issues

  • ESP32-S3 has issues with I2C devices that sleep (LC709203F), use clock stretching, or violate the I2C protocol (e.g., BNO055). Retry operations on these devices as necessary, or use ESP32-S2 boards.
  • ESP32-S2 used as an HTTP server may crash after several hours. This is a regression from 7.x.x.
  • 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.1.0-beta.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.1.0 Beta 2

26 Apr 22:49
8e00f77
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 8.1.0-beta.2, a beta release for CircuitPython 8.1.0, and is a new unstable release.

Notable changes to 8.1.0 since 8.0.0

  • Silicon Labs (SiLabs) MG24 microcontroller family port (silabs), contributed by Silicon Labs.
  • Add animated GIF support, including palette support: gifio.OnDiskGif.
  • Add safemode.py, for programmatic handling of safe mode.
  • Add ESP-NOW support on Espressif.
  • synthio improvements and new features. API may change before 8.1.0 final.
  • Add picodvi on RP2040: DVI/HDMI framebuffer and displayio support.
  • Add 7-color e-ink display support.
  • Add bitmaptools.drawpolygon().
  • Allow setting pystack size in settings.toml.
  • Add dither support to Palette.
  • Support array.extend(iterable).

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.1.0-beta.1

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

RP2040

  • Fix picodvi.Framebuffer documentation. #7900. Thanks @dglaude.
  • Fix idle state handling. #7893. Thanks @tannewt.
  • Add picodvi support on RP2040: DVI/HDMI framebuffer and displayio support. #7880. Thanks @tannewt.

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

Build and infrastructure changes

  • Update and refactor shallow git tag use. #7909. Thanks @mjsir911.
  • Do sudo apt-get update before sudo apt-get install when installing prerequisites. #7872. Thanks @dhalbert.
  • Fix gcc13 warnings. #7855. Thanks @flom84.
  • Improve aesio tests. #7838. Thanks @jepler.
  • Sort boards and new languages in circuitpyton.org update PR. #7819. Thanks @jepler.

Translation additions and improvements

New boards since 8.1.0-beta.1

Known issues

  • ESP32-S3 has issues with I2C devices that sleep (LC709203F), use clock stretching, or violate the I2C protocol (e.g., BNO055). 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.1.0-beta.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.1.0 Beta 1

30 Mar 20:30
b07de07
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 8.1.0-beta.1, a beta release for CircuitPython 8.1.0, and is a new unstable release.

Notable changes to 8.1.0 since 8.0.0

  • Add animated GIF support: gifio.OnDiskGif.
  • Add safemode.py, for programmatic handling of safe mode.
  • Add 7-color e-ink display support.
  • Allow setting pystack size in settings.toml.
  • Add dither support to Palette.
  • Support array.extend(iterable).
  • Add bitmaptools.drawpolygon().
  • Add ESP-NOW support on Espressif.

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
  • stm: ST non-STM32F4 chip families

Changes since 8.1.0-beta.0

Fixes and enhancements

  • Check for read-only display.Bitmap as needed. #7775. Thanks @tannewt.

Port and board-specific changes

Broadcom

Espressif

i.MX

RP2040

  • Don't set tcp_err callback for listen sockets. #7813. Thanks @gneverov.
  • Fix socket exception raising. #7779. Thanks @jepler.
  • Validate rp2pio.StateMachine.run() program length. #7731. Thanks @kreasteve.
  • Update pico-sdk to 1.50; update cyw43-driver to 0.9.0. #7697. Thanks @dhalbert.

SAMx

  • Turn off mkfs() for >4GB on all SAMD21 boards to save space and document. #7739. Thanks @dhalbert.
  • Run background tasks between chunks of multi-chunk DMA. #7701. Thanks @dhalbert.
  • Allow SPI writes >64kB. #7673. Thanks @gamblor21.

Spresense

STM

  • Allow specifying crystal drive strength on STM32L4. #7663. Thanks @blues.

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 8.1.0-beta.0

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.1.0-beta.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.5

31 Mar 00:33
6a4830b
Compare
Choose a tag to compare

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

Notable changes to 8.0.5 since 7.3.0

See the CircuitPython 8.0.0 release notes for full information about changes in 8.0.x since 7.3.0.

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.4

Fixes and enhancements

  • Prevent startup loop when settings.toml is edited. #7810. Thanks @jepler.

Build and infrastructure changes

  • Make build_board_info.py fetch files.json properly when it is larger than 1MB. #7728. Thanks @Neradoc and @dhalbert.

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.0.4, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.4

15 Mar 01:17
58901e5
Compare
Choose a tag to compare

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

Notable changes to 8.0.4 since 7.3.0

See the CircuitPython 8.0.0 release notes for full information about changes in 8.0.x since 7.3.0.

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.3

Fixes and enhancements

Port and board-specific changes

Espressif

  • Prevent recursive calls during websocket background processing. #7699, #7694. Thanks @DavePutz.
  • Set socket to non-blocking more carefully. #7679. Thanks @dhalbert.

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.0.3, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.1.0 Beta 0

01 Mar 00:04
cb6201d
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 8.1.0-beta.0, a beta release for CircuitPython 8.1.0, and is a new unstable release.

Notable changes to 8.1.0 since 8.0.0

  • Add animated GIF support: gifio.OnDiskGif.
  • Add safemode.py, for programmatic handling of safe mode.
  • Add 7-color e-ink display support.
  • Allow setting pystack size in settings.toml.
  • Add dither support to Palette.
  • Support array.extend(iterable).

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
  • stm: ST non-STM32F4 chip families

Changes since 8.0.0

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

RP2040

SAMx

  • Fix pad assignments for busio.UART and improve pin validation. #7639, #7616. Thanks @dhalbert.

Spresense

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 8.0.0

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.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.3

23 Feb 18:36
460dda0
Compare
Choose a tag to compare

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

Notable changes to 8.0.3 since 7.3.0

See the CircuitPython 8.0.0 release notes for full information about changes in 8.0.x since 7.3.0.

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.2

Fixes and enhancements

  • Fix missing internal initialization of display.ColorConverter objects. #7611. Thanks @gamblor21.

Port and board-specific changes

RP2040

SAMx

  • Fix pad assignments for busio.UART and improve pin validation. #7616. Thanks @dhalbert.

Documentation changes

  • Fix duplicate ulab entry in help("modules"). #7601. Thanks @jepler.

Build and infrastructure changes

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.0.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.2

14 Feb 18:38
1af2b6a
Compare
Choose a tag to compare

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

[8.0.1 was tagged on the wrong branch and was discarded]

Notable changes to 8.0.2 since 7.3.0

See the CircuitPython 8.0.0 release notes for full information about changes in 8.0.x since 7.3.0.

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.0

Fixes and enhancements

  • Deinit the reset pin when displayio.I2CDisplay() fails. #7563. Thanks @Neradoc.
  • Fix incorrect exception chaining. #7566. Thanks @jepler.

Port and board-specific changes

RP2040

  • Use lowest drive level for PIO (fixes Adafruit Scorpio USB resets). #7558. Thanks @jepler.

Spresense

Build and infrastructure changes

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.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.0

06 Feb 20:31
5f43a63
Compare
Choose a tag to compare

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

Note
Since 8.0.0-beta.6, the file for specifying startup values for WiFi, etc., is now called settings.toml instead of .env, and uses slightly different syntax. Use double quotes instead of single quotes. Further documentation is here.

Warning
The flash partitioning for 2MB and 4MB flash ESP32 and ESP32-C3 boards has changed since 8.0.0-beta.2.
When you load 8.0.0-beta.3 or later over beta.2 (or vice versa), on these boards, CIRCUITPY will be erased and reformatted.

Warning
The flash partitioning for the Raspberry Pi Pico W has changed since 8.0.0-beta.1.
When you load 8.0.0-beta.2 or later over beta.1 (or vice versa), on the Pico W, CIRCUITPY will be erased and reformatted.

Notable changes to 8.0.0 since 7.3.0

Functionality additions

  • Add WiFi workflow with browser-based device discovery, filesystem browsing, upload, download, file editing, serial/REPL connection (available on Espressif and Pi Pico W).
  • Add a one-line status bar, which displays connection status, last exception, and version on a terminal window title or on the top line of an attached display. Mu 1.2.0 and Thonny 4.0.x and later are able to suppress status bar information in the REPL output.
  • A settings.toml file in CIRCUITPY provides environment variable values. Some value names are read by CircuitPython to specify WiFi connection parameters, BLE name, and other startup values. But you can also use settings.toml to specify your own parameters for your programs. Values from settings.toml can be retrieved using os.getenv(). More details here.
  • WiFi functionality implemented on the Raspberry Pi Pico W.
  • Revised Espressif camera support, now available on ESP32, ESP32-S2, and ESP32-S3.
  • Bulk analog input: analogbufio (available only on RP2040 for now).
  • Pin state can be preserved during deep sleep (available only on Espressif for now).
  • Allow setting USB VID, PID, manufacturer, and product ids at runtime.
  • Enable collections.deque on most builds.
  • AnalogIn values are full range from 0 to 65535, instead of having zeros on low-order bits.
  • In-place firmware update (dualbank) capability may be disabled at runtime in favor of a larger CIRCUITPY drive. This is the default.
  • Add TileGrid.contains().
  • Add os.utime().
  • Add espulp module, for running programs on the ULP co-processor in Espressif chips.
  • Add memorymap module for general though limited access to various memory regions.
  • A serial "break" on the USB or UART REPL serial connection will cause a KeyboardInterrupt, like ctrl-C. The advantage over ctrl-C is that the break interrupts even if the input buffer is full.
  • Add hidden property to vectorio shapes.
  • Add native _pixelmap.PixelMap support, for speed.
  • Chained exceptions are now implemented.
  • Add VfsFat.readonly property.
  • Add memorymap to allow access to raw memory locations (currently only on Espressif). #7359. Thanks @tannewt.

Compatibility changes

  • PulseOut no longer accepts a PWMOut. Use a Pin instead.
  • Auto-brightness support in displayio and framebufferio has been removed. It was never implemented completely.
  • OneWire is only in onewireio, and is no longer in busio or bitbangio.
  • gamepadshift has been removed: use keypad.ShiftRegisterKeys instead.
  • MP3Decoder and WaveFile can now take a filename instead of an open file.
  • Print out whole-number floats exactly and correctly.
  • Restored rainbowio and onewireio to a number of boards. Some boards still have rainbowio turned off for space reasons.
  • i2ctarget.I2CTarget is the new name for i2cperipheral.I2CPeripheral. Accept both for now. I2CPeripheral is deprecated and will be removed in 9.0.0.
  • Allow display.root_group to be set, instead of using display.show(). display.show() is deprecated and will be removed in 9.0.0.
  • The property supervisor.runtime.autoreload replaces supervisor.disable_autoreload() and supervisor.enable_autoreload().
  • The property supervisor.runtime.ble_workflow replaces supervisor.disable_ble_workflow().
  • The property supervisor.runtime.next_stack_limit replaces supervisor.set_next_stack_limit().
  • The property supervisor.runtime.rgb_status_brightness replaces supervisor.set_rgb_status_brightness().

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.0-rc.2

Fixes and enhancements

  • Fix is31fl3741 regression (module currently included only on Adafruit LED Glasses board). #7546. Thanks @FoamyGuy.

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

SAMx

STM

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

  • Thanks for translations:

New boards since 8.0.0-rc.2

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.0.0-rc.2, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 8.0.0 Release Candidate 2

02 Feb 13:15
e207db7
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 8.0.0-rc.2, a release candidate for 8.0.0. We believe it is stable, and are making a release candidate for further testing before final release.

NOTE: Since 8.0.0-beta.6, the file for specifying startup values for WiFi, etc., is now called settings.toml instead of .env, and uses slightly different syntax. Use double quotes instead of single quotes. Further documentation is here.

WARNING: The flash partitioning for 2MB and 4MB flash ESP32 and ESP32-C3 boards has changed since 8.0.0-beta.2. When you load 8.0.0-beta.3 or later over beta.2 (or vice versa), on these boards, CIRCUITPY will be erased and reformatted.

WARNING: The flash partitioning for the Raspberry Pi Pico W has changed since 8.0.0-beta.1. When you load 8.0.0-beta.2 or later over beta.1 (or vice versa), on the Pico W, CIRCUITPY will be erased and reformatted.

Notable changes to 8.0.0 since 7.3.0

Functionality additions

  • Add WiFi workflow with browser-based device discovery, filesystem browsing, upload, download, file editing, serial/REPL connection (available on Espressif and Pi Pico W).
  • Add a one-line status bar, which displays connection status, last exception, and version on a terminal window title or on the top line of an attached display. Mu 1.2.0 and Thonny 4.0.x and later are able to suppress status bar information in the REPL output.
  • A settings.toml file in CIRCUITPY provides environment variable values. Some value names are read by CircuitPython to specify WiFi connection parameters, BLE name, and other startup values. But you can also use settings.toml to specify your own parameters for your programs. Values from settings.toml can be retrieved using os.getenv(). More details here.
  • WiFi functionality implemented on the Raspberry Pi Pico W.
  • Revised Espressif camera support, now available on ESP32, ESP32-S2, and ESP32-S3.
  • Bulk analog input: analogbufio (available only on RP2040 for now).
  • Pin state can be preserved during deep sleep (available only on Espressif for now).
  • Allow setting USB VID, PID, manufacturer, and product ids at runtime.
  • Enable collections.deque on most builds.
  • AnalogIn values are full range from 0 to 65535, instead of having zeros on low-order bits.
  • In-place firmware update (dualbank) capability may be disabled at runtime in favor of a larger CIRCUITPY drive. This is the default.
  • Add TileGrid.contains().
  • Add os.utime().
  • Add espulp module, for running programs on the ULP co-processor in Espressif chips.
  • Add memorymap module for general though limited access to various memory regions.
  • A serial "break" on the USB or UART REPL serial connection will cause a KeyboardInterrupt, like ctrl-C. The advantage over ctrl-C is that the break interrupts even if the input buffer is full.
  • Add hidden property to vectorio shapes.
  • Add native _pixelmap.PixelMap support, for speed.
  • Chained exceptions are now implemented.
  • Add VfsFat.readonly property.
  • Add memorymap to allow access to raw memory locations (currently only on Espressif). #7359. Thanks @tannewt.

Compatibility changes

  • PulseOut no longer accepts a PWMOut. Use a Pin instead.
  • Auto-brightness support in displayio and framebufferio has been removed. It was never implemented completely.
  • OneWire is only in onewireio, and is no longer in busio or bitbangio.
  • gamepadshift has been removed: use keypad.ShiftRegisterKeys instead.
  • MP3Decoder and WaveFile can now take a filename instead of an open file.
  • Print out whole-number floats exactly and correctly.
  • Restored rainbowio and onewireio to a number of boards. Some boards still have rainbowio turned off for space reasons.
  • i2ctarget.I2CTarget is the new name for i2cperipheral.I2CPeripheral. Accept both for now. I2CPeripheral is deprecated and will be removed in 9.0.0.
  • Allow display.root_group to be set, instead of using display.show(). display.show() is deprecated and will be removed in 9.0.0.
  • The property supervisor.runtime.ble_workflow replaces supervisor.disable_ble_workflow().
  • The property supervisor.runtime.next_stack_limit replaces supervisor.set_next_stack_limit().
  • The property supervisor.runtime.rgb_status_brightness replaces supervisor.set_rgb_status_brightness().

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:

  • atmel-samd: Microchip SAMD21, SAMx5x
  • cxd56: Sony Spresense
  • espressif: Espressif ESP32-S2
  • 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
  • espressif: ESP32, ESP32-S3, ESP32-C3
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • stm: ST non-STM32F4 chip families

Changes since 8.0.0-rc.1

Fixes and enhancements

Port and board-specific changes

Broadcom

Espressif

i.MX

nRF

RP2040

  • Do not raise an exception for length of nvm. #7538. Thanks @geneverov.

SAMx

STM

Individual boards

  • Adafruit Feather ESP32-S2 Reverse TFT: add pins for buttons. #7526. Thanks @jepler.
  • Adafruit Feather ESP32-S3 Reverse TFT: add pins for buttons. #7526. Thanks @jepler.
  • BananaPi BPI-Bit-S2: enable status LED. #7510. Thanks @BPI-STEAM.
  • Seeed Studio XIAO ESP32C3: correct flash mode. #7509. Thanks @RetiredWizard.

Documentation changes

Build and infrastructure changes

Translation additions and improvements

New boards since 8.0.0-rc.1

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.0.0-rc.1, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.