Skip to content

Releases: adafruit/circuitpython

CircuitPython 7.0.0 Alpha 6

11 Aug 23:46
0632a1e
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-alpha.6, an alpha release for CircuitPython 7.0.0. It is relatively stable, but contains a number of issues still to be addressed for 7.0.0. The Python API's it presents may change.

Notable additions to 7.0.0 since 6.3.0 include:

  • Support for the CircuitPython development workflow over BLE.
  • Camera support on ESP32S2.
  • qrio: QR code decoding.
  • The keypad key-scanning module.
  • Run-time customization of USB devices.
  • Merging in of MicroPython fixes and enhancements as of MicroPython 1.16.
  • _pixelbuf is now adafruit_pixelbuf.
  • colorwheel() routine moved to rainbowio.
  • supervisor.ticks_ms() to allow easier time-keeping.
  • Simplifications to the RGB status LED codes.
  • A clocking fix for a few samples of RP2040 boards.
  • Rework of vectorio and some of its API. VectorShape is no longer needed for user code.
  • getpass module.
  • traceback module.
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • supervisor.get_previous_traceback().

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 implementations for different microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd, cxd56 (Spresense), esp32s2, nrf,raspberrypi, stm for the F4 family are stable. stm for other STM chip families is 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 7.0.0-alpha.5

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

ESP32S2

NRF

RP2040

SAMx

Spresense

STM32

Individual Boards

  • Adafruit Circuit Playground Express and Bluefruit: Use all ten NeoPixels for status. #5052. Thanks @tannewt.
  • Adafruit MagTag: Use all four LEDs for status. #5075. Thanks @tannewt.
  • Adafruit Proximity Trinkey: Add native adafruit_busdevice. #5058. Thanks @ladyada.
  • Arduino Nano RP2040 Connect: Add IS25LP128F flash chip support. #5055. Thanks @todbot.
  • ATMegaZero ESP32-S2: Fix MOSI and MISO pin mappings. #5116. Thanks @eddieespinal.
  • STM32F405: Fix CAN pin assignments. #5056. Thanks @jepler.
  • STM32F411 BlackPill: Correct manufacturer. #5102. Thanks @evildave666.
  • STM32F411 BlackPill with flash: Remove empty flash space. #5061. Thanks @evildave666.
  • BDMICRO VINA-D51: Add MX25L12833F flash chip support. #5098. Thanks @bd34n.

New boards Since 6.3.0

Documentation

  • Add list of supported boards to each module's documentation page. #5054. Thanks @jepler.
  • Move ulab documentation to correct locations. #5028. Thanks @jepler.

Build and infrastructure changes

  • Print test failure information. #5093. Thanks @microdev1.
  • Compress word offset table, reducing build size. #5107. Thanks @jepler.
  • Unpin sphinx-autoapi version due to fixed bug. #5096. Thanks @jepler.
  • VID/PID checker script is now more flexible about repo hierarhcy. #5070. Thanks @jepler.
  • Clean up obsolete TODO comments. #5050. Thanks @cwalther.

Translation additions and improvements

Breaking changes and deprecations since 6.x

  • The RGB status LED codes have changed for clarity and to save power.
  • PWMOut is now only in pwmio, and is no longer in both pulseio and pwomio.
  • colorwheel() has been moved from _pixelbuf to rainbowio.
  • display.Group no longer has a max_size parameter.
  • vectorio: Rectangle, Circle, and Polygon are added directly to a Group; VectorShape is not needed.
  • Using a PWMOut for PulseOut is deprecated and will be removed in 8.0.0.
  • gamepad is removed: use keypad. gamepadshift is still present but will be removed in 8.0.0.
  • settings.py and settings.txt are no longer alternative names for boot.py.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.3.0, including the contributors above, 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.16. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

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

CircuitPython 7.0.0 Alpha 5

