adafruit-circuitpython-week.../2025/2025-03-10.md
2025-03-10 14:33:43 -04:00

14 KiB
Raw Permalink Blame History

CircuitPython Weekly Meeting for March 10, 2025

Liz 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. 01:52 Community News

01:56 A MicroPython Interpreter For Flipper Zero

Do you have a Flipper Zero? Have you ever wanted to use a high-level but powerful scripting language on it? There is now a MicroPython application for the Flipper, complete with a library for hardware and software feature support - GitHub and Hackaday.

02:14 The CircuitPython Show

Tod Kurt and Jan Goolsbey join the show and share their experience in writing drivers and libraries for the CircuitPython Community bundle - The CircuitPython Show.

02:32 Audio Pitch Shift Effect

A new audio pitch shift effect was just merged into CircuitPython - ReadTheDocs.

02:43 CircuitPython Snake Game

A CircuitPython snake game on the TV running on a Metro RP2350 - YouTube. 02:58 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),. 03:37 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. 03:54 Overall

  • 14 pull requests merged
    • 10 authors - weblate, tannewt, relic-se, RetiredWizard, jepler, FoamyGuy, justmobilize, andibing, makermelissa, eightycc
    • 7 reviewers - tannewt, dhalbert, tyeth, elpekenin, jepler, gamblor21, FoamyGuy
  • 7 closed issues by 4 people, 6 opened by 6 people

04:30 Core

06:51 Libraries

Library updates in the last seven days:

Updated Libraries

11:00 Blinka

12:51 @danh (out)

  • @tannewt and @hathach for working on USB Host.
  • @eightycc for diagnosing RP2350 PSRAM DMA memory issue.

13:07 @eightycc

  • Big hug to @tannewt, @danh, and @jepler for all the fine work theyve done down in the engine room of CircuitPython. Magnificent job well done!

13:26 @foamyguy

  • @JP for working with me to get through some issues experienced on the on the Pi5 with RGB matrices resolved and @Jepler for a suggestion that ultimately led to the solution for one of our issues.
  • @MarkGamblor for suggestions about a more efficient way to store mapped colors when Palette is used vs. ColorConverter
  • @tannewt for encouragement and input on tile palette mapper module. I took a step back from implementing it and testing it, to just play with it some last night and am gaining even more appreciation for the flexibility that this module can provide for re-coloring bitmaps.
  • @Jepler for another round of improvements to the PioMatter library.

14:40 @jepler

  • @eightycc for excellent sleuthing to resolve a picodvi crash
  • @relic-se for the pitch shift audio effect
  • @anne_engineer for her Matrix demo building on the arduino dvi hstx library, so cool!
  • Group hug 15:16 Status Updates 15:36 @Liz (hosting)
  • This week I published the Portable Macrodata Refinement Terminal Learn Guide. I'm really proud of this project. I put a lot of work into the Python code and 3D design to channel the vibe of Severance. It's really satisfying to use with the trackball mouse, and I hope that it can be a useful example for folks looking to build their own.

16:11 @anne (lurking/working on other things)

  • Published a guide on the CircuitPython Breakout Game on the Adafruit Learning System for the Metro RP2350 (compatible with other HSTX + USB Host boards). I also made a Matrix display program in Arduino. Itd be a good candidate for a conversion to CircuitPython (hint: @foamyguy)

16:33 @danh (out)

  • NINA-FW progress for AirLift:
    • Updated to ESP-IDF v5.3.x.
    • Using mostly existing arduino-esp32 libraries. Building with CMake structure, with arduino-esp32 as a component.
    • Started porting to ESP32-C6

16:55 @eightycc

  • Submitted PR #10116, a package of miscellaneous fixes for Framebuffer found while working on issue #10104 (see below). Should make Framebuffer a bit more stable.
  • Resolved issue #10104, double-fault during flash filesystem erase with concurrent picodvi.Framebuffer operation. The root cause was simple, but debugging was complicated by complete loss of XIP access to flash. Had to resort to manually deconstructing the stack in SRAM as higher level gdb commands were themselves double-faulting.
  • Wrote up issue #10125 as an enhancement request for a facility to allocate memory in SRAM for DMA buffers. In a nutshell, on PSRAM equipped RP2350 boards its unpredictable whether memory allocations come from SRAM or PSRAM, especially as the heap ages. DMA will fail if it attempts to access PSRAM.

18:18 @foamyguy

  • Flappy nyan cat game for Metro RP2350 learn guide completed
  • Testing USB host things on MetroRP2350 and Fruit Jam
    • Made a very basic mouse test script with a moving cursor
    • Slightly more fun test with draggable playing cards
    • Successfully tested both keyboard and mouse at the same time on Fruit Jam
  • Pi 5 RGB Matrix
    • Working on new guide page for the X window virtual display functionality
    • Test and review what I can from the new functionality added in a PR

19:33 @jepler

  • Added support for multiple connectors & “temporal dithering” to piomatter on Pi5 (PR is in progress).
    • On a 64x64 panel, 100FPS at 10 bit planes is now possible. With 3 connectors, 128x192 with 10 bit planes would still be able to go at about 50fps
    • It works with lower bit depths as well, 5bpp goes from 135->210fps, or over 100fps if you had 6 panels on 3 connectors. And it looks great.
    • More work needs to be done enabling multi connectors easily without needing to copy & paste code to define the matrix “map”
  • Merged the pitch shift audio effect PR
  • Worked in Arduino land on the HSTX video library & with MCUME emulator
  • This week:
    • More emulator work in Arduino & pico-sdk land
    • Review Scotts “SAVES” partition code In The Weeds
  • None

22:05 Wrap-Up Normal day/time next week 3/17 2pm US Eastern, 11am US Pacific