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
andnetwork
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
tobytearray
for CPYTHON compatible builds. Thanks to @tannewtjson.load
now works with any object withreadinto
. Thanks to @tannewtInternals
- 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 nowi2cperipheral
and the class in it is changed as well.- The
stop
kwarg has been removed fromI2C.writeto()
. If no stop is desired, then usewriteto_then_readfrom
.New boards since 6.0.0 Alpha 1
- MakerDiary nRF52840 M.2 devkit Thanks to @xiongyihui #3136
- MakerDiary M60 Keyboard Thanks to @xiongyihui #3136
- Raytac MDBT50Q-DB-40 Thanks to @Arudinne #3127
- TinkeringTech ScountMakes Azul Thanks to @TinkeringTech #3157
- BLE-SS Dev Board Multi Sensor Thanks to @arms22 #3135
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.