CircuitPython 6.1.0 Beta 2
Pre-releaseThis 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
andsupervisor.run_reason
. #3767. Initialalarm
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 throwBrokenPipeError
forsocketpool
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")
AirLift
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
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.