21 Jul 19:58
10645bf
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-alpha.5, an alpha release for CircuitPython 7.0.0. It is relatively stable, but contains a number of issues still to be addressed for 7.0.0. The Python API's it presents may change.

Notable additions to 7.0.0 since 6.3.0 include:

  • Support for the CircuitPython development workflow over BLE.
  • Camera support on ESP32S2.
  • The keypad key-scanning module.
  • Run-time customization of USB devices.
  • Merging in of MicroPython fixes and enhancements as of MicroPython 1.16.
  • _pixelbuf is now adafruit_pixelbuf.
  • colorwheel() routine moved to rainbowio.
  • supervisor.ticks_ms() to allow easier time-keeping.
  • Simplifications to the RGB status LED codes.
  • A clocking fix for a few samples of RP2040 boards.

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 implementations for different microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd, cxd56 (Spresense), esp32s2, nrf,raspberrypi, stm for the F4 family are stable. stm for other STM chip families is 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 7.0.0-alpha.4

The full commit log is here.

Fixes and enhancements

  • Fix timing issue with keypad.KeyMatrix. #5031. Thanks @dhalbert.
  • Disable blue-blink pairing delay on reset on non-BLE workflowboards. #5024. Thanks @tannewt.
  • Update frozen libraries. #5022. Thanks @dhalbert.
  • Add microcontroller.RunMode.UF2. #4925. Thanks @microdev1.
  • Fix memory error in OnDiskBitmap. Allow passing in a filename. #5017. Thanks @jepler.
  • Restore default epoch to 1970. #4961. Thanks @dhalbert.
  • Rename ScanEntry.matches() arg to match_all. #5006. Thanks @tannewt.
  • Fix keypad.EventQueue type name and missing .overflowed. #5011. Thanks @dhalbert.
  • Rename _pixelbuf to adafruit_pixelbuf; keep old name as alias. #5010. Thanks @kattni.
  • Fix timestamp values when epoch is 2000. #4762. Thanks @Neradoc.
  • Allow subclassing busio.UART. #3941. Thanks @AdamCummick.
  • Fix MIDI write error. #4995. Thanks @hathach.
  • Add rainbowio for colorwheel(). #4976, #4991. Thanks @kattni.
  • Add supervisor.ticks_ms() to allow easier time-keeping, especially on non-longint builds. #4936. Thanks @jepler.

Port and board-specific changes

ESP32S2

NRF

RP2040

SAMx

  • Do not crash when busio.UART constructor fails. #5026. Thanks @tannewt.
  • Remove MICROPY_PORT_* macros used in atmel-samd. Do never_reset() instead. #5007. Thanks @tannewt.
  • Fix AnalogOut pin handling. #4994. Thanks @bobthechemist.
  • Allow board-specific internal filesystem sizes on SAMD21. #4977. Thanks @deshipu.

Individual Boards

  • Fix flash size for Arduino Nano RP2040 Connect. #5035. Thanks @tannewt.
  • Adafruit FunHouse: Reduce display SPI speed to fix display glitches. #4793. Thanks @kmatch98.
  • pewpew10. Use _pew.get_ticks() for time tracking. #4980. Thanks @deshipu.
  • Add board.LED and board.GP25 on Cytron Maker Pi Pico. #4981. Thanks @DavePutz.

New boards Since 6.3.0

Documentation

Build and infrastructure changes

Translation additions and improvements

Breaking changes since 6.x

  • The RGB status LED codes have changed for clarity and to save power.
  • PWMOut is now only in pwmio, and is no longer in both pulseio and pwomio.
  • colorwheel() has been moved from _pixelbuf to rainbowio.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.3.0, including the contributors above, 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.16. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

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

CircuitPython 7.0.0 Alpha 4

08 Jul 20:06
e51d5e4
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-alpha.4, an alpha release for CircuitPython 7.0.0. It is relatively stable, but contains a number of issues still to be addressed for 7.0.0. The Python API's it presents may change.

