Thursday, October 10, 2024

CircuitPython 9.2.0 Beta 1 Released!

From the GitHub release page:

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

  • Save space when copying default hostname. #9677. Thanks @RetiredWizard.
  • Fix BLE Characteristic deinit checking. #9676. Thanks @dhalbert.
  • Switch to using new ESP-IDF I2C driver. #9671. Thanks @tannewt and @dhalbert.
  • Incompatible change: Change default hostname for all Espressif boards to the ESP-IDF default, which is espressif. #9656. Thanks @RetiredWizard.
  • ESP32-S3: implement sdioio. #9641. Thanks @jacobcrigby and @RetiredWizard.
  • Remove ESP_CONSOLE_UART settings for ESP32-S3 666 display boards. #9583. Thanks @RetiredWizard.

i.MX

nordic

renode

RP2

  • Move RP2040 divider wrapper to RAM. #9698. Thanks @tannewt.
  • Fix os.uname() values for RP2350. #9683. Thanks @dhalbert.
  • Fix rotaryio on RP2350. #9682. Thanks @jepler.
  • Clear any pending interrupt flag in rp2pio. #9680. Thanks @jepler.

SAMx

SiLabs

Spresense

STM

Individual boards

  • Adafruit Feather RP2350: Add board.IO4 and board.IO7. #9668. Thanks @tannewt.
  • Datanoise PicoADK V2. #9696. Thanks @DatanoiseTV.
  • Makerfabs TFT7: Allow specifying CIRCUITPY_DISPLAY_WIDTH in settings.toml. #9654, #9634. Thanks @RetiredWizard.
  • Sunton ESP32 2432S028: Allow specifying CIRCUITPY_DISPLAY_ROTATION in settings.toml. #9654, #9627. Thanks @RetiredWizard.

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:
    • @andibing (English – UK)
    • @diamant3 (Filipino)
    • Kamborio (weblate user) (Spanish)
    • @wtuemura (Portugese – Brazil)

New boards since 9.2.0-beta.0

  • Espressif ESP32-S# LCD EV Board v1.5. #9608. Thanks @sanhu88.
  • Makerdiary iMX RT1011 Nano Kit. #9645. Thanks @makerdiary.
  • Maker Go C6 SuperMini. #9687. Thanks @bill88t.
  • Sunton ESP32 8048S050 [ESP32-S3]. #9661. Thanks @sanhu88.

Known issues

  • See https://ift.tt/0sAt2lU for other issues, including issues still to be addressed for:
  • Native-code .mpy files are not working. This capability is currently enabled only on the winterbloom_sol board.

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.

No comments:

Post a Comment