Skip to content
Pre-release

@tannewt tannewt released this Oct 16, 2020 · 93 commits to main since this 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

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.

Assets 2
Pre-release

@tannewt tannewt released this Oct 5, 2020 · 234 commits to main since this 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.

Assets 2
Pre-release

@tannewt tannewt released this Oct 1, 2020 · 243 commits to main since this 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.

Assets 2
Pre-release

@dhalbert dhalbert released this Sep 21, 2020 · 405 commits to main since this 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.

Assets 2
Pre-release

@dhalbert dhalbert released this Aug 28, 2020 · 748 commits to main since this release

This is the third alpha release of CircuitPython 6.0.0. It is relatively stable. The release is still alpha because some API changes and additions are not yet included. Upcoming in a future release but not yet included are ESP32-S2 Wifi support, and _bleio HCI support for ESP32 co-processors.

The most notable additions since 5.3.x are 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.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).

New features and improvements since 6.0.0 Alpha 2

API changes

  • Disable socket, wiznet5k and network modules. They will be removed in 7.x in favor of networking libraries. Thanks @tannewt.
  • Add memorymonitor for memory debugging. It must be enabled on a local build. Thanks @tannewt.
  • Add .find, .rfind, .index and .rindex to bytearray for CPython-compatible builds. Thanks @tannewt.
  • json.load now works with any object with readinto. Thanks @tannewt.
  • 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 (#3299). Thanks @tannewt.
  • _bleio: Allow changing MAC address (#3276). Thanks @xiongyihui.
  • _pixelbuf now supports iterables and floats (#3260). Thanks @rhooper.
  • nrf: Turn off QSPI when sleeping (#3244). Thanks @xiongyihui.
  • Add coroutine behavior for generators (#3178). Thanks @WarriorOfWire.

Fixes

Board- and port-specific changes

Documentation

Internals and build process

  • Check for too many USB endpoints needed (#3304). Thanks @jepler.
  • Compress messages more efficiently by not including QSTR's (#3298). Thanks @ciscorn.
  • Squeeze builds to fit new translations (#3273, #3236, #3230). #3236 in particular saved a lot of space in a math routine. Thanks @jepler.
  • Report number of missing displayio font characters for messages (#3300). Thanks @jepler.
  • Less verbose build logs (#3290). Thanks @jepler.
  • Fix mpy-cross dependency analysis during make (#3239). Thanks @jepler.
  • Fix gcc10 compilation issues (#3231, #3218). Thanks @jepler and @tannewt.
  • Upload mpy-cross builds to Amazon S3 (#3220). Thanks @dhalbert.
  • Fix compilation on Windows msys (#3219). Thanks @ladyada.
  • Fix doc-building dependencies (#3212). Thanks @tannewt.
  • Parallelize GitHub CI builds (#3203). Thanks @WarriorOfWire.
  • Allow different compiler optimizations per board. Choose faster optimization on boards that have the space (#3190). Thanks @DavePutz.
  • Fix same-line comment issue in makefiles (#3333). Thanks @hierophect.

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 2

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 2, including @anecdata, @ansonhe97, @bergdahl, @bleeptrack, @brentru, @bunnie, @burtyb, @bwshockley, @ciscorn, @cwalther, @DavePutz, @deshipu, @dhalbert, @dpgeorge, @dunkmann00, @fede2cr, @FoamyGuy, @hathach, @hexthat, @hierophect, @jepler, @jerryneedell, @joeycastillo, @jonathanhogg, @josecastillo, @kamtom480, @kmatch98, @ladyada, @microDev1, @rhooper, @ryevertigo, @sabas1080, @sommersoft, @tannewt, @WarriorOfWire, @weblate, @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.

Assets 2
Pre-release

@tannewt tannewt released this Jul 23, 2020 · 1202 commits to main since this release

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, this unstable release 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 and network 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 to bytearray for CPYTHON compatible builds. Thanks to @tannewt
  • json.load now works with any object with readinto. Thanks to @tannewt

Internals

  • 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

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 1

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.

Assets 2
  • 5.3.1
  • 365d69e
  • Compare
    Choose a tag to compare
    Search for a tag
  • 5.3.1
  • 365d69e
  • Compare
    Choose a tag to compare
    Search for a tag

@tannewt tannewt released this Jul 13, 2020 · 2 commits to 5.3.x since this release

This is CircuitPython 5.3.1, the second 5.3.x stable release. This release fixes RGBW handling with PixelBuf. Otherwise, it is identical to 5.3.0. See below for a more detailed list.

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 5.3.0

  • Add pixelbuf support for setting the white component of RGBW pixels automatically when given an RGB color value. (This is what NeoPixel used to do.) Thanks to @rhooper

Full commit log is here.

Breaking Changes and Deprecations from 4.x

  • 5.0.0 improves our internal filesystem definitions and may overwrite your existing files so make sure to back them up before updating!
  • The bleio module has been renamed to _bleio to indicate that it is meant to be used only for writing BLE libraries, and that its API may change between CircuitPython minor versions. There are many incompatible changes in _bleio since 4.0.0. Please use the latest adafruit_ble library for end-user BLE programming.
  • The displayio refresh API has been revamped to be simpler. wait_for_frame and refresh_soon have been removed. In both 4.x and 5.x, auto refresh will automatically refresh the display so they can be removed. The new auto_refresh property and refresh() function can be used to control when the screen refreshes and at a specific rate.
  • Moved audioio.Mixer to audiomixer.Mixer, which is only available on M4 microcontrollers. Moved audioio.RawSample, and audioio.WaveFile to the new module audiocore. However, for backwards compatibility, they are still available in audioio. They will be removed from audioio in 6.0.0. Thanks @jepler.
  • Added I2C.writeto_then_readfrom(). Deprecate stop= arg which will be removed in 6.x. Use I2C.writeto_then_readfrom() instead.
  • Removed re from Circuit Playground Express Display build.
  • Removed gamepad from Circuit Playground Express Crickit build.

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, helped out, and participated on GitHub and/or Discord, including @rhooper, 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).

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.

Assets 2
Pre-release

@tannewt tannewt released this Jul 2, 2020 · 1445 commits to main since this release

This is the first alpha release of CircuitPython 6.0.0. It is a renumbered version of 5.4.0 because i2cslave module and class have been renamed to i2cperipheral. It is alpha because we may remove or rename additional APIs. It is relatively stable.

Feature-wise, this stable release 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 5.4.0 Beta 1

  • Added sdioio and sdcardio for native SDCard support. Available on SAMD51 and spresense. Thanks to @jepler and @kamtom480.
  • Added busio support to ESP32-S2. Thanks to @tannewt
  • Add support for SAME54. Thanks to @jepler
  • Add global navigation satellite system (gnss) support for Spresense. Thanks to @kamtom480
  • Improved ESP32-S2 performance. Thanks to @tannewt and @DavePutz
  • Updated ulab thanks to @jepler and @v923z
  • Fix time.sleep() after it has been ctrl-c'd. Thanks to @DavePutz
  • Fix microcontroller.cpu.temperature read hang. Thanks to @dhalbert
  • Fix ScanEntry prefix matching when any=False. Thanks to @dhalbert
  • Fixed port D pins on STM32 LQFP64 boards. Thanks to @hierophect
  • Fixed I2C timing on STM32 F7 and H7. Thanks to @hierophect
  • Fixed display refresh when changing palette transparency. Thanks to @DavePutz
  • Meowbit build is now UF2 rather than a bin. Thanks to @hierophect
  • Documentation improvements thanks to @AndrewR-L
  • Improved Dutch, German, Brazilian Portuguese and Spanish translations. Thanks to @buchen, @fede2cr, @ryevertigo, and @wtuemura.

Full commit log is here.

Breaking changes since 5.x

  • i2cslave is now i2cperipheral and the class in it is changed as well.

New boards since 5.4.0 Beta 1

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.
  • pulseio.PulseIn isn't reliable on SAMD21. #3049
  • Performance has dropped since 5.3.0 due to excessive background work. #2929
  • See https://github.com/adafruit/circuitpython/issues for other issues.

Thanks

Thank you to all who used, tested, contributed since 5.4.0 Beta 1, helped out, and participated on GitHub and/or Discord, including @ansonhe97, @buchen, @DavePutz, @deshipu, @dhalbert, @fede2cr, @florin-trutiu, @hierophect, @jepler, @jerryneedell, @kamtom480, @kattni, @k0d, @ladyada, @PTS93, @rhooper, @sommersoft, @v923z, @wtuemura 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.

Assets 2
Jun 25, 2020
Merge pull request #3034 from jepler/terminology-cleanup
M/S Terminology cleanup
Pre-release

@tannewt tannewt released this Jun 8, 2020 · 6 commits to master since this release

This is the second beta release of CircuitPython 5.4.0. This release adds basic lower power support when in time.sleep(). 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 5.4.0 Beta 0

  • New port for the ESP32-S2. Thanks to @tannewt, @jerryneedell, @jepler
  • New countio module to count pulses. Thanks to @LearnWeaver
  • New watchdog module to control built in WatchDog. Only on nRF52840 currently. Thanks to @xobs
  • New vectorio module for native displayio shapes. Thanks to @WarriorOfWire
  • New pre-commit hooks. Thanks to @Flameeyes
  • Native module docs are now Python stubs. Thanks to @dherrada, @sommersoft and @tannewt
  • Add one directional UART support to iMX RT. Thanks to @hierophect
  • Add negative step support to PixelBuf. Thanks to @dunkmann00
  • Add support for anonymous BLE advertising. Thanks to @xobs
  • Add support for REPL over debug UART. Only on STM32. Thanks to @k0d
  • Add bytearray.decode() for improved CPython compatibility. Thanks to @theacodes
  • Fix garbled audio playback when voice 0 is stopped. Thanks to @jepler
  • Fix timekeeping on Spresence. Thanks to @kamtom480
  • Fix exception when no bus is found to match other ports (and be compatible with find pin combo scripts.) Thanks to @arturo182
  • Fix pulseio deinit issue on SAMD. Thanks to @DavePutz
  • Fix USB race condition on SAMD. Thanks to @hathach
  • Fix microcontroller.cpu.temperature crash on iMX RT. Thanks to @arturo182
  • Fix gamepad and gamepadshift after lower power changes. Thanks to @jepler
  • Increase max SPI speed on iMX RT. Thanks to @arturo182
  • Allow setting RGBW pixels with RGB value. Thanks to @rhooper
  • Update ulab. Thanks to @jepler and @v923z
  • Clock configuration improvements on STM and iMX RT. Thanks to @hierophect
  • Add support for GD25S512MD flash chip. Thanks to @bd34n
  • New translations for Czech (cs) and Dutch (nl). Thanks to @DustinWatts, @vooralfred, @dronecz and @jepler.
  • Improved German, French and Swedish translations. Thanks to @bergdahl, @aberwag, @dglaude, Thomas Friehoff, @PTS93, and @jepler.

Full commit log is here.

New boards since 5.4.0 Beta 0

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 5.4.0 Beta 0, helped out, and participated on GitHub and/or Discord, including @aberwag, @arturo182, @bd34n, @BradChan, @DavePutz, @deshipu, @dglaude, @dhalbert, @dunkmann00, @Flameeyes, @hathach, @hierophect, @jepler, @jerryneedell, @JoeBakalor, @jpecor, @kamtom480, @kattni, @k0d, @ladyada, @LearnWeaver, @maholli, @mew-cx, @Nicell, @PTS93, @rhooper, @sommersoft, @spkuehl, @Teknikio, @theacodes, Thomas Friehoff, @v923z, @WarriorOfWire, @xiongyihui, @xobs 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).

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.

Assets 2
You can’t perform that action at this time.