CircuitPython 8.2.1 Released! @circuitpython

From the GitHub release page:

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

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. The 8.2.0 firmware is larger than what the bootloader can handle. See these instructions for updating your bootloader.

Notable changes to 8.2.1 since 8.1.0

  • Continued enhancement of synthio.
  • RP2040 alarm.sleep_memory.

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.2.1

Most changes below are backports from main. Thanks @dhalbert for the backport pull requests.

Fixes and enhancements

  • Return correct type from dict.fromkeys(). #8207, #8175. Thanks @kbsriram and @dhalbert.
  • Raise NotImplementedError for os.getenv() on small boards without settings.toml support. #8206, #8169. Thanks @jepler and @dhalbert.
  • Fix setting wifi.radio.hostname. #8201, #8150. Thanks @microdev1 and @dhalbert.

Port and board-specific changes

Broadcom

Espressif

  • Increase maximum synthio channels to 12. #8212, #8189. Thanks @todbot.

i.MX

nRF

RP2040

  • Fix RP2040 manual safe mode via reset button. #8170. Thanks @tannewt.

SAMx

SiLabs

Spresense

STM

Individual boards

  • 42. Keebs Frood: Rev7 uses new flash chip. #8203, #8154. Thanks @piit79.
  • Adafruit MatrixPortal S3: fix address pins. #8199, #8137. Thanks @makermelissa.
  • Adafruit QT Py ESP32-S3 no PSRAM: remove frozen libraries. #8197, #8130. Thanks @dhalbert.
  • Espressif ESP32-S3 Box: use PSRAM. #8197, #8129. Thanks @Neradoc.
  • Espressif ESP32-S3 Box Lite: use PSRAM. #8197, #8129. Thanks @Neradoc.
  • UnexpectedMaker FeatherS3: add second I2C bus. #8174. Thanks @UnexpectedMaker.

Documentation changes

  • Note that wifi.radio.ipv4_address_ap is read-only. #8208, #8180. Thanks @anecdata and @dhalbert.
  • Document various networking restrictions. #8205, #8165. Thanks @anecdata and @dhalbert.
  • Automate documentation of optional types and functions. #8185. Thanks @jepler.
  • Fix zlib.decompress() name. #8195, #8125. Thanks @jimmo.

Build and infrastructure changes

Translation additions and improvements

New boards since 8.2.0

  • Adafruit Metro M7 1011 SD. #8196, #8127. Thanks @dhalbert.
  • Adafruit Metro RP2040. #8181. #8194, #8035. Thanks @dhalbert and @jepler.
  • Adafruit QT Py ESP32-S3 4MB Flash 2MB PSRAM. #8198, #8130. Thanks @dhalbert.
  • Datanoise PicoADK. #8204, #8166, #8156. Thanks @DatanoiseTV and @dhalbert.
  • Makerdiary nRF52840 Connect Kit. #8200, #8142. Thanks @makerdiary.
  • splitkb.com Liatris. #8202, #8152. Thanks @splitkb.

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


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Select Python on Microcontrollers Newsletter: PyCon AU 2024 Talks, New Raspberry Pi Gear Available and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Halloween, WiLo, and more!

Maker Business – Adafruit Daily — Checking in on Intel

Electronics – Adafruit Daily — Probe Compensation

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



2 Comments

  1. I new with python, and well up in age. What would you recommend to start learning with.

  2. Please visit our discord server to discuss ways to learn Python: https://adafru.it/discord

Sorry, the comment form is closed at this time.