Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

CircuitPython 6.0.0 Alpha 2 released!

From the GitHub release page:

This is the second alpha release of CircuitPython 6.0.0. It is alpha because we are planning one more API change to ulab. It is relatively stable.

Feature-wise, 6.x adds basic lower power support when in time.sleep() and initial ESP32-S2 support. The lower power work changed time keeping and may have introduced bugs. Please use 5.3.0 if you need a stable version of CircuitPython.

Download from circuitpython.org

Downloads are available from circuitpython.org! The site makes it easy to select the correct file and language for your board. The downloads page is here. Downloads are no longer available from the GitHub release pages because of the large number of files for each release.

Installation

To install follow the instructions in our new 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).

New features and improvements since 6.0.0 Alpha 1

API Changes

  • Disable socket, wiznet5k and network modules. They will be removed in 7.x in favor of networking libraries. Thanks to @tannewt
  • Add memorymonitor for memory debugging. It must be enabled on a local build. Thanks to @tannewt
  • Add .find, .rfind, .index and .rindex to bytearray for CPYTHON compatible builds. Thanks to @tannewt
  • json.load now works with any object with readinto. Thanks to @tannewt

Internals

  • Improved performance with background task rework. Now on par with 5.3.x Thanks to @jepler
  • Enable PYSTACK which separates python code state from C code state and improves memory use. Let us know if you hit a RuntimeError from an exhausted pystack. It may be too small. Thanks to @tannewt

Fixes

  • ESP32S2 build can now be parallelized. Thanks to @jepler
  • ESP32S2 unique IDs are now actually unique. Thanks to @jepler
  • Fixed VectorShape non-transposed pixel placement. Thanks to @warriorofwire
  • Fixed USB starvation during long numeric calculations. Thanks to @daveputz
  • Fixed Polygon.points. Thanks to @WarriorOfWire
  • SAMD brown out levels are now configurable. Thanks to @deshipu
  • MP3 playback improvements. Thanks to @jepler
  • PulseIn fixed on SAMD. Thanks to @DavePutz

Board changes

  • Enable analogio on PewPew M4. Thanks to @deshipu
  • Seeed Wio Terminal display now init by default. Thanks to @ansonhe97

Documentation

  • License documentation improvements. Thanks to @flameeyes
  • Improve generated .pyi files. Thanks to @ciscorn
  • Additional type hints to the core docs. Thanks to @dherrada
  • Documentation improvements. Thanks to AndrewR-L, @dkhawk and @dunkmann00
  • Dutch, Indonesian, Portuguese, Spanish, and Swedish translation improvements. Thanks to @bergdahl, @fede2cr, @oonid, @ryevertigo, and @wtuemura.

Full commit log is here.

Breaking changes since 5.x

  • i2cslave is now i2cperipheral and the class in it is changed as well.
  • The stop kwarg has been removed from I2C.writeto(). If no stop is desired, then use writeto_then_readfrom.

New boards since 6.0.0 Alpha 1

Known Issues

  • displayio operations that read from an SD card (e.g., OnDiskBitmap) will interfere with other SD card operations and can cause lockup. To work around this problem, do not read or write files on the SD while the display is updating, and vice versa.
  • See https://github.com/adafruit/circuitpython/issues for other issues.

Thanks

Thank you to all who used, tested, contributed since 6.0.0 Alpha 1, helped out, and participated on GitHub and/or Discord, including @ansonhe97, @arms22 @Arudinne, @bergdahl, @ciscorn, @DavePutz, @deshipu, @dhalbert, @dherrada, @dkhawk, @dunkmann00, @fede2cr, @flameeyes, @jepler, @ladyada, @oonid, @ryevertigo, @tannewt, @TinkeringTech, @warriorofwire, @wtuemura and @xiongyihui and surely more we have missed. Join us on the Discord chat to collaborate.

Documentation

Documentation is available in readthedocs.io.

This release is based on MicroPython 1.9.4 @25ae98f. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

Translations

One important feature of CircuitPython is translated control and error messages. With the help of fellow open source project Weblate, we’re making it even easier to add or improve translations. Sign in with an existing account such as Github, Google or Facebook and start contributing through a simple web interface. No forks or pull requests needed!

Troubleshooting

Check out this guide for info on common problems with CircuitPython. If you are still having issues, then post to the Adafruit Support Forums and join Discord.

Assets

Builds are no longer stored as assets on this release page, because there are too many of them. Please see the Download from circuitpython.org section above.


We are angry, frustrated, and in pain because of the violence and murder of Black people by the police because of racism. We are in the fight AGAINST RACISM. George Floyd was murdered, his life stolen. The Adafruit teams have specific actions we’ve done, are doing, and will do together as a company and culture. We are asking the Adafruit community to get involved and share what you are doing. The Adafruit teams will not settle for a hash tag, a Tweet, or an icon change. We will work on real change, and that requires real action and real work together. That is what we will do each day, each month, each year – we will hold ourselves accountable and publish our collective efforts, partnerships, activism, donations, openly and publicly. Our blog and social media platforms will be utilized in actionable ways. Join us and the anti-racist efforts working to end police brutality, reform the criminal justice system, and dismantle the many other forms of systemic racism at work in this country, read more @ adafruit.com/blacklivesmatter

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.

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

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

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/

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


Maker Business — To make it through a tough business cycle, layoffs should be a last resort

Wearables — Everything in its place

Electronics — The Case Of The Disappearing Capacitance

Python for Microcontrollers — Python on Microcontrollers Newsletter: New Hardware, Python Releases and Much More! #Python #Adafruit #CircuitPython @circuitpython @micropython @ThePSF

Adafruit IoT Monthly — BLE Store Capacity Indicator, Aquarium Automation, and more!

Microsoft MakeCode — MakeCode Arcade Game Garden Jam!

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

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NEW PRODUCT – ESP-PSRAM64H Chip – 64 Mbit Serial Pseudo SRAM – 3.3V 133 MHz

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.