Skip to content

Releases: adafruit/circuitpython

CircuitPython 7.1.0 Beta 2

10 Dec 15:40
f695b14
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.1.0-beta.2, the third beta release for CircuitPython 7.1.0. It is relatively stable, but contains issues we may still address for 7.1.0.

Notable additions to 7.1.0 since 7.0.0

  • Initial port for Raspberry Pi Broadcom-based boards.
  • Preliminary support for asyncio cooperative multitasking.
  • bitmaptools: dithering and alphablend are new.
  • keypad.Events now include timestamps.
  • framebufferio: support for IS31FL3741.
  • Espressif now provides I2CPeripheral, WiFi monitor mode, setting MAC address, ESP32-C3 support, ParallelImageCapture.
  • gifio.GifWriter is new.
  • HID now provides boot device and feature report support.
  • rotaryio now allows setting the divisor of counts per transition.
  • SAMD now provides watchdog, and alarm with sleep.
  • SAMx5 boards now all have sleep support.
  • The STM port now provides STM32L4R5 support.
  • MicroPython 1.17 has been merged in.
  • Russian translation.

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 the 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. broadcom (Raspberry Pi), litex and mimxrt10xx are in an alpha state and will have bugs and missing functionality.

Changes since 7.0.0

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

Broadcom

RP2040

  • Use proper slice number for PWMOut. #5667. Thanks @dhalbert.
  • Protect nvm writes from interrupts. #5663. Thanks @FoamyGuy.
  • Use longer clock-stretch timeout for RP2040 zero-byte I2C writes. #5656. Thanks @dhalbert.

SAMx

Spresense

Individual boards

  • [no changes for individual boards]

New boards Since 7.0.0

Documentation

  • [no documentation changes]

Build and infrastructure changes

  • Partial submodule fetching using sha. #5687, #5681. Thanks @tannewt.
  • Update file formatting due to blacken and uncrustify updates. #5670. Thanks @hdalbert.
  • Fix running traceback test. #5649. Thanks @microdev1.
  • Add tests for aesio. #5638. Thanks @jepler.
  • Fix CI dependency fetching for automated circuitpython.org updates. #5636. Thanks @dhalbert.
  • Add board_deinit() for all boards that lacked it. #5634. Thanks @dhalbert.
  • Add make fetch-submodules, to do partial fetches of submodules. #5627. Thanks @tannewt.
  • Reorder pins to match silk, for automated pin diagrams. #5652, #5626. Thanks @kattni.

Translation additions and improvements

Known issues

Thanks

Thank you to all who used, tested, and contributed since 7.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 7.1.0 Beta 1

30 Nov 01:26
f8493db
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.1.0-beta.1, the second beta release for CircuitPython 7.1.0. It is relatively stable, but contains issues we may still address for 7.1.0.

