CircuitPython 7.1.0 Beta 1 Released! @circuitpython

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

  • bitmaptools: fix dithering and other bugs. #5616, #5605. Thanks @jepler.
  • Fix when to write boot_out.txt. #5611. Thanks @jepler.
  • Fix tracebacks. #5608, #5574. Thanks @microDev1.
  • Don’t run code.py when restarting in raw mode. #5602. Thanks @aivarannamaa.
  • Fix camera constructor signature. #5596. Thanks @kamtom480.
  • Update frozen libraries, notably adafruit_hid to support non-US keyboard layouts. #5587. Thanks @dhalbert.
  • framebufferio: support for IS31FL3741. #5584. Thanks @gamblor21.

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

  • Adafruit Feather ESP32-S2. #5517. Thanks @ladyada.
  • Adafruit Feather ESP32-S2 TFT. #5573, #5570. Thanks @ladyada.
  • Adafruit KB2040. #5550. Thanks @ladyada.
  • Adafruit QT Py ESP32-S2. #5622, #5621, #5620. Thanks @ladyada.
  • AIThinker ESP32-C3S_Kit. #5409. Thanks @skieast.
  • Challenger NB RP204. #5395. Thanks @Pontus0.
  • JPConstantineau Pykey60. #5507, #5497, #5365. Thanks @jpconstantineau.
  • Lolin/Wemos S2-Pico. #5464. Thanks @skieast.
  • Melopero Shake RP2040. #5465, #5372. Thanks @melopero.
  • MicroDev microC3. #5404. Thanks @microDev1.
  • Oak Development Technologies Bread 2040. #5368. Thanks @skerr92.
  • Raspberry Pi 4B. #5610. Thanks @tannewt.
  • Raspberry Pi Compute Module 4 IO Board. #5610. Thanks @tannewt.
  • Raspberry Pi Zero 2W. #5610. Thanks @tannewt.
  • Seed XIAO variant build for HID devices. #5442. Thanks @jpconstantineau.
  • Solder Party RP2040 Stamp. #5504. Thanks @solderparty.
  • Swan R5. #5403. Thanks @blues.

Documentation

  • Fix keypad.ShiftRegisterKeys. #5585. Thanks @tekktrik.

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

  • Initiate new Russian translation. Thanks @urfdvw.
  • Enable Russian translation builds. #5592, #5589. Thanks @tannewt and @dhalbert.
  • Thanks for translations:
    • @bergdahl (Swedish)
    • @labrusca (Chinese – Pinyin)
    • @Lisapple (French)
    • @Pixel-Clay (Russian)
    • @urfdvw (Chinese – Pinyin)
    • @wtuemura (Portuguese – Brazil)

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.


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in! adafruit.com/mastodon

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.