CircuitPython 2.0.0 Release Candidate 1

From the GitHub release page:

2.0.0 is getting close to ready! We just need folks to test all of their projects with this new code and report back if they find bugs. Thanks to those who found bugs and those who contributed code.

DO NOT use this release if all you want to do is try CircuitPython. 1.0.0 is much better for playing around.

Here are the changes since Beta 1:

  • Update to MicroPython 1.9.2.
  • Introduce a nvm.ByteArray to provide limited byte storage even when the file system is read-only.
  • Explicitly load frozen modules from the .frozen python path instead of the empty path implicitly.
  • digitalio.DigitalInOut now errors on extra arguments thanks to @deshipu for finding the issue.
  • atmel-samd: microcontroller.cpu.temperature support added.
  • atmel-samd: CircuitPlayground Express. NeoPixel library is now frozen in.
  • atmel-samd: Fix PulseIn.resume. Thanks @asherlie and @brentru for finding the issue.
  • atmel-samd: Fix PB07 pin ADC mapping. Thanks to @cledic for reporting the issue.
  • atmel-samd: Trinket M0 now has named SPI pins at @deshipu‘s request.
  • esp8266: Fixed file system issues.

Moving from 1.0.0 to 2.0.0 is not a perfect process. There are a few things that break when doing so.

  • mpy files compatible with 1.0.0 are NOT compatible with 2.0.0 because MicroPython changed the format. A 2.0.0 bundle is available here. (Its built by changing the branch of circuitpython in the bundle repo before building it.)
  • uos is replaced by os, storage and multiterminal
  • urandom is replaced by random

This release is based on MicroPython 1.9.2. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here).

Have a Feather M0 Express, Metro M0 Express, Gemma M0, Trinket M0 or Circuit Playground Express? Download a .uf2 and follow these instructions. To install our libraries simply download the bundle for your release and copy the lib folder onto your CIRCUITPY drive.

To install on legacy boards, download a .bin file and follow the guide here for M0 and here for ESP8266.


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 — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much 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 — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

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


No Comments

No comments yet.

Sorry, the comment form is closed at this time.