github adafruit/circuitpython 10.2.0-alpha.1
CircuitPython 10.2.0-alpha.1

pre-release9 hours ago

This is CircuitPython 10.2.0-alpha.1, an alpha release for 10.2.0. Further features, changes, and bug fixes will be added before the final release of 10.2.0.

Highlights of this release

  • Include 10.1.1 fix for performance regression.
  • Better entropy for RP2350 os.urandom().
  • Add supervisor.get_setting(), which retrieves a string, boolean, or integer typed value from settings.toml.

Notable changes in 10.2.0 from 10.1.x

  • os.getenv() always returns a string.
  • Add supervisor.get_setting(), which retrieves a string, boolean, or integer typed value from settings.toml.

Incompatibility warnings when upgrading to 10.2.0

  • os.getenv() now always returns a string, instead of returning an int when the value could be parsed as such.

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 code.circuitpython.org or 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-C2, ESP32-C3, ESP32-C6, ESP32-C61, ESP32-H2, ESP32-S2, ESP32-S3
  • 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:

  • analog: Analog Devices MAX32690
  • broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2W
  • espressif: , ESP32-P4
  • litex: fomu
  • mimxrt10xx: NXP i.MX RT10xxx
  • renode: hardware simulator
  • silabs: Silicon Labs MG24 family
  • stm: ST non-STM32F4 chip families
  • zephyr: multiplatform RTOS: testing with Nordic nRF5340, nRF54H20, nRF54L15, nRF7002; NXP i.MX RT1170, MCXN947; Renesas RA6M5, RA8D1; ST STM32H7, STM32N657, STM32U7,

Changes

Fixes and enhancements

  • Call port_yield() from background task only in zephyr builds right now. #10829, #10824. Thanks @daniel-alsen for discovery and diagnosis, and @dhalbert for PR.
  • os.getenv() now always returns a str from settings.toml. A new function supervisor.get_setting() returns a bool, int, or str, as appropriate. #10819. Thanks @dhalbert

Port and board-specific changes

Analog Devices

Broadcom

Espressif

i.MX

Nordic

renode

RP2

  • RP2350: Use the TRNG (True Random Number Generator) as an additional source of entropy for os.urandom(). #10826. Thanks @mimi89999.

SAMx

SiLabs

Spresense

STM

Zephyr

Individual boards

Documentation changes

Build and infrastructure changes

Translation additions and improvements

  • @arifpedia (Indonesian). Thanks for extensive additions. Indonesian is now a complete translation.

New boards

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.

Don't miss a new circuitpython release

NewReleases is sending notifications on new releases.