0

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.


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, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, 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.

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

CircuitPython – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Rethink Robotics closes shop. Long live collaborative robots #makerbusiness

Wearables — Cleaning is key

Electronics — Serial overkill

Biohacking — Biohacking Resources – Books, Talks and Podcasts

Python for Microcontrollers — CircuitPython @ Hackaday SuperCon #ICYMI @circuitpython @micropython @ThePSF #Python

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.