adafruit-circuitpython-week.../2024/2024-09-23.md
2024-09-23 13:42:43 -05:00

13 KiB
Raw Permalink Blame History

CircuitPython Weekly Meeting for September 23, 2024

Welcome to the CircuitPython Weekly meeting notes! Feel free to add your Hug Reports and Status Updates before the meeting, alphabetically by your username. During the meeting, we go through them in order. If you cant make the meeting and would still like to participate, add your notes with a “(missing meeting)” after your username and well read them off for you.

Add any longer-form discussion topics or general questions you have to the “In the weeds” section.

Thanks! We hope to see you in the meeting!

Tim is hosting.

Video is available on YouTube.

Join here for the chat all week: http://adafru.it/discord.

The CircuitPython Weekly Meeting normally is held at 2pm US ET/11am PT on Mondays. Check the #circuitpython channel on Discord for notices of change in time and links to past meetings. Meeting times are also available in iCal format for use with standard calendar applications and can also be viewed in your browser.

If you want to be able to participate in the meeting by speaking, you will need to be added to the @circuitpythonistas role on Discord. Please ask any of the moderators or admins to add you if youd like to join.

CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from https://adafruit.com.

Reminders: Podcast available on most services. Let us know if were missing some. The canonical URL for the podcast version is https://adafruit-podcasts.s3.amazonaws.com/circuitpython_weekly_meeting/audio-podcast.xml which you may be able to enter directly into compatible podcast apps.

03:20 Community News

03:21 CircuitPython 9.1.4 and CircuitPython 9.2.0 Beta 0 Released

CircuitPython 9.1.4 and CircuitPython 9.2.0 Beta 0

CircuitPython 9.1.4 is the latest bugfix release of CircuitPython and is a new stable release - Adafruit Blog and Release Notes. Highlights of this release

  • On nRF boards, fix programmatic resetting directly into the bootloader.
  • Fix BLE storage leak.
  • Clear input after ctrl-C on UART REPL boards. This fixes some USB workflow issues. CircuitPython 9.2.0-beta.0 is a beta release for 9.2.0. It has known bugs that will be fixed before the final release of 9.2.0 - Adafruit Blog and Release Notes. Highlights of this release
  • On nRF boards, fix programmatic resetting directly into the bootloader.
  • Fix BLE storage leak.
  • Clear input after ctrl-C on UART REPL boards. This fixes some USB workflow issues.
  • Update to Espressif ESP-IDF V5.3.1.
  • Merge MicroPython updates from v1.23.
  • Raspberry Pi RP2350 additions, fixes, and documentation.
  • Espressif BLE improvements.
  • Add math.dist().
  • _eve updates.

05:36 TinyUSB 0.17.0 Brings Nice Enhancements

TinyUSB is an open-source cross-platform USB Host/Device stack for embedded systems, designed to be memory-safe with no dynamic allocation, and thread-safe with all interrupt events are deferred then handled in the non-ISR task function - Adafruit Blog. The latest version has so many changes, a sampling:

  • Rewrite and Generalize driver to support non-stm32 mcu such as wch
  • Add support for CH32 e.g CH32V203
  • MAX3421E Host support
  • Video Added support for USB Video Class (UVC) with MJPEG 71 folks contributed to this release! MIT Licensed - Release Notes.

06:51 The new Pico VS Code Extension

Pico VS Code is a Microsoft Visual Studio Code extension designed to make your life easier when creating, developing, and debugging projects for Raspberry Pi Pico-series boards using C/C++ or MicroPython. If youve ever tried to set up an embedded development environment, you know its no small feat. Beginners often find themselves tangled up in the complexities of build systems, SDKs, and toolchains - Raspberry Pi and Adafruit Blog.

07:36 The Online CircuitPython Code Editor

With Adafruits Circuit Python code editor, you can edit code from a web browser. This lets you connect via WiFi, Bluetooth or USB. The editor features AutoComplete, a REPL serial monitor and file management tools - Editor and Adafruit Blog.

