Skip to content

Releases: adafruit/circuitpython

CircuitPython 6.1.0 Beta 2

03 Dec 18:21
fb90f51
Compare
Choose a tag to compare
Pre-release

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

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

New boards

Known 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

20 Nov 01:07
2f14609
Compare
Choose a tag to compare
Pre-release

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 @DavePutz
  • touchio, rotaryio, watchdog, and countio support added. Thanks to @microdev1
  • canio 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

Known 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

17 Nov 23:17
e2b5ae2
Compare
Choose a tag to compare
Pre-release

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

16 Nov 21:19
42ca57f
Compare
Choose a tag to compare

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 native displayio 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. Disabled socket, wiznet5k and network modules. They will be removed in 7.x in favor of networking libraries.
  • Updated stage and pew libraries.
  • _pixelbuf improvements.
  • Improved USB serial detection.
  • json can now read from stream objects.
  • pulseio.PWMOut is split out into pwmio.PWMOut. It is still available in pulseio, 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 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.
  • The default speed of busio.I2C and board.I2C() is now 100khz, not 400khz as before. Use busio.I2C to set the speed explicitly.
  • _bleio.ConnectionError has been removed. Code will now raise the native ConnectionError instead.
  • Removed Mixer, RawSample, and WaveFile from audioio. They are now only available in audiocore. 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

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

12 Nov 01:51
105ec12
Compare
Choose a tag to compare
Pre-release

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

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 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.
  • 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 native ConnectionError instead.

New boards since 6.0.0-rc.1

  • No new boards in this release.

Known 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

03 Nov 03:45
9765b2c
Compare
Choose a tag to compare
Pre-release

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() and board.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

Documentation

  • No changes in this release.

Internals and build process

  • mpy-cross-mac build fixed after change in awscli (#3578). Thanks @jepler.

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.
  • 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 native ConnectionError instead.

New boards since 6.0.0-rc.0

  • No new boards in this release.

Known 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

16 Oct 19:01
f0b3731
Compare
Choose a tag to compare
Pre-release

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 and await 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

Documentation

  • Numerous translation additions and improvements. Thanks:

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.
  • 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 native ConnectionError instead.

New boards since 6.0.0 Beta 2

Known 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

05 Oct 18:35
9ed7cbf
Compare
Choose a tag to compare
Pre-release

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

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

01 Oct 22:47
551f78e
Compare
Choose a tag to compare
Pre-release

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

Fixes and enhancements

Board- and port-specific changes

Documentation

Internals and build process

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

Known 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

21 Sep 19:21
df067b4
Compare
Choose a tag to compare
Pre-release

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-argument pow(), needed for a port of Decimal (#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 and FrameBufferDisplay 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:
  • 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

Internals and build process

  • Enable diagnostic for fall-through case arms in switch 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 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 3

Known issues

  • Use of the adafruit_sdcard library can interfere with displayio operations that use read from an SD card (e.g., OnDiskBitmap). Use the native sdcardio or sdio 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.