adafruit-circuitpython-week.../2025/2025-02-10.md
2025-02-10 13:37:29 -08:00

22 KiB
Raw Permalink Blame History

CircuitPython Weekly Meeting for Monday, February 10, 2025

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.

3:07 Community News

3:21 Maximizing MicroPython Speed

There are times where we'd like code to run much faster than it does at present. Part of any coding class beyond the basics involves optimizing code for speed and size, especially in resource restricted environments (like microcontrollers and single-board computers). MicroPython has documentation which helps suggest code changes to make programs run faster including the Native and Viper code emitters - ReadTheDocs.

4:03 MicroPython IDEs and Tools

Mayur Koshti has a new guide to the best development environments for MicroPython - Medium. Click "No Medium subscription? Read the full article 👉 here." in the second paragraph to read.

4:21 Debugging Within Visual Studio Code

Visual Studio Code allows for debugging within the interface including setting up a REPL (Read-Eval-Print Loop) - visualstudio.com and specifically Python Debugging.

4:34 Adafruit Announces Fruit Jam, an RP2350B-based Single Board Computer

Looking to "jam a ridonkulous amount of hardware" into a single-board computer, Adafruit has shown their design in progress, initially entitled Fruit Jam. Adafruit is aiming it for classic game and computer emulation and CircuitPython, although it should work with any RP2350 compatible language - Adafruit Blog, Hackster.io, and Tom's Hardware.

"With the extra pins of the QFN-80 RP2350B, were able to jam a ridonkulous amount of hardware into this shape: RP2350B dual 150MHz Cortex M33 w/ PicoProbe debug port, 16 MB Flash + 8 MB PSRAM, USB type C for bootloading/USB client, Micro SD card with SPI or SDIO, DVI output on the HSTX port, I2S stereo headphone + mono speaker via the TLV320DAC3100, 2-port USB type A hub for both keyboard and mouse or game controllers, chunky on-off switch, Stemma QT I2C + Stemma classic JST 3-pin, EYESPI for TFT displays, 5x NeoPixels, 3x tactile switches, and a 16-pin socket header with 10 A/D GPIO + 5V/3V/GND power pins. The PSRAM will help when we want to do things like run emulations that we need to store in fast RAM access, and it will also let us use the main SRAM as the DVI video buffer."

6:31 Adafruit Updates PioMatter Library For Raspberry Pi 5

The Raspberry Pi 5 can now drive Adafruit's RGB Matrix Bonnet and HAT accessories, thanks to the RP1's PIO blocks - Adafruit Guide and hackster.io.

7:00 Newsletter Details

