CircuitPython 6.1.0-beta.2 released! Now with deep sleep! @adafruit @circuitpython

This is the Beta 2 release of CircuitPython. Please use 6.0.x if you need a stable version of CircuitPython on all ports except ESP32-S2. Please use this release or newer for the ESP32-S2. See port status below for more stability details.

Notable in this release are a number of ESP32-S2 additions and fixes, including UDP, AnalogOut, and deep sleep.

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

Port status

CircuitPython has a number of “ports” that are the core implementation for a variety of microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd, nrf, and stm for the F4 family are stable. cxd56, esp32s2, and stm for other chip families are being actively improved but may be missing functionality and have bugs. litex and mimxrt10xx are in an alpha state and will have bugs and missing functionality. For all unstable ports, please use the latest pre-release.

New features and improvements since 6.1.0-beta.1

All ports

  • Implemented adafruit_bus_device as a native module. Included on builds for which it will fit. #3612. Thanks @gamblor21.
  • Added microcontroller.reset_reason and supervisor.run_reason. #3767. Initial alarm sleep support (implemented for ESP32-S2 only). Thanks @dhalbert.
  • Add moveable supervisor allocations. #3695. Thanks @cwalther.
  • Fix README typos. #3766. Thanks @ehershey.
  • Fix displayio.ColorConverter make_ methods. #3760. Thanks @arturo182.
  • Fix EVE VertexFormat() opcode bug. #3757. Thanks @jamesbowman
  • Speed up readinto JSON parsing. #3728. Thanks @tannewt.
  • Update ulab to 1.1.0. #3694. Thanks @jepler.
  • EPaperDisplay: add rotation property. #3718. Thanks @jepler.
  • Prevent tracebacks from accumulating in REPL. #3702. Thanks @tannewt.

ESP32-S2

  • Use nina-fw root certificates, for consistency. #3775. Thanks @tannewt.
  • Add two-minute fallback timeout on recv. Do not throw BrokenPipeError for socketpool recv. #3776. Thanks @tannewt.
  • Disallow concurrent tasks during flash erase. #3780. Thanks @tannewt.
  • Added light sleep and deep sleep support for time-based alarms. Still to come: pin alarms. #3767. Thanks @dhalbert.
  • Fix simultaneous use of touchpads. #3738. Thanks @microDev1.
  • UDP support. #3708. Thanks @hierophect.
  • Update wifi doc. #3758. Thanks @tannewt.
  • Fix pin claiming bugs. #3754. Thanks @hierophect.
  • Exit faster on recv when TLS connection closed. #3759. Thanks @tannewt.
  • TinyUSB fix for CDC connection race. #3741. Thanks @hathach.
  • Support for ps2io. #3714. Thanks @microDev1.
  • Support for AnalogOut #3514. Thanks @hierophect.
  • Retry connection when getting NOT_AUTHED. #3720. Thanks @tannewt.
  • Support for frequencyio. #3704. Thanks @microDev1.
  • Update pin names from silk. #3745. Thanks @kattni.
  • Do full WiFi scan when channel and BSSID are not given. #3727. Thanks @BennyE.
  • Fix common_hal_mcu_delay_us(). #3740. Thanks @dhalbert.

SAMD21 (“M0”)

  • Disable complex arithmetic to make room for other features. #3773. Thanks @dhalbert.

AirLift

  • Rename misnamed ESP UART pins on some boards. #3770. Thanks @dhalbert.

Translations

  • Portugese updates. #3774, #3756. #@wtuemera
  • Swedish updates. #3774, #3734. Thanks @bergdahl.
  • Czech updates. #3744. Thanks @vkuthan.
  • German updates. #3764. Thanks @danybd.
  • Spanish updates. #3764. Thanks @danybd, @begeistert.
  • Japanese updates #3764, #3756. Thanks @sporeball, @aoyamaprod.
  • French updates. #3756, #734. Thanks @Anton-2, @Edrig.

New boards

  • Thunderpack v1.2. #3737. Thanks @jgillick.
  • CP-Sapling. #3732. Thanks @skerr92.

Known issues

  • ESP32-S2: import wifi interferes with I2C. #3743.
  • See https://github.com/adafruit/circuitpython/issues for other issues.

Thanks

Thank you to @Anton-2, @aoyamaprod, @arturo182, @begeistert, @BennyE, @bergdahl, @brentru, @danybd, @d-c-d, @dhalbert, @Edrig, @ehershey, @gamblor21, @hathach, @hierophect, @jamesbowman, @jepler, @jgillick, @kattni, @ladyada, @microDev1, @skerr92, @sommersoft, @sporeball, @tannewt, @vkuthan, @weblate, @wtuemura and all who used, tested, and contributed since 6.1.0-beta.1. 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.


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

Happy New Year 2025
Happy New Year from Adafruit!

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 — Python on Microcontrollers Newsletter: A Fabulous Year for Python on Hardware 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 — Same-day delivery, not for convenience, but customer loyalty

Electronics – Adafruit Daily — Level Conversion Hack

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.