Releases: adafruit/circuitpython
CircuitPython 6.1.0 Beta 2
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
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.
CircuitPython 6.1.0 Beta 1
This is the second beta release of 6.1.0. (This first was broken.) It includes many changes that were done while 6.0.0 release candidates were in pre-release. 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.
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.0.0
All ports
- Added grayscale E-Ink support. (IL0373 control chip.) Thanks to @tannewt
- Added support for transparent_color support in ColorConverter. Allows transparency with full color bitmaps. Thanks to @jensechu
- Fix accumulating tracebacks in REPL. Thanks to @DavePutz
- Luma computation for grayscale conversion corrected. Thanks to @tannewt
- Fixed unhiding a TileGrid. Thanks to @FoamyGuy
- Fixed sharp memory display memory error. Thanks to @jepler
- Added native
binascii
to most boards. Thanks to @dhalbert - README typo fix. Thanks to @ehagerty
- Stub (.pyi) fixes and CI check added. Thanks to @sw23
- Translation updates for French, Portuguese (Brazil), and Swedish. Thanks to @bergdahl, @Edrig, @hexthat, @jepler, and @wtuemura.
ESP32-S2
- Fix TLS certificate errors when root certificate is signed by SHA-1. (Fixes io.adafruit.com and others.) Thanks to @jepler, @tannewt and @BennyE
time.sleep()
can now be interrupted by CTRL-C. Thanks to @DavePutztouchio
,rotaryio
,watchdog
, andcountio
support added. Thanks to @microdev1canio
support added. Thanks to @jepler- Added more
Network
parameters. Thanks to @astrobokonon - Fix I2C crashing. Thanks to @jepler
- Fixed brief AP mode when starting wifi. Thanks to @BennyE
- Fixed stack size. Thanks to @jepler
- Fixed
Socket.recv
behavior to return available bytes immediately when fewer than requested. Thanks to @tannewt - Fixed concurrent NeoPixel strip use. Thanks to @hierophect and @ladyada
- Fixed wifi reset. Thanks to @astrobokonon
- Add
recv_into
argument size check. Thanks to @gamblor21 - Added native display init for MagTag eInk display. Thanks to @tannewt and @ladyada
- Fixed SCL and SDA pins for UnexpectedMaker FeatherS2. Thanks to @askpatrickw
- Add default SPI, UART and I2C busses for UnexpectedMaker FeatherS2 and microS2. Thanks to @FoamyGuy and @microdev1
- Added IO pin naming to Metro ESP32-S2. Thanks to @kattni and @ladyada
- ESP32-S2 README improvements. Thanks to @hierophect
See the 6.0.0 release notes for breaking changes since 5.x.
New boards since 6.0.0
- Adafruit MagTag Thanks to @tannewt
- Targett Module Clip WROOM Thanks to @Targett363
- Targett Module Clip WROVER Thanks to @Targett363
- AtelierDuMaker Breakout NRF52840 v1 Thanks to @Edrig
Known issues
- We are not aware of any show-stopper issues.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0. 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.
CircuitPython 6.1.0 Beta 0
We only released beta 0 to GitHub because it had a severe bug. It was never on the website or blog. So, please see Beta 1 for full details.
CircuitPython 6.0.0
This is CircuitPython 6.0.0, the latest major revision of CircuitPython, and is a new stable release.
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. (If you see the unstable release 6.0.0-rc.2 when you browse circuitpython.org, that release is older. Use this one.)
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.
Major new features and improvements since 5.x
- New port to ESP32-S2 chip.
RGBMatrix
display support.countio
module to count pulses.watchdog
controls hardware watchdog timer. Only on certain ports.vectorio
provides nativedisplayio
shapes.canio
provides support for CAN bus operations._bleio
adds support for HCI-based BLE co-processors, such as AirLift boards.aesio
provides support for AES computations.async/await
made available by default in many builds; support improved.- Network modules are revamped, adding
wifi
,socketpool
,ssl
, and other modules. Disabledsocket
,wiznet5k
andnetwork
modules. They will be removed in 7.x in favor of networking libraries. - Updated
stage
andpew
libraries. _pixelbuf
improvements.- Improved USB serial detection.
json
can now read from stream objects.pulseio.PWMOut
is split out intopwmio.PWMOut
. It is still available inpulseio
, but that is deprecated and will be removed in 7.x.- Added
memorymonitor
for memory debugging. It is not enabled by default. - Reduced power consumption (light sleep) during
time.sleep()
when possible.
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
. - The default speed of
busio.I2C
andboard.I2C()
is now 100khz, not 400khz as before. Usebusio.I2C
to set the speed explicitly. _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.- Removed
Mixer
,RawSample
, andWaveFile
fromaudioio
. They are now only available inaudiocore
. 5.x has them in both modules.
New boards since 5.3.1 (38 boards)
- Adafruit BLM Badge
- Adafruit Feather M4 CAN
- Adafruit Matrix Portal M4
- Adafruit Metro ESP32S2
- Adafruit Metro M7 1011
- Adafruit QT Py
- Adafruit QT Py Haxpress
- AloriumTech Evo M51
- Atmel SAME54 Xplained
- BDMicro Vina D51
- BH Dynamics DynOSSAT-EDU-EPS
- BH Dynamics DynOSSAT-EDU-OBC
- BLE-SS Dev Board Multi Sensor
- Electronic Cats Bastwifi
- Espressif Saola 1 w/WROOM
- Espressif Saola 1 w/WROVER
- Fluff M0
- HiiBot BlueFi
- Ikigaisense Vita nRF52840
- Loc Ber M4
- MakerDiary M60 Keyboard
- MakerDiary nRF52840 M.2 devkit
- Makerdairy Pitaya Go
- Muselab nano ESP32-S2
- Nice Nano
- Nordic PCA10100
- OpenMV H7
- Picoplanet
- PyCubed MRAM
- Raytac MDBT50Q-DB-40
- STM32F746 Discovery
- STM32F746 Nucleo
- Seeeduino Wio Terminal
- Simmel
- Teensy 4.1
- TinkeringTech ScountMakes
- UnexpectedMaker FeatherS2
- microDev microS2 (ESP32-S2)
Known issues
- We are not aware of any show-stopper issues.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 5.3.1. See the 5.4.0 and 6.0.0 alpha, beta and RC releases for all who contributed. 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.
CircuitPython 6.0.0 Release Candidate 2
This is the third release candidate of CircuitPython 6.0.0. We don't know of any stability issues overall. See port status
below for more stability detail. If you find any issues with it, please file an issue. If no issues are found in the near future, we'll release this version as stable.
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.
New features and improvements since 6.0.0 Release Candidate 0
Full commit log is here.
Fixes and enhancements
RGBMatrix
: validate bit-depth argument in constructor (#3661). Thanks @aocole for the issue, @jepler for the fix, and @FoamyGuy for testing.- Update
protomatter
library, used forRGBMatrix
(#3666). Thanks @maxmckinney for the issue, @jepler for the fix.
Board- and port-specific changes
- Nothing in this release.
Documentation
- No changes in this release.
Internals and build process
- No changes in this release.
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
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has been removed. Code will now raise the nativeConnectionError
instead.
New boards since 6.0.0-rc.1
- No new boards in this release.
Known issues
- No show-stopper issues.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Release Candidate 1, including @jepler, @aocole, @FoamyGuy, @tannewt, @maxmckinney, and many more on Discord. 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.
CircuitPython 6.0.0 Release Candidate 1
This is the second release candidate of CircuitPython 6.0.0. We don't know of any stability issues overall. See port status
below for more stability detail. If you find any issues with it, please file an issue. If no issues are found within a week or so, we'll release this version as stable.
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.
New features and improvements since 6.0.0 Release Candidate 0
Fixes and enhancements
- USB serial detection improved. Fixes REPL not available after host computer sleeps, and
supervisor.runtime.serial_available
is more accurate now (#3624). Thanks @dhalbert. board.I2C()
andboard.SPI()
now can be de-inited and re-inited safely, and their lifetimes are correct in the presence of displays (#3603). Thanks @cwalther.ulab
is updated to 0.54.5 (#3602). Thanks @jepler.
Board- and port-specific changes
- Feather M4 CAN: revised pins (#3636). Thanks @ladyada and @dhalbert.
analogio
is restored to the M0 RFM boards, due to increased space available (#3603). Thanks @jerryneedell.- MatrixPortal ESP32 TX and RX pins were reversed (#3618). Thanks @dhalbert.
- CPB SPI pin mappings were not correct (#3590). Thanks @jerryneedell.
- MatrixPortal: Fix which pins not to reset (#3574). Thanks @tannewt.
Documentation
- No changes in this release.
Internals and build process
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
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
New boards since 6.0.0-rc.0
- No new boards in this release.
Known issues
- Nothing major.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Release Candidate 0, including @cwalther, @dhalbert, @jepler, @jerryneedell, @ladyada, @makermelissa, @tannewt, and many more on Discord. 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.
CircuitPython 6.0.0 Release Candidate 0
This is the first release candidate of CircuitPython 6.0.0. We don't know of any stability issues overall. See port status
below for more stability detail. If you find any issues with it, please file an issue. If no issues are found within a week or so, we'll release this version as stable.
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.
New features and improvements since 6.0.0 Beta 2
Fixes and enhancements
- Enable
async
andawait
keywords and adds__await__
support. Thanks to @warriorofwire - Add ESP32-S2
analogio
support. Thanks to @hierophect - Add
canio
support to the STM32F405 boards. Thanks to @jepler - The HCI version of
_bleio
is available on many non-nRF boards (nRF is not included since it already has native BLE). Thanks to @dhalbert - Fix display memory bugs. Thanks to @jepler and @cwalther
Board- and port-specific changes
- Add ability to set hostname to ESP32-S2. Thanks to @askpatrickw, @microdev1, @UnexpectedMaker
- Fix STM sleep timing. Thanks to @tannewt, @FoamyGuy, @DavePutz
- Fix STM time keeping that lead to unnecessary I2C timeouts. Thanks to @tannewt, @jepler, @FoamyGuy, @eLEcTRiCZiTy, @mdroberts1243, @DavePutz, @hierophect
- Fix SAMD21 auto-reload issue. Thanks to @tannewt
- Fix SAMD21 timing issue causing flickering on the pew. Thanks to @tannewt, @deshipu, @cwalther, @DavePutz, @jepler
- Fix RGB Matrix crash when brightness is set to zero. Thanks to @jepler
- Rework the flash config for iMX RT boards and enable the DCache (but disable caching for the OCRAM.) Thanks to @tannewt
- Update to the latest ESP-IDF from Espressif. Thanks to @hierophect
Documentation
- Numerous translation additions and improvements. Thanks:
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
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt _bleio.ConnectionError
has be removed. Code will now raise the nativeConnectionError
instead.
New boards since 6.0.0 Beta 2
- BDMicro Vina D51 Thanks to @bd34n and @ladyada
- BH Dynamics DynOSSAT-EDU-EPS Thanks to @ecasadod
- BH Dynamics DynOSSAT-EDU-OBC Thanks to @ecasadod
- Adafruit Metro M7 1011 Thanks to @tannewt and @ladyada
Known issues
- Nothing major.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Beta 2, including @askpatrickw, @bergdahl, @bh34n, @caternuson, @cwalther, @DavePutz, @deshipu, @dhalbert, @dherrada, @ecasadod, @Edrig, @eLEcTRiCZiTy, @FoamyGuy, @hexthat, @hierophect, @jepler, @ladyada, @mdroberts1243, @microdev1, @oonid, @tannewt, @UnexpectedMaker, @warriorofwire, @wtuemura and many more on Discord. 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.
CircuitPython 6.0.0 Beta 2
This is the third beta release of CircuitPython 6.0.0. It is relatively stable overall. See port status
below for more stability detail. This is a quick bug fix release of Beta 1 so see it's release notes as well. Please use 5.3.x 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).
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.
New features and improvements since 6.0.0 Beta 1
Fixes and enhancements
Board- and port-specific changes
- stage and pew libraries were updated. Thanks to @deshipu
Documentation
- Numerous translation additions and improvements. Thanks:
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
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt
New boards since 6.0.0 Beta 1
- None
Known issues
- Nothing major.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Beta 1, including @bergdahl, @deshipu, @nijel, @jepler, @ladyada, @wtuemura, and many more on Discord. 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.
CircuitPython 6.0.0 Beta 1
This is the second beta release of CircuitPython 6.0.0. It is relatively stable overall. See port status
below for more stability detail. This release includes a new canio
API, support for the 128x64 OLED and many fixes. Please use 5.3.x 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).
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.
New features and improvements since 6.0.0 Beta 0
API changes and additions
- Add
canio
API for communicating over CAN BUS #3425 #3466 Thanks @dhalbert, @jepler and @siddacious - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt - Add
SH1107_addressing
kwarg todisplayio.Display
to support the SH1107 used in the 128x64 OLED with the new library. #3450 Thanks @mdroberts1243 and @jepler
Fixes and enhancements
- Fix memory corruption with sharp display. #3497 Thanks @jepler
- Fix hang when using OnDiskBitmap with a file on an SDCard. #3449 Thanks to @FoamyGuy and @jepler
- Update TinyUSB to get MIDI SysEx fix. #3473 Thanks @mzero and @tannewt
- Pins in
board
now print with their board name. #3470 Thanks @askpatrickw
Board- and port-specific changes
- ESP32-S2:
- Fix
digitalio
on pins that don't default to GPIO and fix reading back output value. #3495 Thanks @tannewt - Fix connecting to wifi without scanning first. #3489 Thanks @astrobokonon
- Fix SPI
write_value
support so SD cards work. #3448 Thanks @hierophect, @jepler and @emard - Fix
time.time
andtime.localtime
. #3451 Thanks @microdev1, @hierophect, @askpatrickw and @anecdata - Build and release UF2 files #3475 Thanks @tannewt
- Fix
- NRF52: Fix SPI display issue caused by QSPI disable. #3453 Thanks @DavePutz, @jerryneedell, @cjsieh and @xiongyihui
- UnexpectedMaker FeatherS2: Pin mapping updates. #3463 Thanks @UnexpectedMaker
- Wio Terminal: Turn on 40 pin connector. #3478 Thanks to @ansonhe97
- QT Py: Turn on NeoPixel and correct pinout. #3457 Thanks to @ladyada
Documentation
- Numerous translation additions and improvements. Thanks:
- Add design guide note about
const()
use. #3481 Thanks to @caternuson
Internals and build process
- Include port directories in translation process. #3491 #3486 Thanks to @jepler and @microdev1
_and_
and_or_
no longer replaced in QSTRs. #3456 Thanks to @jepler
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
. - The default speed of busio.I2C and board.I2C is now 100khz, not 400khz as before. Use
busio.I2C
to set the speed explicitly. #3471 Thanks @caternuson, @ladyada, @hierophect and @tannewt
New boards since 6.0.0 Beta 0
- Adafruit QT Py Haxpress #3476 Thanks @jepler and @ladyada
- Adafruit Metro ESP32S2 #3495 Thanks @tannewt and @ladyada
Known issues
- RGBMatrix crashes. Please use 6.0.0 Beta 2.
- See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Beta 0, including @anecdata, @ansonhe97, @askpatrickw, @astrobokonon, @bergdahl, @caternuson, @ciscorn, @cjsieh, @cwalther, @DavePutz, @dobra-dobra, @emard, @fede2cr, @FoamyGuy, @hierophect, @jepler, @jerryneedell, @ladyada, @mdroberts1243, @microdev1, @siddacious, @tannewt, @tawez, @UnexpectedMaker, @wtuemura, @xiongyihui and many more on Discord. 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.
CircuitPython 6.0.0 Beta 0
This is the initial beta release of CircuitPython 6.0.0. It is relatively stable. The most notable additions since 5.3.x are basic lower power support when in time.sleep()
, initial ESP32-S2 support, including WiFi, and and _bleio
HCI support for ESP32 co-processors. The lower power work changed time keeping and may have introduced bugs. Please use 5.3.x 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).
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.
New features and improvements since 6.0.0 Alpha 3
API changes and additions
- Revamp network API, adding
wifi
,socketpool
,ssl
, and other modules (#3326, #3397). Thanks @tannewt. - Implement
_bleio
for HCI Bluetooth adapters (#3310). Note that this supports peripheral mode only right now. Thanks @dhalbert. - Add
usb_hid.Device.last_received_report
to receive HID OUT (from host) reports (#3302). Thanks @xiongyihui. - Implement
.bit_length()
and 3-argumentpow()
, needed for a port ofDecimal
(#3377). Thanks @jepler. display.refresh()
will force an immediate redraw (#3366). Thanks @kmatch98.supervisor.runtime.serial_connected
is now more accurate, and can detect both disconnect and reconnect (#3437). Thanks @jepler.
Fixes and enhancements
struct
: improve compliance with CPython (#3404). Thanks @jepler.- Implement improved message compression scheme (#3398). Thanks @ciscorn and @jepler.
- Add bigram message compression (#3370, superseded by #3370). Thanks @jepler.
- Fix I2C-related
displayio
crashes (#3392). Thanks @hierophect. - Fix decompression of certain Unicode values (#3385). Thanks @jepler.
- Make sure
board.SPI()
is unlocked after a soft reboot (#3378). Thanks @DavePutz. - Guard against
NO_PIN
pin numbers being passed to various routines (#3375). Thanks @DavePutz. - Add dirty Rectangle tracking to
displayio.Shape
(#3374). Thanks @kmatch98. - Fix several
RGBMatrix
andFrameBufferDisplay
bugs (#3344). Thanks @jepler. - Clean up a conditionally compiled part of the code for
sdioio
(#3435). Thanks @jepler.
Board- and port-specific changes
- ESP32-S2:
- Add native WiFi support (#3326). Thanks @tannewt.
- Add filesystem layouts for 8MB and 16MB partitions (#3426). Thanks @tannewt.
- Implemented
rtc
(#3422). Thanks @askpatrickw. - Add port-specific README, with build and flash information (#3417). Thanks @hierophect.
- Add safe mode support (#3395). Thanks @microdev1.
- Add non-DMA SPI support (#3393). Thanks @tannewt.
- Add
openocd
and gdb debugging support (#3392). Thanks @hierophect. - Add
microcontroller.cpu.temperature
support (#3382). Thanks @hierophect. - Allow connecting to a specific WiFi BSSID (access point) (#3433). Thanks @astrobokonon.
- Feather M4 Express was using dual-mode QSPI instead of quad-mode (#3399). Thanks @jepler.
- Feather M0 RFM69: Freeze libraries into build (#3388). Thanks @jerryneedell.
- Add SAME51 support to
atmel-samd
(#3384). Thanks @jepler. - Trellis M4: Fix pins used for `board.I2C() (#3373). Thanks @dhalbert.
- Spresense: Add native camera support (#3369). Thanks @kamtom480.
- Unix: Fix
import ulab.linalg
crash (#3355). Thanks @jepler. - BLM Badge: Add
board.I2C()
(#3348). Thanks @ladyada. - SAME54: Disable
microcontroller.cpu.voltage
, as it is hanging (#3434). Thanks @jepler. - atmel-samd: Fix SPI code that handled SAMR21 special case (#3436). Thanks @jepler.
- STM32: Make sure MOSI is high during SPI read (#3431). Thanks @hierophect.
- MakerDiary boards: Add pin aliases such as SCL and SDA, and canonicalize other names (#3438). Thanks @nitz.
- BDMICRO VINA M0 renamed to VINA D21; pins updated (#3432). Thanks @bd34n.
- STM32: Add never_reset calls to RGBMatrix init (#3441). Thanks @hierophect.
Documentation
- New translation started for Greek.
- Numerous translation additions and improvements. Thanks:
- Fix typo in
_bleio
documentation (#3411). Thanks @jepler. - Remove documentation about non-existent clock specification (#3406). Thanks @CarlFK.
- Use
shared-bindings
for support matrix, special-casingulab
(#3352). Thanks @jepler.
Internals and build process
- Enable diagnostic for fall-through
case
arms inswitch
statements, catching several bugs. Thanks @jepler. - Remove debugging printout in endpoint-counting code during build (#3359). Thanks @jepler.
- Clone the
esp-idf
submodules explicitly in the GitHub build action to prevent build hiccups (#3358). Thanks @jepler. - Make build script not rely on Python 3.7 features (#3443). Thanks @jepler.
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 3
- Muselab nano ESP32-S2 (#3427). Thanks @maditnerd.
- Py QT (#3407). Thanks @ladyada.
- Feather M4 CAN (#3384). Thanks @jepler.
- Matrix Portal M4 (#3363). Thanks @dhalbert.
Known issues
- Use of the
adafruit_sdcard
library can interfere withdisplayio
operations that use read from an SD card (e.g.,OnDiskBitmap
). Use the nativesdcardio
orsdio
modules instead, to avoid this problem. - See https://github.com/adafruit/circuitpython/issues for other issues.
Thanks
Thank you to all who used, tested, and contributed since 6.0.0 Alpha 3, including @Andon-A, @anecdata, @askpatrickw, @astrobokonon, @bd34n, @bergdahl, @CarlFK, @ciscorn, @cjsieh, @DavePutz, @dhalbert, @emard, @fede2cr, @fetchall, @FoamyGuy, @hierophect, @hugodahl, @jepler, @jerryneedell, @julianrendell, @kamtom480, @kmatch98, @ladyada, @maditnerd, @microdev1, @nitz, @PaintYourDragon, @siehputz, @sommersoft, @tannewt, @tawez, @titoluyo, @weblate, @wtuemura, and many more on Discord. 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.