Notable additions to 7.0.0 since 6.3.0 include:

  • Support for the CircuitPython development workflow over BLE.
  • Camera support on ESP32S2.
  • The keypad key-scanning module.
  • Run-time customization of USB devices.
  • Merging in of MicroPython fixes and enhancements as of MicroPython 1.16.
  • Simplifications to the RGB status LED codes.
  • A clocking fix for a few samples of RP2040 boards.

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 implementations for different microcontroller families. Stability varies on a per-port basis. As of this release, atmel-samd, cxd56 (Spresense), esp32s2, nrf,raspberrypi, stm for the F4 family are stable. stm for other STM chip families is 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.3.0

The full commit log is here.

Fixes and enhancements

  • Provide for a BLE development workflow with BLE file transfer and a BLE serial connection. #4918, #4957. Thanks @tannewt.
  • Add keypad module for scanning keys or buttons, key matrices, and shift-register keys. #4891. Thanks @dhalbert.
  • displayio support for BGR color modes. #4952. Thanks @jepler.
  • Correct partial refresh of displayio.TileGrid. #4876. Thanks @t-ikegami.
  • Merge in MicroPython 1.16. #4897. Thanks @jepler.
  • Fix handling of hidden objects in displayio. #4915. Thanks @Neradoc.
  • Allow constructing a time.struct_time() from another struct_time. #4931. Thanks @microdev1.
  • Fix buffer handling in usb_cdc.Serial. #4922. Thanks @dhalbert.
  • Update ulab to 3.0.0. #4881. Thanks @jepler.
  • Re-enable slice indices. #4857. Thanks @dunkmann00.
  • Fix REPL move-cursor escape sequence. #4853. Thanks @t-ikegami.
  • Fix bytes() and bytearray() input validation. #4947. Thanks @microdev1.

Port and board-specific changes

ESP32S2

NRF

RP2040

SAMx

Individual Boards.

  • Add MacroPad RP2040 display initialization. #4949. Thanks @deshipu.
  • Improve MacroPad RP2040 pin definitions. #4941. Thanks @kattni.
  • Fix missing board.SPI() on MacroPad RP2040. #4966. Thanks @dgriswo.
  • PewPew M4: use keypad instead of gamepad. #4942. Thanks @deshipu.
  • Fix pin assignments on Wio Terminal. #4890, #4913. Thanks @t-ikegami.
  • Fix pin assignments on Unexpected Maker TinyS2. #4887. Thanks @mcauser2.
  • Add pin alias to Adafruit Slider Trinkey. #4889. Thanks @kattni.
  • Update ESP config for LILYGO TTGO T8 ESP32-S2. #4873. Thanks @netroy.

New boards Since 6.3.0

Documentation

Build and infrastructure changes

  • Convert to using issue forms instead of templates in GitHub. #4950. Thanks @ajs256.
  • Add manual tests for alarm module. #4904. Thanks @hierophect.
  • Fix duplicate line in setup.py. #4906. Thanks @FoamyGuy.
  • Fix build issue when CIRCUITPY_USB is off. #4858. Thanks @EmergReanimator.
  • Improve parallelism of run_tests, incorporating changes from MicroPython. #4855. Thanks @jepler.
  • Delete ports/nrf/examples/. #4972. Thanks @microdev1.

Translation additions and improvements

Breaking changes since 6.x

  • OnDiskBitmap can now use Palettes. #4823. Thanks @jepler.
  • The RGB status LED codes have changed for clarity and to save power. #4743. Thanks @tannewt.
  • PWMOut is now only in pwmio, and is no longer in both pulseio and pwomio. #4694. Thanks @dhalbert.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.2.0, including the contributors above, 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.16. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

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

CircuitPython 7.0.0 Alpha 3

03 Jun 16:37
c7df5e9
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-alpha.3, an alpha release for CircuitPython 7.0.0. It is relatively stable, but contains a number of issues still to be addressed for 7.0.0. The Python API's it presents may change.

