14 KiB
CircuitPython Weekly Meeting for September 3, 2024
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 you’d 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 we’re 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.
2:26 Community News
What’s new in Raspberry Pi Pico 2
In the latest issue of The MagPi Magazine, Raspberry Pi CTO James Adams provides a closer look at what’s new in Raspberry Pi Pico 2 - Raspberry Pi News.
DEVELOPING: The Community Discusses RP2350 Pin Latching Issues
The maker community continues to characterize a hardware issue with currently released RP2350 A2 stepping chips. The issue was initially characterized as a problem that can occur if a pin is set as an input with the internal pull-down resistor enabled. If the pin is brought externally to 3.3v, and then the 3.3v is removed, the pin output becomes latched at slightly over 2 volts, instead of being at ground. Raspberry Pi issued erratum RP2350-E9, which discusses this issue and describes a workaround for reading the pin value.
But later reports by Adafruit, Dangerous Prototypes, Pimoroni, and others have shown that enabling the internal pull-down resistor does not seem to be required to trigger the 2V latch-up. Observation also shows that externally grounding the pin with sufficient current clears the latched state. Raspberry Pi and the community are actively investigating this evolving issue, so please refer to the latest developments if the issue affects your designs. - Raspberry Pi Pico Feedback, issue #401 and relevant topics in the Raspberry Pi Forum.
5:24 CircuitPython 9.1.3 Released
CircuitPython 9.1.3 is the latest bugfix release of CircuitPython, and is a new stable release - Adafruit Blog and releases on GitHub. Highlights of this release:
- Fix Espressif ESP32-C6 UART creation.
- Adafruit Qualia ESP32-S3 RGB666: fix display tearing.
- Pull request merge builds for stable branches, not just the main branch, are now uploaded to AWS S3.
- Fix Espressif board-specific pin initialization. This fixes board.NEOPIXEL_I2C_POWER initialization on the Adafruit Feather C6.
6:29 Is it time to update the Open Hardware Definition for AI or make a parallel one for AI?
It might be time to update the Open Hardware Definition, it’s over 10 years old. A lot has changed in the last 10+ years for open-source hardware and open-source software, and some things have not! There was/is an Open Source Hardware (OSHW) Definition 1.1 draft, but has not been updated on the wiki since December 10, 2018. Phil Torrone has some suggestions - Adafruit Blog.
“While there are a few things I’d update on the Open Hardware Definition 1.0 my focus is on adding something to address AI/ChatGPT/humans working with LLMs, etc. I’m going to propose the same thing that I’ve attempted to have the Open Source Initiative consider for their OSI + AI license / definition.
The goal is sharing which exact tools were used and in what ways to allow others to replicate (and iterate) with AI/LLMs, etc. It’s a little different than commenting code, or publishing code under an open-source license, but the intent can be the same. My addition to the definition is specific to this “freedom”: “Study how the system works and inspect its components.” The OSI + AI definition at this time leaves out the inspection of prompts and data access transparency.”
7:41 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),.
8:36 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.
9:02 Overall
- 18 pull requests merged
- 8 authors - jepler, FoamyGuy, dhalbert, bablokb, andibing, tannewt, elpekenin, EGJ-Moorington
- 3 reviewers - jepler, tannewt, dhalbert
- 13 closed issues by 8 people, 11 opened by 9 people
9:24 Core
- 14 pull requests merged
- 7 authors - jepler, andibing, FoamyGuy, dhalbert, bablokb, tannewt, elpekenin
- 3 reviewers - jepler, tannewt, dhalbert
- 24 open pull requests
- https://github.com/adafruit/circuitpython/pull/6555 (Open 791 days) (draft)
- https://github.com/adafruit/circuitpython/pull/7618 (Open 561 days)
- https://github.com/adafruit/circuitpython/pull/7675 (Open 549 days) (draft)
- https://github.com/adafruit/circuitpython/pull/7811 (Open 523 days) (draft)
- https://github.com/adafruit/circuitpython/pull/8233 (Open 401 days) (draft)
- https://github.com/adafruit/circuitpython/pull/8457 (Open 336 days) (draft)
- https://github.com/adafruit/circuitpython/pull/8647 (Open 286 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9009 (Open 181 days)
- https://github.com/adafruit/circuitpython/pull/9094 (Open 160 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9238 (Open 114 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9245 (Open 111 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9349 (Open 76 days)
- https://github.com/adafruit/circuitpython/pull/9385 (Open 64 days)
- https://github.com/adafruit/circuitpython/pull/9483 (Open 27 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9530 (Open 17 days)
- https://github.com/adafruit/circuitpython/pull/9529 (Open 17 days)
- https://github.com/adafruit/circuitpython/pull/9550 (Open 11 days)
- https://github.com/adafruit/circuitpython/pull/9559 (Open 10 days)
- https://github.com/adafruit/circuitpython/pull/9562 (Open 6 days)
- https://github.com/adafruit/circuitpython/pull/9583 (Open 3 days)
- https://github.com/adafruit/circuitpython/pull/9582 (Open 3 days)
- https://github.com/adafruit/circuitpython/pull/9581 (Open 3 days) (draft)
- https://github.com/adafruit/circuitpython/pull/9585 (Open 2 days)
- https://github.com/adafruit/circuitpython/pull/9589 (Open 0 days)
- 9 closed issues by 4 people, 9 opened by 7 people
- 737 open issues
- 8 active milestones
- 10.0.0: 7 open issues
- 9.1.x: 13 open issues
- 9.2.0: 2 open issues
- 9.x.x: 36 open issues
- Libraries: 22 open issues
- Long term: 623 open issues
- Support: 17 open issues
- Third-party: 17 open issues
- 1 issues not assigned a milestone
10:46 Libraries
- 5 pull requests merged
- 2 authors - EGJ-Moorington, FoamyGuy, uutzinger
- 2 reviewers - tannewt, dhalbert
- Merged pull requests:
- https://github.com/adafruit/Adafruit_CircuitPython_ICM20X/pull/20 (Days open: 382)
- https://github.com/adafruit/CircuitPython_Community_Bundle/pull/217 (Days open: 28)
- https://github.com/adafruit/Adafruit_CircuitPython_ICM20X/pull/25 (Days open: 2)
- https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/pull/223 (Days open: 2)
- https://github.com/adafruit/CircuitPython_Community_Bundle/pull/220 (Days open: 1)
- 42 open pull requests (Oldest: 747, Newest: 4)
- 3 closed issues by 3 people, 2 opened by 2 people
- 880 open issues
- 103 good first issues
- https://circuitpython.org/contributing
Library PyPI Weekly Download Stats
- Total Library Stats
- 191103 PyPI downloads over 333 libraries
- Top 10 Libraries by PyPI Downloads
- Adafruit CircuitPython Requests (adafruit-circuitpython-requests): 13176
- Adafruit CircuitPython BusDevice (adafruit-circuitpython-busdevice): 12896
- Adafruit CircuitPython ConnectionManager (adafruit-circuitpython-connectionmanager): 11935
- Adafruit CircuitPython Register (adafruit-circuitpython-register): 2221
- Adafruit CircuitPython MiniMQTT (adafruit-circuitpython-minimqtt): 2044
- Adafruit CircuitPython ADS1x15 (adafruit-circuitpython-ads1x15): 1845
- Adafruit CircuitPython Wiznet5k (adafruit-circuitpython-wiznet5k): 1602
- Adafruit CircuitPython DHT (adafruit-circuitpython-dht): 1568
- Adafruit CircuitPython ESP32SPI (adafruit-circuitpython-esp32spi): 1474
- Adafruit CircuitPython RGB Display (adafruit-circuitpython-rgb-display): 1440
Library updates in the last seven days:
15:06 Blinka
- 0 pull requests merged
- 0 authors -
- 0 reviewers -
- 5 open pull requests
- https://github.com/adafruit/Adafruit_Blinka_bleio/pull/40 (Open 1061 days)
- https://github.com/adafruit/Adafruit_Python_PlatformDetect/pull/335 (Open 249 days) (draft)
- https://github.com/adafruit/Adafruit_Blinka/pull/884 (Open 20 days) (draft)
- https://github.com/adafruit/Adafruit_Blinka_Displayio/pull/140 (Open 16 days)
- https://github.com/adafruit/Adafruit_Blinka/pull/888 (Open 3 days)
- 1 closed issues by 1 people, 0 opened by 0 people
- 103 open issues
- PyPI downloads in the last week: 19682
- Piwheels Downloads in the last month: 16355 Number of supported boards: 146
16:12 Hug reports
16:40 @danh (hosting)
- @DangerousPrototypes, @Gadgetoid, and others for helping to characterize the RP2350 latching input issue.
- @jepler for jumping right back in with bug fixes after vacation.
- @samblenny, @RetiredWizard for issue reports and PR’s.
17:23 @foamyguy
- @hathach for fixing an issue I observed with itsy bitsy nrf52840 bootloader and following up to see if it got resolved in the latest versions
- Group Hug
17:47 @jepler
- Group hug
- Hugs for everyone working on bugs blocking 9.2.0, especially anecdata, retiredwizard, dan, scott
18:03 @tannewt
- @AWhetter for quickly fixing the autoapi issue that broke CircuitPython.
- @playduck for updating ESP32-Camera for the new I2C API: https://github.com/espressif/esp32-camera/pull/677
- @hathach for the quick review of the ESP resume fix PR.
- @dcooperdalrymple for making the WM8960 driver much more featureful!
- @EGJ-Moorington for small fixes
19:00 Status Updates
19:32 @danh (hosting)
- Released CircuitPython 9.1.3 to publish Feather C6 and Qualia fixes.
- Tracking the RP2350 latching problem. No official word from RPi yet.
- PR reviews, researching various reported issues.
- MicroPython v1.23 merge.
20:43 @foamyguy
- Working on implementing a serial plotter in the Web IDE. Getting close to ready to move the PR out of draft.
- Refactoring vectorio intersection functions that I wrote a few weeks ago into module functions that accept numbers instead of class functions that accept vectorio objects. This removes some chunks of code that are essentially duplicated in the way it was written before. Also adding some for checking whether a shape contains a point and other that will be necessary for the polygon intersection function if I make it far enough to implement that one.
22:14 @jepler
- Trying to pick up some bugs blocking 9.2.0 but the list is actually really short!
- I created a small reproducer for an esp32s3 crashing bug but was unable to isolate the real cause. It sort of looks like it’s inside lwip_accept which would not be fun to debug.
- Out Friday & next Monday to go to Vintage Computer Festival Midwest in the Chicago area (Schaumburg). Anyone in the Chicago area and want to meet me there?
23:41 @tannewt
- Debugged ESP USB sleep resume problem. It is fixed in upstream TinyUSB and I’ll update CP today: https://github.com/hathach/tinyusb/pull/2784 https://github.com/adafruit/circuitpython/pull/9590
- Debugged autoapi issue that was breaking the RTD build for CP core.
- Updated PIO USB submodule to fix buffer overflow issue
- Bumped Flash and PSRAM speed on qualia back up to 120MHz to reduce tearing.
- Next up is debugging ESP BLE so that BLE HID works. It doesn’t fully connect.
In The Weeds
26:24 Wrap-Up
Next meeting is Monday, September 9, 2024, at 2pm US Eastern / 11am US Pacific.