0

September 1, 2017 AT 6:06 pm

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.


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

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

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Lessons Learned Scaling Airbnb 100X

Wearables — Start with a sketch

Electronics — When do I use X10?

Biohacking — What I Learned from Weighing Myself 15 Times in a Day

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.