github adafruit/circuitpython 6.0.0-alpha.3
CircuitPython 6.0.0 Alpha 3

latest releases: 9.2.0, 9.2.0-rc.0, 9.2.0-beta.1...
pre-release4 years ago

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.

Don't miss a new circuitpython release

NewReleases is sending notifications on new releases.