Skip to content

CircuitPython 9.2.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dhalbert dhalbert released this 10 Oct 23:32
· 234 commits to main since this release
81d0073

This is CircuitPython 9.2.0-beta.1, a beta release for 9.2.0. It has known bugs that wil be fixed before the final release of 9.2.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.

Highlights of this release

  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address.
  • Use new ESP-IDF I2C driver.
  • ESP32-S3: implement sdioio.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. Previous board-specific names were not applied consistently. Use wifi.radio.hostname to set a custom hostname.
  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling.

Notable changes in 9.2.0 from 9.1.x

  • Raspberry Pi RP2350 support.
  • Update to Espressif ESP-IDF V5.3.1, including new I2C driver.
  • Merge MicroPython updates from v1.22.2 and v1.23.
  • Espressif BLE improvements.
  • Add math.dist().
  • _eve updates.
  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address.
  • ESP32-S3: implement sdioio.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif.
  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling.

Incompatibility warnings

  • Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. Previous board-specific names were not applied consistently. Use wifi.radio.hostname to set a custom hostname.
  • Use default hostname for mDNS. Fix mDNS collision mangling. DNS hostnames will be different.

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

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

  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • espressif: ESP32-P4 (currently no USB support)
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families

Changes since 9.2.0-beta.0

Fixes and enhancements

  • Incompatible change: Use default hostname for mDNS. Fix mDNS collision mangling. #9699. Thanks @tannewt.
  • Fix epaperdisplay to handle delays properly when two_byte_sequence_length=True. #9694. Thanks @Sola85.
  • Fix crash when printing DeepSleepRequest exception, used internally by alarm. #9692. Thanks @jepler.
  • Fix internal check for connected BLE workflow, which was preventing deep sleep on some BLE boards. #9679. Thanks @dhalbert.
  • New busio.I2C.probe() and bitbangio.I2C.probe() methods to check for a single device address. #9671. Thanks @dhalbert.
  • Add slight delay in KeyMatrix scanning to allow time for signal setting. #9665. Thanks @SeanCline.
  • Update to tinyusb v0.17.0. #9664. Thanks @samblenny.
  • Fix MP3Decoder infinite loop when file ends in a partial frame. #9653. Thanks @eric321.

Port and board-specific changes

Broadcom

Espressif

i.MX

nordic

renode

RP2

SAMx

SiLabs

Spresense

STM

Individual boards

Documentation changes

  • Fix floppyio documentation formatting. #9658. Thanks @jepler.
  • Correct memorymap.AddressRange example. #9639. Thanks @jepler.

Build and infrastructure changes

  • Use MP_PROPERTY_GETTER, etc. everywhere. #9684. Thanks @diamant3.
  • Keep PYTHONPATH setting when running tests. #9655. Thanks @jepler.

Translation additions and improvements

  • Thanks for translations:

New boards since 9.2.0-beta.0

Known issues

Thanks

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