Notable additions to 7.1.0 since 7.0.0

  • Initial port for Raspberry Pi Broadcom-based boards.

  • Preliminary support for asyncio cooperative multitasking.

  • bitmaptools: dithering and alphablend are new.

  • keypad.Events now include timestamps.

  • framebufferio: support for IS31FL3741.

  • Espressif now provides I2CPeripheral, WiFi monitor mode, setting MAC address, ESP32-C3 support, ParallelImageCapture`.

  • gifio.GifWriter is new.

  • HID now provides boot device and feature report support.

  • rotaryio now allows setting the divisor of counts per transition.

  • SAMD now provides watchdog, and alarm with sleep.

  • The STM port now provides STM32L4R5 support.

  • MicroPython 1.17 has been merged in.

  • Russian translation.

  • Preliminary support for asyncio is included. Use the CircuitPython asyncio library.

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

Documentation

Documentation is available in readthedocs.io.

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. broadcom (Raspberry Pi), litex and mimxrt10xx are in an alpha state and will have bugs and missing functionality.

Changes since 7.0.0

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

Broadcom

  • Initial broadcom port for Raspberry Pi. #5610. Thanks @tannewt.

Espressif

  • wifi: Allow setting access point MAC address. #5593. Thanks @anecdata.
  • wifi: Allow setting station MAC address; validate SSID length. #5571. Thanks @anecdata.

SAMx

  • Use -O2 without -fno-inline-functions on SAME54 builds. #5579. Thanks @jepler.

Individual boards

  • Adafruit Feather ESP32-S2: fix name of I2C power control pin. #5595. Thanks @anecdata.
  • Adafruit Feather ESP32-S2: reorder pins for preferred naming. #5626. Thanks @kattni.

New boards Since 7.0.0

Documentation

Build and infrastructure changes

  • Shrink some overflowing builds. #5617. Thanks @tannewt.
  • Enable -Werror=missing-prototypes on more builds. #5582, #5580. Thanks @jepler.
  • Remove FAT32 mkfs on boards that don't need it; re-enable rainbowio on some boards. #5578. Thanks @jepler.
  • Enable bitmaptools on unix coverage build. #5575. Thanks @jepler.

Translation additions and improvements

Known issues

Thanks

Thank you to all who used, tested, and contributed since 7.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 7.1.0 Beta 0

12 Nov 01:52
accadf9
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.1.0-beta.0, the initial beta release for CircuitPython 7.1.0. It is relatively stable, but contains issues we may still address for 7.1.0.

Notable additions to 7.1.0 since 7.0.0

  • keypad.Events now include timestamps.
  • The Espressif port now provides I2CPeripheral, WiFi monitor mode, ESP32-C3 support, ParallelImageCapture.
  • bitmaptools: dithering and alphablend are new.
  • Preliminary support for asyncio is included. Use the CircuitPython asyncio library.
  • gifio.GifWriter is new.
  • HID now provides boot device and feature report support.
  • rotaryio now allows setting the divisor of counts per transition.
  • The SAMD port now provides watchdog, and alarm with sleep.
  • The STM port now provides STM32L4R5 support.
  • MicroPython 1.17 has been merged in.

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 the 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

The full commit log is here.

Fixes and enhancements

  • Add preliminary support for asyncio. #5564. Thanks @dhalbert.
  • Fix and refactor traceback handling. #5562. Thanks @microdev1.
  • bitmaptools: add dithering support. #5558. Thanks @jepler.
  • Improve not writing boot_out.txt when it does not change. #5557, #5536. Thanks @jepler.
  • bitmaptools: add alphablend. #5544. Thanks @jepler.
  • Fix BLE workflow directory listing. #5524. Thanks @tannewt.
  • sdcardio: use CMD25 to improve write speed. #5510. Thanks @jepler.
  • PulseIn: fix possible memory corruption. #5509. Thanks @DavePutz.
  • _bleio: fix start_advertising() argument validation. #5508. Thanks @dhalbert.
  • Fix flash support to use additional values from the NVM toml data. #5506. Thanks @maholli.
  • Update help() message to point to circuitpython.org. #5494. Thanks @kattni.
  • Add gifio.GifWriter. #5490. Thanks @jepler.
  • keypad.Event: fix hash(). #5486. Thanks @dhalbert.
  • usb_hid: add boot device support and feature report support. #5481. Thanks @dhalbert.
  • rotaryio: allow setting count divisor. #5468. Thanks @jepler.
  • Merge MicroPython 1.17. #5466. Thanks @jepler.
  • Use mp_arg_validate_type() for keyword args. #5452. Thanks @microdev1.
  • displayio: fix argument validation for FourWire and I2CDisplay. #5450. Thanks @FoamyGuy.
  • _stage: add support for viewport scrolling. #5447. Thanks @pewpew-game.
  • Fix keyword argument handling in several native modules. #5439. Thanks @dhalbert.
  • usb_hid: allow report-id-less HID descriptors. #5392. Thanks @dhalbert.
  • adafruit_bus_device: allow CS active-high. #5383. Thanks @michthom.
  • displayio.Display.fill_row now takes any WriteableBuffer. #5373. Thanks @lesamouraipourpre.
  • bitmaptools.__init(): update error message. #5369. Thanks @lesamouraipourpre.
  • Avoid overflow when scaling ticks in mp_hal_delay_ms(). #5364. Thanks @osresearch.
  • keypad: add Event timestamps. #5360. Thanks @jepler.
  • Fix importing of paralleldisplay. #5358. Thanks @jepler.

Port and board-specific changes

Espressif

i.MX

nRF

SAMx

STM

Individual boards

New boards Since 7.0.0

Documentation

Build and infrastructure changes

Translation additions and improvements

Known issues

Thanks

Thank you to all who used, tested, and contributed since 7.0.0, including the contributors above, and many others on GitHub and Discord. Join us on the Discord chat to collaborate.

CircuitPython 7.0.0

20 Sep 11:33
42523a1
Compare
Choose a tag to compare

This is CircuitPython 7.0.0, the latest major revision of CircuitPython, and is a new stable release.

Notable additions to 7.0.0 since 6.3.0

  • 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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.
  • Board ID is now in boot_out.txt and available as board.board_id.
  • aesio on for full builds by default.

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

Documentation

Documentation is available in readthedocs.io.

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-rc.3

This release is a relabeling of 7.0.0-rc.3 and is otherwise the same as that release.

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0.
  • busio.OneWire/bitbangio.OneWire is now available as onewireio.OneWire and will be removed from busio and bitbangio in 8.0.0.

New boards since 6.3.0

Known issues

Thanks

Thank you to all who used, tested, and contributed since 6.3.0. See the 7.0.0 alpha, beta and RC releases for all who contributed. Join us on the Discord chat to collaborate.

This release is based on MicroPython 1.16. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

CircuitPython 7.0.0 Release Candidate 3

16 Sep 17:47
42523a1
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-rc.3, a release candidate for CircuitPython 7.0.0 final. We have addressed all the issues we scheduled for the 7.0.0 release. This release fixes an RP2040 regression introduced in 7.0.0-rc.2. We believe this release is stable, but want to give time for further testing.

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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.
  • Board ID is now in boot_out.txt and available as board.board_id.
  • aesio on for full builds by default.

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

Documentation

Documentation is available in readthedocs.io.

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-rc.2

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

nRF

RP2040

ESP32-S2

Spresense

STM32

Individual Boards

New boards Since 6.3.0

Documentation

Build and infrastructure changes

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0.
  • busio.OneWire/bitbangio.OneWire is now available as onewireio.OneWire and will be removed from busio and bitbangio in 8.0.0.

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.

This release is based on MicroPython 1.16. Support upstream MicroPython by purchasing a PyBoard (from Adafruit here) or sponsoring MicroPython on GitHub.

CircuitPython 7.0.0 Release Candidate 2

15 Sep 19:35
3cc4f25
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-rc.2, the third release candidate for CircuitPython 7.0.0. We have addressed all the issues we scheduled for the 7.0.0 release. We believe this release is stable, but want to give time for further testing.

RP2040 PROBLEM NOTED AFTER RELEASE: RP2040 boards will not restart properly after a power cycle with 7.0.0-rc.2. You can press reset and the board will restart, but stick with 7.0.0-rc.1 for RP2040 now and we will publish a fix soon. Issue is being tracked at #5354.

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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.
  • Board ID is now in boot_out.txt and available as board.board_id.
  • aesio on for full builds by default.

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-rc.1

The full commit log is here. A few changes before 7.0.0-rc.1 are included as well.

Fixes and enhancements

Port and board-specific changes

nRF

  • Correct I2SOut pin checking. #5326. Thanks @dhalbert.
  • Fix builds for use with gcc 11.2. (We still use gcc 10.2.1 for production.) #5319. Thanks @tannewt.
  • Fix watchdog crashes. #5272. Thanks @tannewt.

RP2040

ESP32-S2

Spresense

STM32

Individual Boards

New boards Since 6.3.0

Documentation

Build and infrastructure changes

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0.
  • busio.OneWire/bitbangio.OneWire is now available as onewireio.OneWire and will be removed from busio and bitbangio in 8.0.0.

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

Read more

CircuitPython 7.0.0 Release Candidate 1

02 Sep 19:52
3508b01
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-rc.1, the second release candidate for CircuitPython 7.0.0 with a TinyUSB update to fix a critical USB issue on RP2040. We believe it is stable, but want to give time for further testing.\

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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.
  • Board ID is now in boot_out.txt and available as board.board_id.
  • aesio on for full builds by default.

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-beta.0

The full commit log is here.

Fixes and enhancements

  • Fix USB HID custom devices. #5214 Thanks to @dhalbert and @fasteddy516
  • Add displayio.EPaperDisplay.update_refresh_mode for changing the refresh settings. Thanks to @amit-bsides
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0. Thanks to @jepler
  • Add 0x prefix when printing %p to match CPython. Thanks to @jepler
  • Frozen stage library now uses keypad. #5264 Thanks to @deshipu
  • Board ID is now in boot_out.txt and available as board.board_id. #5222 Thanks to @Neradoc
  • Fix WaveFile validation. #5234 Thanks to @dhalbert
  • Support multiple DotStars as status LEDs. #5219 Thanks to @tannewt
  • Updated TinyUSB to improve USB compliance. Thanks to @hathach
  • Enable aesio for full builds. Thanks to @microdev1
  • Update frozen NeoPixel library. Thanks to @UnexpectedMaker

Port and board-specific changes

nRF

  • Fix two hard crashes with watchdog use. Thanks to @tannewt and @mrdalgaard
  • TinyUSB improvements based on USB compliance testing. Thanks to @hathach
  • Fix light sleep early wakeup on pending USB serial. #5273 Thanks to @tannewt and @mrdalgaard
  • BLE workflow uses unique UUIDs for serial instead of the Nordic UUIDs. #5271 Thanks to @tannewt
  • Fix crash due to shared external interrupts. #5253 Thanks to @tannewt

RP2040

ESP32-S2

STM32

  • _stage is now available on the MeowBit. #5267 Thanks to @deshipu

Individual Boards

New boards Since 6.3.0

Documentation

Build and infrastructure changes

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0.
  • busio.OneWire/bitbangio.OneWire is now available as onewireio.OneWire and will be removed from busio and bitbangio in 8.0.0.

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

Read more

CircuitPython 7.0.0 Release Candidate 0

01 Sep 23:37
57e4b78
Compare
Choose a tag to compare
Pre-release

This release will not be posted to the website due to mass storage flakiness on the RP2040. Stay tuned for an rc.1.

This is CircuitPython 7.0.0-rc.0, the initial release candidate for CircuitPython 7.0.0. We believe it is stable, but want to give time for further testing.

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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.
  • Board ID is now in boot_out.txt and available as board.board_id.

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-beta.0

The full commit log is here.

Fixes and enhancements

  • Fix USB HID custom devices. #5214 Thanks to @dhalbert and @fasteddy516
  • Add displayio. for changing the refresh settings. Thanks to @amit-bsides
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0. Thanks to @jepler
  • Add 0x prefix when printing %p to match CPython. Thanks to @jepler
  • Frozen stage library now uses keypad. #5264 Thanks to @deshipu
  • Board ID is now in boot_out.txt and available as board.board_id. #5222 Thanks to @Neradoc
  • Fix WaveFile validation. #5234 Thanks to @dhalbert
  • Support multiple DotStars as status LEDs. #5219 Thanks to @tannewt

Port and board-specific changes

nRF

  • Fix two hard crashes with watchdog use. Thanks to @tannewt and @mrdalgaard
  • TinyUSB improvements based on USB compliance testing. Thanks to @hathach
  • Fix light sleep early wakeup on pending USB serial. #5273 Thanks to @tannewt and @mrdalgaard
  • BLE workflow uses unique UUIDs for serial instead of the Nordic UUIDs. #5271 Thanks to @tannewt
  • Fix crash due to shared external interrupts. #5253 Thanks to @tannewt

RP2040

ESP32-S2

STM32

  • _stage is now available on the MeowBit. #5267 Thanks to @deshipu

Individual Boards

  • Add BATTERY pin to lilygo-t8-s2-st7789. #5278 Thanks to @skieast

New boards Since 6.3.0

Documentation

Build and infrastructure changes

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.
  • displayio.ParallelBus is now available as parallelbus.ParallelBus and will be removed from displayio in 8.0.0.
  • busio.OneWire/bitbangio.OneWire is now available as onewireio.OneWire and will be removed from busio and bitbangio in 8.0.0.

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

Read more

CircuitPython 7.0.0 Beta 0

24 Aug 00:25
7587a52
Compare
Choose a tag to compare
Pre-release

This is CircuitPython 7.0.0-beta.0, the initial beta release for CircuitPython 7.0.0. It is relatively stable, but contains issues still to be addressed for 7.0.0. The Python API's it presents are not expected to change incompatibly before the final 7.0.0 release, though they may be augmented.

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.
  • atexit module.
  • getpass module.
  • traceback module.
  • supervisor.get_previous_traceback().
  • board.LED now consistently present on all boards that have such an LED.
  • PulseOut no longer needs a PWMOut.
  • Unicode filename support.

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

The full commit log is here.

Fixes and enhancements

Port and board-specific changes

nRF

RP2040

  • Honor write_value in busio.SPI. #5173. Thanks @jepler.
  • Fix overly-restrictive RP2040 I2C pin check. #5174. Thanks @tannewt.
  • Update TinyUSB submodule; includes RP2040 fixes. #5172. Thanks @dhalbert.

SAMx

Spresense

Individual Boards

  • Adafruit Funhouse, Unexpected Maker microS2, and Particle Argon and Boron: fix status LED. #5161. Thanks @ZodiusInfuser and @dhalbert.
  • Adafruit MacroPad: rename SPEAKER_SHUTDOWN to SPEAKER_ENABLE . #5181. Thanks @kattni.
  • CP Sapling M0 RevB: fix name of board.UART. #5162. Thanks @rpavlik.
  • Nordic PCA10100: Remove synthio for space reasons. #5206. Thanks @microdev1.
  • Pimoroni boards: remove unneeded internal pin definitions. #5161. Thanks @ZodiusInfuser.
  • Pimoroni Tiny2020: remove default board devices. #5160. Thanks @ZodiusInfuser.

New boards Since 6.3.0

Documentation

Build and infrastructure changes

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.
  • displayio.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.
  • The default for displayio.Display.refresh(..., minimimum_frames_per_second, ...) is now 0.
  • displayio.Display() argument set_vertical_scroll argument is deprecated and will be removed in 8.0.0.

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

Read more

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