github adafruit/circuitpython 6.2.0-beta.4
CircuitPython 6.2.0 beta 4

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

This release, 6.2.0-beta.4, is the fifth beta release of CircuitPython 6.2.0. Notable changes since 6.2.0-beta.3 include new RP2040 fixes and features, enhancements to bitmaptools, and turning off usb_cdc by default (it can still be enabled in a custom build). See Port status below for details on port stability for each port, and Known issues for known problems. If you find any issues with this release, please file an issue.

Download from circuitpython.org

Firmware downloads are available from the downloads page on circuitpython.org. The site makes it easy to select the correct file and language for your board.

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, cxd56 (Spresense), nrf, and stm for the F4 family are stable. esp32s2, raspberrypi, and stm for other STM 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.

Changes since 6.2.0-beta.3

Full commit log is here.

Fixes and enhancements

  • Mark bitmaptools.arrayblit() destination as dirty. #4430. Thanks @jepler.
  • Add displayio.Palette.is_transparent(palette_index). #4426. Thanks @kmatch98.
  • Add uniform board.LED pin names for several boards. More later. #4421. Thanks @kattni.
  • Add bitmaptools.readinto() and bitmaptools.arrayblit(). #4403. Thanks @jepler.
  • Disable usb_cdc, the second USB serial port, by default. it was on by default in 6.2.0-beta.3. It is still available to use in a custom build. #4384. Thanks @dhalbert.
  • Save ~1500 bytes of firmware space via slight changes in vm execution with a minor speed penalty. #4344. Thanks @jepler.
  • Refactor displayio set_pixel for use in bitmap_tools. #4357. Thanks @kmatch98.
  • Update TinyUSB. #4327. Thanks @hathach.
  • Fix regression of TinyUSB version. #4365. Thanks @tannewt.
  • Fix incorrect 16-bit signedness in displayio.TileGrid. #4287. Thanks @deshipu.
  • Fix TileGrid.transpose_xy crash. #4331. Thanks @dhalbert.
  • Update ulab to fix matrix vetor multiplication issue. #4250. Thanks @jepler.
  • Code and documentation cleanups. #4335. #4337, #4338, #4351, #4391. Thanks @tyomitch.

Board- and port-specific changes

Build and infrastructure changes

  • Run code-formatting over source code based and add to pre-commit. #4362, #4415. Thanks @MicroDev1 and @jepler.
  • Shrink some builds, using optimization flags. #4333. Thanks @dhalbert.
  • Avoid secondary build failure when a test fails. #4340. Thanks @jepler and thanks @MicroDev1 for the original inspiration PR.
  • Automatically count EXTERNAL_FLASH_DEVICES. #4358. Thanks @jepler.

Documentation

New boards since 6.2.0-beta.3

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.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.2.0-beta.3, including @ajs256, @askpatrickw, @bergdahl, @caternuson, @danielwarnersmith, @DavePutz, @dglaude, @dhalbert, @dpgeorge, @Edrig, @falkenad, @FBSeletronica, @fede2cr, @FoamyGuy, @hathach, @hexthat, @hierophect, @hugodahl, @ismael-miguel, @jamesbowman, @jepler, @jerryneedell, @jposada202020, @kamtom480, @kattni, @kevinjwalters, @kmatch98, @ladyada, @makermelissa, @MicroDev1, @mintakka, @MisterD66, @nitz, @Padanian, @siehputz, @skieast, @spe2, @tannewt, @tylercrumpton, @tyomitch, @v923z, @weblate, @wtuemura, and many others on GitHub and 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.

Don't miss a new circuitpython release

NewReleases is sending notifications on new releases.