Notable additions to 7.0.0 include run-time customization of USB devices, merging in of MicroPython fixes and enhancements as of MicroPython 1.15, simplifications to the RGB status LED codes, and a clocking fix for a few samples of RP2040 boards.

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 implementations for different 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.3.0

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

ESP32S2

i.MX

NRF

RP2040

SAMx

Spresense

Trinkeys

Individual Boards.

New boards Since 6.3.0

Documentation

Build and infrastructure changes

  • Remove Adafruit boards that did not turn into products. #4812. Thanks @dhalbert.
  • Generate mpy-cross builds for MacOS M1 machines. #4835, #4836. Thanks @jepler.
  • Add trial CI Windows builds with MSYS2. #4826. Thanks @jepler.
  • Print more firmware memory information on ESP32-S2. #4763. Thanks @jepler.
  • Fix builds to support cp1252 code pages. #4751. Thanks @jepler.
  • Fix stray warning on MacOS builds. #4740. Thanks @jepler.
  • Make .mpy version info include origin as CircuitPython. #4713. Thanks @jepler.
  • Add aarch64 version of mpy-cross for use on RPi 64-bit OS's. #4712. Thanks @jepler.
  • Ensure all appropriate code files are being consider for reformatting. #4692. Thanks @jepler.
  • Correct builds with USB turned off. #4619. Thanks @tyomitch.
  • Extract failed builds into a convenient list. #4605. Thanks @tannewt.
  • Remove unstable release from circuitpython.org when superseded by stable release. #4594. Thanks @Neradoc.

Translation additions and improvements

Breaking changes since 6.x

  • OnDiskBitmap can now use Palettes. #4823. Thanks @jepler.
  • The RGB status LED codes have changed for clarity and to save power. #4743. Thanks @tannewt.
  • PWMOut is now only in pwmio, and is no longer in both pulseio and pwomio. #4694. Thanks @dhalbert.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.2.0, including the contributors above, 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.15. Support upstream MicroPython by purchasing [a PyBoard](...

Read more

CircuitPython 6.3.0

01 Jun 20:16
e494ca4
Compare
Choose a tag to compare

This is CircuitPython 6.3.0, the latest minor revision of CircuitPython, and is a new stable release. Notable changes since 6.2.0 include many new boards, many corrections to existing boards, and the addition of a consistent board.LED to most boards. 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 implementations for different 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

The full commit log is here. Nearly all the changes in 6.3.0 were backported from the main branch and will be present in 7.0.0 releases.

Fixes and enhancements

Port and board-specific changes

New boards

Documentation

Build and infrastructure changes

(None in this release)

Translation additions and improvements