08:10 New Notes from Adafruit Playground

Prime Time Python! Searching for prime numbers using the CPX - Adafruit Playground.

08:45 Newsletter Details

The Python on Microcontrollers Weekly Newsletter is a CircuitPython-community-run newsletter emailed every Monday. The complete archives are here. It highlights the latest Python on hardware related news from around the web including CircuitPython, Python and MicroPython developments. To contribute your own news or project, edit next week's draft on GitHub and submit a pull request with the changes. You may also or email cpnews@adafruit.com, or tag a post with #CircuitPython on Mastodon, Bluesky, or X (formerly known as Twitter),.

09:33 State of CircuitPython, Libraries and Blinka

This report contains information from the previous seven days. Any changes (PRs merged, etc.) made today are not included in this report.

09:56 Overall

  • 26 pull requests merged
    • 15 authors - PontusO, BlitzCityDIY, aaronwmorris, jepler, FoamyGuy, caizelin, RetiredWizard, matthewbadeau, tannewt, mpaw, andibing, weblate, dhalbert, sanhu88, CDarius
    • 7 reviewers - jepler, microdev1, tannewt, TheKitty, BlitzCityDIY, FoamyGuy, dhalbert
  • 16 closed issues by 7 people, 8 opened by 7 people

11:27 Core

12:40 Libraries

16:10 Library PyPI Weekly Download Stats

  • Total Library Stats
    • 284372 PyPI downloads over 333 libraries
  • Top 10 Libraries by PyPI Downloads
    • Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 20834
    • Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 19757
    • Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 18435
    • Adafruit CircuitPython Register (adafruit-circuitpython-register): 3049
    • Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 2681
    • Adafruit CircuitPython ADS1x15 (adafruit-circuitpython-ads1x15): 2445
    • Adafruit CircuitPython Display Text (adafruit-circuitpython-display-text): 2334
    • Adafruit CircuitPython ESP32SPI (adafruit-circuitpython-esp32spi): 2318
    • Adafruit CircuitPython Wiznet5k (adafruit-circuitpython-wiznet5k): 2237
    • Adafruit CircuitPython Seesaw (adafruit-circuitpython-seesaw): 1969

16:29 Library updates in the last seven days:

16:53 Blinka

17:55 Hug reports

18:22 @foamyguy (hosting)

  • Group Hug
  • Paul cutler posting newsletter links

18:35 @danh

  • @tannewt for doing most of the ESP-IDF I2C driver update already

19:05 @tannewt

  • @foamyguy for debugging the community bundle build failure.
  • @RetiredWizard for adding SDIO support for ESP. Also for two board tweaks that use settings.toml to configure for board variants.

19:47 Status Updates

20:18 @foamyguy (hosting)

  • Implemented fixes and submitted PRs to resolve all open issues with the library and guide screenshot utility
  • Worked on the shape intersection functions, have polygon circle check working along with the more primitive checks that are used within it.
  • Looking into an issue with Community Bundle
  • Try to make circuitpython-build-tool more forgiving of failed builds for 3rd party bundles.

21:59 @danh

  • Released CircuitPython 9.1.4 and 9.2.0-beta.0. They share a number of bug fixes.
  • Updating CIrcuitPython to use the new I2C driver in ESP-IDF. We can now do this because the esp32-camera library was updated to use the new driver (though its expecting ESP-IDF v5.4, and were on v5.3.1). The update appears to fix several I2C issues weve been seeing. Scott did most of this work a while ago: I took that branch, fixed a few things, and am now getting the camera code to work.
  • 9.2.0 is getting close: we are down to only a few issues.

24:15 @tannewt

  • Continuing on CircuitMatter. Fixed some encoding issues. Commissioner thinks one of my path structs is incomplete. Slow and steady progress.

25:00 In The Weeds

25:18 Wrap-Up

Next week's meeting is at the usual day and time Monday 9/30 2pm eastern / 11 am pacific