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 fromsettings.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 fromsettings.toml.
Incompatibility warnings when upgrading to 10.2.0
os.getenv()now always returns a string, instead of returning anintwhen 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, SAMx5xcxd56: Sony Spresenseespressif: Espressif ESP32, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-C61, ESP32-H2, ESP32-S2, ESP32-S3nordic: Nordic nRF52840, nRF52833raspberrypi: Raspberry Pi RP2040, RP2350stm: ST STM32F4 chip family
These ports are considered alpha and will have bugs and missing functionality:
analog: Analog Devices MAX32690broadcom: Raspberry Pi boards such as RPi 4, RPi Zero 2Wespressif: , ESP32-P4litex: fomumimxrt10xx: NXP i.MX RT10xxxrenode: hardware simulatorsilabs: Silicon Labs MG24 familystm: ST non-STM32F4 chip familieszephyr: 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 inzephyrbuilds right now. #10829, #10824. Thanks @daniel-alsen for discovery and diagnosis, and @dhalbert for PR. os.getenv()now always returns astrfromsettings.toml. A new functionsupervisor.get_setting()returns abool,int, orstr, 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
- See https://github.com/adafruit/circuitpython/issues 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_solboard.
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.