(None 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.
  • _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, including the contributors above, 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.

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

CircuitPython 6.3.0 Release Candidate 0

25 May 21:17
e494ca4
Compare
Choose a tag to compare
Pre-release

This release, 6.3.0-rc.0, is the first release candidate for the stable release of CircuitPython 6.3.0. Notable changes since 6.2.0 include many new boards, many corrections to existing boards, the addition of a consistent board.LED to most boards, and a timing fix for the certain samples of RP2040 boards. 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 implementations for different 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

The full commit log is here. Nearly all the changes in 6.3.0 were backported from the main branch and will be present in 7.0.0 releases.

Fixes and enhancements

Port and board-specific changes

New boards

Documentation

Build and infrastructure changes

(None in this release)

Translation additions and improvements

(None 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.
  • _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, including the contributors above, 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.

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

CircuitPython 6.2.0

05 Apr 21:13
7157693
Compare
Choose a tag to compare

This is CircuitPython 6.2.0, the latest minor revision of CircuitPython, and is a new stable release. See Port status below for details on port stability, 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.-rc.0

  • Fix regression of HID Mouse support on MacOS. #4558. Thanks @dhalbert.

Change since 6.1.0

The changes are too extensive to list here. Please see these releases for details:

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.

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.1.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.

CircuitPython 6.2.0 Release Candidate 0

01 Apr 02:35
d0ba75e
Compare
Choose a tag to compare
Pre-release

This release, 6.2.0-rc.0, is the first release candidate for the stable release of CircuitPython 6.2.0. Notable changes since 6.2.0-beta.4 include displayio and vectorio fixes and improvements, many i.MX fixes and additions, and RP2040 I2C improvement. 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.4

Full commit log is here.

Fixes and enhancements

  • Turn off remote wakeup in USB configuration descriptor. #4517. Thanks @dhalbert.
  • Correct TypeError message in time. #4509. Thanks @lesamouraipourpre.
  • Allow memoryview() to be used for RGBMatrix. #4501. Thanks @
  • bitbangio.SPI enhancements. #4497. Thanks @jepler.
  • displayio and vectorio internal improvements. Thanks @kmatch98.
  • Correct vectorio.Rectangle sizes. #4484. Thanks @kmatch98.
  • Correct displayioredrawing when using TileGrid.transform_xy. #4464. Thanks @kmatch98.
  • Fix support for MS25R1635F chip. #4460. Thanks @lyusupov.
  • Handle 4-bit colors in bitmaptools properly. #4454, #4455. Thanks @jepler and @kmatch98.
  • Improve handling of dirty areas in displayio.Bitmap. #4432. Thanks @jepler.
  • Mark bitmap area as dirty in bitmaptools.arrayblit(). #4430. Thanks @jepler.
  • display.BitMap can be a memoryview(). #4429. Thanks @jepler.
  • Add reverse_rows capability to bitmaptools.readinto(). #4428. Thanks @kmatch98.

Port and board-specific changes

  • ESP32-S2
    • Use correct byte order for recvfrom_into() port. #4465. Thanks @anecdata.
  • i.MX
  • Fix assertion in busio.UART. #4518. Thanks @jepler.
  • Fix UART pin checking. #4513. Thanks @jepler.
  • Fix SPI gaps. #4487. Thanks @jepler.
  • Correct SPI baudrate. #4474. Thanks @jepler.
  • Fix reset to bootloader. #4442. Thanks @jepler.
  • nRF
    • Fix BLE remote service list crash; fix central pairing. #4437. Thanks @tannewt.
  • RP2040
    • Allow mpconfigboard.mk to override additional build flags. #4519. Thanks @jepler.
    • Calculate I2C SDA hold time, fixing I2C problems with several devices.  #4508, #4499. Thanks @fivdi and @dhalbert.
    • Use nvm.toml for flash settings. #4446. Thanks @tannewt.
  • Spresense
  • STM32
  • i.MX1010 EVK
    • Delete pins that are not connected. #4443. Thanks @jepler.
  • Metro M7 1011
    • Fix flash capacity. #4441. Thanks @jepler.
    • Enable USB MIDI, change flash chip, fix compiler warnings. #4435. Thanks @jepler.
  • QT Py RP2040

Build and infrastructure changes

  • Remove problematic sentence from bug issue template. #4511. Thanks @jepler.
  • List modules for alias boards. #4507. Thanks @Neradoc.
  • Use allowed language list when building circuitpython.org information. #4483. Thanks @Neradoc.
  • Use nvm.toml data for flash device information. #4481. Thanks @tannewt.
  • Use gcc @file mechanism to shorten linker command line. #4480. Thanks @tannewt.
  • Correct USB mount checking so that CIRCUITPY_USB_MSC = 0 will compile. #4462. Thanks @jepler.

Documentation

  • (no PRs in this category)

Translation Additions and Improvements

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.4, including @anecdata, @bergdahl, @d-c-d, @deshipu, @dhalbert, @FoamyGuy, @gamblor21, @garethhcoleman, @hexthat, @hierophect, @hugodahl, @jepler, @jposada202020, @kmatch98, @ladyada, @lesamouraipourpre, @lyusupov, @miclooking, @microdev1, @Neradoc, @tannewt, @tyomitch, @WarriorOfWire, @weblate, @wtuemura, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

New boards since 6.2.0-beta.4

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.4, including [[FILLIN]], 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.

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

CircuitPython 6.2.0 beta 4

18 Mar 20:32
e3c54b0
Compare
Choose a tag to compare
Pre-release

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.

CircuitPython 6.2.0 beta 3

04 Mar 02:14
dca2989
Compare
Choose a tag to compare
Pre-release

This release, 6.2.0-beta.3, is the fourth beta release of CircuitPython 6.2.0. Across most ports it adds a second USB serial (CDC) channel, adds a bitmaptool module for help with displayio, and removes the limitation on displayio.Group size. The RP2040 port has many enhancements and fixes, and the Spresense port has several improvements as well. 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.2

Fixes and enhancements

  • Add bitmaptools for bitmap blit operations. #4268, #4278. Thanks @kmatch98.
  • Add second USB CDC serial channel. #4215. Thanks @dhalbert.
  • displayio.Group now uses a Python list internally. Its size is no longer limited, and it can be sorted. #4233, #4322. Thanks @deshipu and thanks @dhalbert for a fix.
  • Fix compile-time disabling of USB MSC. #4283. Thanks @deshipu.
  • Fix typos for CIRCUITPY_USB_HID_SYS_CONTROL. #4249. Thanks @dhalbert.
  • Avoid pulling in unneeded float/uint64 routines. #4238. Thanks @dhalbert.
  • _pixelbuf: increase performance of brightness scaling. #4258. Thanks @jepler.
  • Add memoryview.cast(). #4231. Thanks @jepler.
  • Add bitops.transpose() function to support piopixl8. #4219. Thanks @jepler.
  • Allow memoryview as argument to exec(). #4206. Thanks @iot49.
  • Remove unneeded adafruit_bus_device.SPIDevice.spi property. #4179. Thanks @dhalbert.
  • Update ulab to 1.7.5. #4229. Thanks @jepler.
  • Fix ability to use the reset button to enter safe mode when .reset_reason is not implemented. #4306. Thanks @Neradoc.

Board- and port-specific changes

Build and infrastructure changes

  • Set SUPEROPT_VM = 0 on most non-Express SAMD21 boards. #4248. Thanks @dhalbert.
  • Shrink flash storage needed for USB descriptor serial number. #4243. Thanks @jepler.
  • Add directory for manually-run tests; add Socket tests. #4187. Thanks @hierophect.
  • Only build translations listed in an allow list. #4298. Thanks @jepler.

Documentation

New boards since 6.2.0-beta.2

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.
  • _bleio.ConnectionError has been removed. Code will now raise the native ConnectionError instead.

Known issues

  • ESP32-S2: Crash when repeatedly creating and destroying busio.I2C object on ESP32-S2. #3846.
  • RP2040: A few I2C devices do not work on the RP2040 with busio.I2C. Use bitbangio.I2C instead, and use bitbangio.I2C(..., probe=False) if necessary. See #4082 and #4235.
  • See https://github.com/adafruit/circuitpython/issues for other issues.

Thanks

Thank you to all who used, tested, and contributed since 6.2.0-beta.2, including @ajs256, @anecdata, @arturo182, @bergdahl, @caternuson, @DavePutz, @deshipu, @dglaude, @dhalbert, @ecasadod, @gamblor21, @hathach, @hexthat, @hierophect, @hugodahl, @iot49, @jamesbowman, @jedgarpark, @jepler, @jerryneedell, @jfabernathy, @joelburton, @jposada202020, @kamtom480, @kattni, @kevinjwalters, @kmatch98, @ladyada, @lesamouraipourpre, @microdev1, @MisterD66, @Neradoc, @rodrigoargumedo, @siehputz, @tannewt, @tawez, @TG-Techie, @UnexpectedMaker, @weblate, @wtuemura, @ZodiusInfuser, 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.

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.