The Python on Microcontrollers Weekly Newsletter is a CircuitPython-community-run newsletter emailed every Monday. The complete archives are [here](https://www.adafruitdaily.com/category/circuitpython/). 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),.

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

8:03 Overall

  • 30 pull requests merged
    • 14 authors - dhalbert, jerryneedell, SeanTheITGuy, MarshallMiller, BlitzCityDIY, wtuemura, jposada202020, FoamyGuy, weblate, eightycc, karlosgliberal, tannewt, andibing, jepler
    • 7 reviewers - dhalbert, brentru, BlitzCityDIY, FoamyGuy, tannewt, ladyada, jepler
  • 8 closed issues by 5 people, 11 opened by 10 people

8:39 Core

10:39 Libraries

14:39 Library updates in the last seven days:

15:00 Blinka

16:35 Hug reports

17:14 @tannewt (host)

  • @timonsku for Zephyr pointers.
  • @ladyada for FruitJam design.
  • @jepler for code size reduction PRs.

17:57 @ CGrover (text only)

  • @DJDevon3 for the extra effort to find openweathermap API alternatives and to provide a creative CircuitPython code example for the Open-Meteo URL API.
  • @PaulCutler for inviting me to talk about weather stations on a recent episode of The CircuitPython Show. Received some excellent feedback as a result.

18:25 @danh

  • @justmobilize, @tyeth for testing the NINA-FW release
  • @hathach for doing almost all the work needed for the NINA-FW update
  • @eightycc for excellent work on lwip updates

18:42 @eightycc

  • @tannewt, @danh, @jepler, @anecdata for all the help and hints along the way. I am so impressed with the team and the project.

19:10 @foamyguy

  • @makermelissa for working on fixes to the web-ide
  • @jepler for continued improvements to pio matter and documentation
  • @tannewt for the basic keyboard USB host test in the core repo
  • @danh for working on nina-fw updates to certs and more & another for everyone who helped and tested
  • Group hug

20:11 @jepler

  • thanks @foamyguy for working on piomatter stuff with me
  • @eightycc thanks for popping in with arm low-level guidance, Im still processing it
  • @relic-se thanks for reviews on my code
  • @tannewt @dan thanks for reviews & merging
  • @ladyada the excitement about fruit jam is palpable
  • @paulcutler thanks for editing together the podcast I was a part of. (mea culpa for not listening through the draft edited version) Im also excited youve got so much in the hopper that itll be April before the episode debuts.

21:14 @Liz (likely missing)

  • @Mark and @cooper for tips on using audio effects with analogbufio

21:25 @Mark[Gamblor] (missing)

  • @jepler and @cooper for continue audio effects ideas, PRs and reviews.
  • @paul cutler for having me as a guest on and in general for the CircuitPython show

21:54 @SamBlenny (text only)

  • @ladyada for FruitJam design (this is very exciting!)

22:05 Status Updates

22:22 @tannewt (host)

  • Out Wednesday morning to put things back after floor install and before cleaners come.
  • Working on Zephyr CP. Figured out crash due to two heaps in one place. Now debugging why connecting doesnt work. Looks to be something with random via BLE.
  • Going to continue down Zephyr networking.
  • May get distracted by FruitJam when it arrives. Made a brainstorming issue this weekend: https://github.com/adafruit/circuitpython/issues/10045
  • Started discussion of TinyUF2 support for CP10. (Primarily enabling BLE on 4MB S3s instead of OTA.)

24:10 @CGrover (text only)

  • Finished an Open-Meteo Weather Display project using an ESP32-S3 and 2.4-inch TFT FeatherWing. The Playground Note will be published today. https://adafruit-playground.com/u/CGrover/pages/weather-display-using-open-meteo-s-api
  • Playing With Plastics is the theme for this week. Trying to refine and document some techniques for hand machining and bending acrylic, ABS, and polycarbonate into project stands and enclosures. Turns out that KiCAD makes an excellent CAD tool for designing the glued-on paper fabrication templates, particularly when importing actual-size Adafruit Eagle footprints for things like the TFT FeatherWing PCB.

24:52 @danh (out)

  • Got NINA-FW working with ECDSA cert chains. Thachs PR was really fine, except that the firmware was running out of heap space. I reduced the number of available sockets from 7 to 6, which helped some. Community users helped me test. I then also reduced the root certificate file, mostly by discarding some discredited certs. That helped even more, and a test of many https sites now works without error.
  • I released NINA-FW as 2.0.0-rc.0+adafruit, and will make a final release after Tyeth and others do some more testing.
  • Did some more PR reviews and testing of things for a 9.2.5 release.

25:44 @foamyguy

  • Started taking photos and creating guide pages for upcoming Steamboat Willie clock project featuring the new round displays. Designed and printed a basic box for it
  • Testing the web-ide fixes
  • Updating pio matter examples to use new configuration parameters and then will add a section to the learn guide that covers them.
  • Figured out how to read data from generic USB PS3 controller and map incoming data to its correlated button presses.

27:04 @jepler

  • Piomatter is in good shape, doing some improvements of the API & supporting more modules (those with swapped R/B pins)
  • Made all the pi5 python libraries I write yesterday create docs on readthedocs.
  • Working on fixing picodvi blanking when writing to flash on rp2350, but I have stuff to learn (interrupt priority). Current status: scratching my head

29:06 @eightycc

  • Resolved a slew of performance/stability issues with lwIP on RP2 (pull #10027) by configuring all memory allocations to use dynamic tlsf heap memory allocations. I need a small assist to resolve some git problems with Adafruits lwIP repo before this can merge.
  • In the process of adding/testing RP2350 SHA-256 hardware acceleration to mbedtls config for the RP2 port. This should help with HTTPS performance.

30:16 @SamBlenny (text only)

  • Learning my way around Zephyr and writing Playground guides about it.
  • Working on a Zephyr board definition for Feather RP2350. Planning to try the Metro RP2350 and FruitJam once boards are available. Planning to look at display support (SPI, HSTX, maybe LVGL).

30:43 In The Weeds

31:02 Wrap-Up

Next meeting: Tuesday February 18, 2025 at the usual time of 2PM US ET/11AM US PT.