March 29th notes

This commit is contained in:
Scott Shawcroft 2021-03-29 12:16:49 -07:00 committed by GitHub
parent d5170b00b1
commit 1f41b34ed2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

459
2021/2021-03-29.md Normal file
View file

@ -0,0 +1,459 @@
# CircuitPython Weekly for 29 March 2021
Video is available here [on YouTube](https://youtu.be/Jxt0lLwhVFg).
Join here for the chat all week: http://adafru.it/discord
The CircuitPython Weekly happens normally at 2pm 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 using the following link: https://raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical for use with standard calendar applications or in your browser: https://open-web-calendar.herokuapp.com/calendar.html?url=https://raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical
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 one 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.
## 3:02 Community News
3:07 Linux turns 30!
Tux Turns 30! Join the Linux Foundation as they celebrate 30 Years of Linux with social media contests, event celebrations & more - Linux Foundation and Twitter.
3:30 Python Software Foundation Membership Drive
From the Python Software Foundation: "As we celebrate the PSFs 20th and Pythons 30th anniversaries, we want to welcome everyone to become a PSF member. Its important to us to have a membership that reflects our community. Everyone who uses and supports Python is invited to join us..." There are multiple membership levels available. The membership drive ends March 21, 2021. More - Python.org.
4:14 A larson scanner in CircuitPython using PWM on the blue LEDs of the Cytron Maker Pi Pico with a serial-connected Adafruit Feather nRF52840 Express "daughterboard" providing the PWM audio - YouTube.
4:40 Experience the joy of receiving your first radio signal with the ScoutMakes Bluetooth FM Radio Kit - Tindie.
4:56 A colored device that stores all your 2FA auths and types them for you - Hackaday via Reddit.
5:10 Emulate, read, write, and communicate between NFC devices with Electronic Cats' Hunter Cat NFC board - Hackster.
5:30 The CircuitPython Weekly Newsletter is a CircuitPython community-run newsletter emailed every Tuesday. 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](https://github.com/adafruit/circuitpython-weekly-newsletter/tree/gh-pages/_drafts) and [submit a pull request](https://help.github.com/articles/editing-files-in-your-repository/) with the changes. You may also tag a tweet with #CircuitPython on Twitter, or email cpnews@adafruit.com.
## 6:34 State of CircuitPython, Libraries and Blinka
### 6:54 Overall
* 45 pull requests merged
* 18 authors - kattni, yeyeto2788, jepler, FoamyGuy, Lukas1337, ehippy, kmatch98, dhalbert, anecdata, jfurcean, jimbobbennett, lubarb, dherrada, brentru, gamblor21, jposada202020, lcongdon, makermelissa
* 12 reviewers - kattni, dhalbert, caternuson, jepler, FoamyGuy, brentru, dherrada, tannewt, askpatrickw, gamblor21, jposada202020, ladyada
* 22 closed issues by 12 people, 16 opened by 14 people
### 8:22 Core
* 4 pull requests merged
* 3 authors - dhalbert, jepler, kmatch98
* 5 reviewers - tannewt, dhalbert, gamblor21, jepler, ladyada
* 23 open pull requests
* https://github.com/adafruit/circuitpython/pull/3454 (Open 187 days)
* https://github.com/adafruit/circuitpython/pull/3493 (Open 179 days)
* https://github.com/adafruit/circuitpython/pull/3696 (Open 133 days)
* https://github.com/adafruit/circuitpython/pull/3730 (Open 129 days)
* https://github.com/adafruit/circuitpython/pull/3941 (Open 81 days)
* https://github.com/adafruit/circuitpython/pull/3967 (Open 77 days)
* https://github.com/adafruit/circuitpython/pull/4088 (Open 58 days)
* https://github.com/adafruit/circuitpython/pull/4131 (Open 52 days)
* https://github.com/adafruit/circuitpython/pull/4195 (Open 43 days)
* https://github.com/adafruit/circuitpython/pull/4236 (Open 35 days)
* https://github.com/adafruit/circuitpython/pull/4280 (Open 30 days)
* https://github.com/adafruit/circuitpython/pull/4367 (Open 19 days)
* https://github.com/adafruit/circuitpython/pull/4388 (Open 17 days)
* https://github.com/adafruit/circuitpython/pull/4399 (Open 15 days)
* https://github.com/adafruit/circuitpython/pull/4438 (Open 10 days)
* https://github.com/adafruit/circuitpython/pull/4447 (Open 9 days)
* https://github.com/adafruit/circuitpython/pull/4457 (Open 7 days)
* https://github.com/adafruit/circuitpython/pull/4490 (Open 3 days)
* https://github.com/adafruit/circuitpython/pull/4489 (Open 3 days)
* https://github.com/adafruit/circuitpython/pull/4488 (Open 3 days)
* https://github.com/adafruit/circuitpython/pull/4495 (Open 2 days)
* https://github.com/adafruit/circuitpython/pull/4503 (Open 1 days)
* https://github.com/adafruit/circuitpython/pull/4501 (Open 1 days)
* 5 closed issues by 1 people, 4 opened by 4 people
* 424 open issues
* https://github.com/adafruit/circuitpython/issues
* 7 active milestones
* 6.2.0: 1 open issues
* 6.x.0 - Features: 0 open issues
* 6.x.x - Bug Fixes: 42 open issues
* 7.0.0: 9 open issues
* Libraries: 13 open issues
* Long term: 345 open issues
* Support: 8 open issues
* 6 issues not assigned a milestone
Overall: Quite close to 6.2 RC. Depending on when we land the changes that will trigger 7, well do 6.3 or 7, likely 7. We dont want to cause things to change the pace.
### 10:36 Libraries
* 40 pull requests merged
* 18 authors - kattni, yeyeto2788, jepler, FoamyGuy, Lukas1337, ehippy, kmatch98, dhalbert, anecdata, jfurcean, jimbobbennett, lubarb, dherrada, brentru, gamblor21, jposada202020, lcongdon, makermelissa
* 11 reviewers - kattni, dhalbert, caternuson, jepler, FoamyGuy, brentru, dherrada, tannewt, askpatrickw, jposada202020, ladyada
* Merged pull requests:
* https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes/pull/32 (Days open: 55)
* https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect/pull/28 (Days open: 49)
* https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect/pull/29 (Days open: 26)
* https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/pull/145 (Days open: 9)
* https://github.com/adafruit/Adafruit_CircuitPython_DHT/pull/68 (Days open: 8)
* https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/pull/127 (Days open: 7)
* https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/pull/129 (Days open: 6)
* https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout/pull/18 (Days open: 6)
* https://github.com/adafruit/Adafruit_CircuitPython_Display_Text/pull/147 (Days open: 4)
* https://github.com/adafruit/Adafruit_CircuitPython_CAP1188/pull/20 (Days open: 3)
* https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/pull/17 (Days open: 3)
* https://github.com/adafruit/Adafruit_CircuitPython_datetime/pull/8 (Days open: 3)
* https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT/pull/28 (Days open: 3)
* https://github.com/adafruit/Adafruit_CircuitPython_RSA/pull/18 (Days open: 3)
* https://github.com/adafruit/Adafruit_CircuitPython_TLC5947/pull/24 (Days open: 2)
* https://github.com/adafruit/Adafruit_CircuitPython_CPython/pull/15 (Days open: 2)
* https://github.com/adafruit/Adafruit_CircuitPython_TLV493D/pull/11 (Days open: 2)
* https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/pull/32 (Days open: 2)
* https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad/pull/48 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad/pull/49 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_BLE_Radio/pull/15 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_AVRprog/pull/21 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_BoardTest/pull/15 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/pull/19 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/pull/18 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/104 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_RockBlock/pull/21 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_FocalTouch/pull/20 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing/pull/69 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect/pull/30 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/pull/78 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO/pull/68 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_HID/pull/62 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout/pull/27 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout/pull/26 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout/pull/25 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout/pull/24 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_EMC2101/pull/13 (Days open: 1)
* https://github.com/adafruit/Adafruit_CircuitPython_Bundle/pull/302 (Days open: 1)
* https://github.com/adafruit/CircuitPython_Community_Bundle/pull/61 (Days open: 1)
* 16 closed issues by 12 people, 11 opened by 10 people
* https://circuitpython.org/contributing
* 311 open issues
* 5 good first issues
* 63 open pull requests (Oldest: 812, Newest: 1)
Library updates in the last seven days:
**Updated Libraries**
* [Adafruit_CircuitPython_BNO08x](https://github.com/adafruit/Adafruit_CircuitPython_BNO08x)
* [Adafruit_CircuitPython_BLE_Cycling_Speed_and_Cadence](https://github.com/adafruit/Adafruit_CircuitPython_BLE_Cycling_Speed_and_Cadence)
* [Adafruit_CircuitPython_MIDI](https://github.com/adafruit/Adafruit_CircuitPython_MIDI)
* [Adafruit_CircuitPython_TLC5947](https://github.com/adafruit/Adafruit_CircuitPython_TLC5947)
* [Adafruit_CircuitPython_TLV493D](https://github.com/adafruit/Adafruit_CircuitPython_TLV493D)
* [Adafruit_CircuitPython_CAP1188](https://github.com/adafruit/Adafruit_CircuitPython_CAP1188)
* [Adafruit_CircuitPython_ImageLoad](https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad)
* [Adafruit_CircuitPython_PIOASM](https://github.com/adafruit/Adafruit_CircuitPython_PIOASM)
* [Adafruit_CircuitPython_FeatherWing](https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing)
* [Adafruit_CircuitPython_Display_Shapes](https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes)
* [Adafruit_CircuitPython_BluefruitConnect](https://github.com/adafruit/Adafruit_CircuitPython_BluefruitConnect)
* [Adafruit_CircuitPython_ESP32SPI](https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI)
* [Adafruit_CircuitPython_HID](https://github.com/adafruit/Adafruit_CircuitPython_HID)
* [Adafruit_CircuitPython_DisplayIO_Layout](https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_Layout)
* [Adafruit_CircuitPython_Display_Text](https://github.com/adafruit/Adafruit_CircuitPython_Display_Text)
* [Adafruit_CircuitPython_EMC2101](https://github.com/adafruit/Adafruit_CircuitPython_EMC2101)
* [Adafruit_Blinka_bleio](https://github.com/adafruit/Adafruit_Blinka_bleio)
* [CircuitPython_Community_Bundle](https://github.com/adafruit/CircuitPython_Community_Bundle)
Overall: Im glad to see some older PRs being looked into and merged. If youre waiting on us for a PR you have in, please feel free to ping us and let us know. Were doing our best to keep up with things, but often older things get missed. Its great to see all the continued contributions, especially to the community bundle.
### 12:55 Blinka
* 1 pull requests merged
* 1 authors - dhalbert
* 1 reviewers - tannewt
* 6 open pull requests
* https://github.com/adafruit/Adafruit_Python_PureIO/pull/1 (Open 1759 days)
* https://github.com/adafruit/Adafruit_Blinka_Displayio/pull/41 (Open 162 days)
* https://github.com/adafruit/Adafruit_Blinka/pull/417 (Open 47 days)
* https://github.com/adafruit/Adafruit_Blinka/pull/436 (Open 4 days)
* https://github.com/adafruit/Adafruit_Blinka/pull/437 (Open 0 days)
* https://github.com/adafruit/Adafruit_Python_PlatformDetect/pull/149 (Open 0 days)
* 1 closed issues by 1 people, 1 opened by 1 people
* 54 open issues
* https://github.com/adafruit/Adafruit_Blinka/issues
* PyPI Downloads in the last week: 275
Number of supported boards: 70
## 14:00 Hug reports
15:11 @anecdata (lurking)
* @brentru & @hierophect for reviews
15:19 @askpatrickw (lurking)
* Thanks to James (@lesamouraipourpre) for the circup fix which reduces the number of HTTP requests to Github
15:36 @CGrover (text only)
* Group hug to the team and community.
15:44 @danh
* @Gadgetoid, @fivdi, @ladyada for work and testing on the RP2040 I2C issues.
* @kmatch for `displayio` and `vectorio` fixes and enhancements.
* @jepler for jumping in on the i.MX port.
@DaveP (lurking)
16:32 @David.Glaude (text only)
* @tannewt for trying to find a solution to the FeatherS2 Dx pin naming confusion
* Whoever added the random learn guide link: https://learn.adafruit.com/guides/random
* @danh for solving many people I2C issue on Feather RP2040 (#4482)
* @foamyguy and all the watcher of his stream
* @anecdat for the work and example on the network stack
* @jfurcean for the Wii DJ Hero driver
17:13 @foamyguy
* @jfurcean for working on a fix for the TFT FeatherWing helpers to allow to be used with Feathers that have different pinouts
* James carr for picking up some work trying to make the EZ Make oven project use less RAM
* @kmatch and @jposada202020 for all of their work on awesome new displayio widgets
* @jerryn for looking into an issue with STMPE610 touch screen driver.
18:03 @hierophect
* @danh for help and discussions about deep sleep
* @tyomitch and @jun2sak for sticking with their PRs
* @anecdata for fixing UDP
* @jelpler for continued fixes for the i.MX
18:53 @Hugo (text only for now)
* Group hug
* @JP and @Foamyguy for the work put into the Touch Deck project and guide
* Pre-emptive hug to @Kattni who will be publishing her first solo CircuitPython newsletter tomorrow. No doubt shell rock it!
19:14 @jepler [missing meeting]
* Group hug
* @david.glaude & @v923z -- not sure I thanked you for spurring on the work with bitmaps a few weeks ago
* @hierophect & @arturo & others for setting the ground-work for imxrt-series mcus
19:33 @jerryn
* Group hug.
19:45 @jfurcean (text only)
* @danh and @foamyguy for PR reviews.
* @foamyguy and @JP for the Touch Deck learn guide.
* @tannewt and @foamyguy for the streams.
20:00 @Jose David (Text Only)
* @kmatch for reviewing and commenting, and all the hard work. Thanks for helping with my lack of geometry skills. And come to the rescue.
* @foamyguy for all the teamwork
20:17 @kattni
* @jepler for putting extra effort into understanding pylint and pre-commit
* @foamyguy, @jmatlock and @kevinjwalters for submitting PRs to the newsletter
* @jerryn for dealing with a moderation issue
* Sending hugs and support to @ATMakers Bill Binko
* Group hug!
20:46 @kmatch
* @jposada202020 for all the widget and graphics additions and your can do attitude
* @foamyguy and @tannewt for the livestreams always a lot new to learn in each one
* @jepler and @tannewt for encouragement to take on new challenges
* @WarriorofWire for insights into the vectorio module and your defense of pixel refresh speed!
21:32 @MakerMelissa
* @tannewt for pointing me in the right direction last week with the Bundle Release Generation
* @jwcooper for help with getting me set up on Amazon S3 and fixing permissions issues
* Group Hug
21:54 @mark(Gamblor) [lurking]
* @tannewt for starting me off on audiomixer and where to look
* @kevinjwalters for pointing out some audio stuff in the PR to confirm it was an existing issue
* Group hug
14:35 @tannewt
* Neradoc for sorting the language names on circuitpython.org
* Jose David for helping folks on the RP2040
* Rob_Fenwitch for the right click tip in the downloads list to get the original URL
## 22:11 Status Updates
@anecdata (lurking)
25:32 @CGrover (text only)
* No CircuitPython activity to report this week.
* Unrelated: The book illustration project is nearly complete. Have my drawing skills improved and am I having fun? Yes and yes. Are the new skills good enough to put food on the table? Only if drawn there.
25:59 @danh
* More discussions on getting I2C devices to work well on the RP2040. Its now clear that an I2C timing requirement needed to be considered. I have a new PR for our fork of the pico-sdk.
* After the RP2040 I2C final fix is incorporated, we should be able to make a CircuitPython 6.2.0 release candidate.
* Im now thinking about how to do dynamic USB and USB HID descriptors, and will start working on that for 7.0.0.
29:07 @David.Glaude (text only)
* Went on Show&Tell to show how to piggyback an I2C sensor on a StemmaQT board
* Portable C02 sensor with Feather RP2040 + OLED + SCD30: https://twitter.com/DavidGlaude/status/1375557719646740482?s=20
* Checking for a friend the lowest cost bill of material for a school CO2 sensor:
* Testing SCD30 + QT-Py and using color to indicate a level
* Made a strip down version of led-animation to fit the non-haxpress QT-Py
* “Accidentally” discovered the flatulence detector capacity of the sensor CO2 sensor: https://twitter.com/DavidGlaude/status/1376529884349075456?s=20
* Tested DJ Hero for Wii driver
* “Customised” the MagTag Vaccination progress bar for Belgium to match a Twitter bot value (we only count and give vaccine to >18): https://twitter.com/DavidGlaude/status/1375249364508143616?s=20
30:07 @foamyguy
* Last Week
* Reviewing PRs in display_text and displayio_layout
* Try to decrease memory usage in the EZ Make project. Streamed this work on Friday evening while Scott was off so no deep dive.
* Implement player movement, collision checking, for Tiled game files. Also begun implemented camera view to show a subset of the map
* This week
* Another pass through open displayio library PRs
* Working on enhancements to the custom font learn guide
* Continue implementing Tiled game functionality and attempt to make a more complex game with it instead of a basic movement example.
32:52 @hierophect
* Last week:
* Wrapped up the STM32 low power module, with the exception of one remaining bug
* Fixed a redundancy in the deep sleep manager in Main that was calling the alarm system constantly in a confusing way, thanks again to @danh for helping to confirm it
* Reviewed the new changes to the power API from Jun2Sak
* Put in a PR to try and help synchronize between the NRF and STM32 low power
* This week:
* Get started on RP2040 low power
* Pin down issue with STM32 returning wakeup alarm properly in certain deep sleep setups.
34:49 @Hugo
* Last 2 weeks
* Wrapped up refactor of progress bars
* Includes examples, etc.
* Looked into MagTag bitmap crash loop
* No dice on repro yet. Might be obsolete
* This week
* Look into new issues on backlog
* Setup new PC (assuming delivery) to get back into CP/Lib devs ASAP
35:50 @jepler [missing meeting]
Last week:
* SPI output on i.MX had some surprises to conquer, I think its solid now
* Found & fixed two problems preventing adafruit_sdcard from working with bitbangio
* Fixed some example code based on feedback in the learn system
* Added some tests to adafruit_pioasm, hoping someone else will add more
* Fixed a problem with datatime.timedelta.total_seconds() losing precision. Now long intervals are integer number of seconds and short intervals can have microseconds.
* Addressed feedback on Learn system guides
* Ran into an assertion error in the `re` module, would cause arbitrary misbehavior on mcu. Filed a patch with micropython, should also PR it for circuitpython.
* Ran into a problem with `memoryview(rgbmatrix)`, filed a PR
This week:
* Either moving on to PWMOut
* Or moving on to reports that the IMXRT1020-EVK doesnt boot (possibly since 5.3.0)
* Or bringing up IMXRT1024-EVK (similar to 1020 but has flash embedded in the microprocessor package)
Fun stuff:
* Hope to return to enhancing PulseIn to work with longer pulses for one of my own projects
37:14 @jerryn
* Managed to reproduce an issue with stmpe610 and feather Rp2040 but only with MacOS, not on Raspberry Pi…. now have something to follow up with.
* Continued looking at fingerprint library -- found another command that only works on some sensors. Not a big deal since not may folks even know about the extra commands...yet. Still investigating why one command needs an extra delay.
* New Mu 1.1.0-beta.3 actually works on my Mac -- woohoo!!
* Crocuses are blooming!!
39:11 @jfurcean (text only)
* Added led_on() function to adafruit_hid.keyboard to check the status of caps lock, scroll lock, num lock, and compose.
* Fixed the init in tft_featherwing_24 and tft_featherwing_35 to be able to use “non-standard”/non-adafruit feather boards.
39:37 @Jose David (Text Only)
Last Week
* Cartesian widget
* Take a brief look at the Peripherals PICO registers. Not much progress.
* PR on the equalizer widget. Inspired by @askpatrickws on the audio mixer
* New Line arrow function using vectorio, you can now using it to point things in your screen using CircuitPython added the community bundle
* New candlestick class, graphical representation of stock market price movement using CircuitPython added to the Community Bundle
This week
* Styles library, and getting this in the widgets library
* Slider Widget
40:22 @kattni
* Last week:
* First time publishing the newsletter on my own - still had help with content.
* Went through all the other newsletter bits that happen once its published
* Went through a ton of guide feedback. Down to things that involve others or significant testing needed.
* Published the CYBERDECK Bonnet and HAT guide
* Handed off MIDI FeatherWing guide
* Continued Template Quest
* This week:
* Publishing my first entirely-solo newsletter
* Proof the IoT newsletter for Brent
* Catching up on replies to older todos that I pinged about at the end of last week
* Continuing on Template quest.
43:21 @kmatch
Last week
* Added the FlipInput widget
* Few minor display related bug fixes
* Helped with memory usage for a couple of community members
This week
* Review Cartesian plot widget, Progress and Equalizer bar
* Submit a scrolling text box
Other fun stuff
* Ordered a Teensy 4.1 board (super fast and lots of RAM!)
* Study up on sigrok and TinyLogicFriend (from exactly 1 year ago @tannewts deep dive) and Gamblors Rasp Pico logic analyzer
44:28 @MakerMelissa
* Last Week:
* Finished the JSON file generation which makes it easier to get a list of all the libraries and their dependencies
* I got the Dynamic Rebundler working so you can go to a URL, specify the libraries you want and it will rebundle the main bundle to a mini bundle along with dependencies on the fly.
* Started working on getting the existing CircuitPython VSCode plugin figured out both in terms of usage and internal functionality.
* This Week:
* Get the Dynamic Rebundler into its final place so people can start using it
* Help update the CircuitPython VSCode plugin so it has some of the updated functionality of CircUp
* Maybe start on a UI for the Dynamic Rebundler so people can make their own packages easily.
45:47 @Mark(gamblor) [lurking]
* Last Week:
* Audiomixer works on RP2040 now and should work on any non M4 board but only tested on RP2040 for now
* Other fun stuff:
* Tomorrow I survived another trip around the sun
22:37 @tannewt
* Switched RP2040 and generic external flash to nvm.toml. Make sure to init submodules to get data/nvm.toml
* Finishing up switching iMX RT to nvm.toml in CP and tinyuf2
* Then, onto BLE workflow. Will likely start stubbing out BLE from CP Python to unblock Trevor on the app side.
## 46:13 In The Weeds
46:38 @kmatch I see periodic “out of memory” questions in the discord chats. What are good resources to help folks with general memory usage and debugging, fragmentation topics and good practices?
* See “Memory” in: https://learn.adafruit.com/welcome-to-circuitpython/frequently-asked-questions
* Deeper dive via microPython and very relevant to CircuitPython: https://docs.micropython.org/en/latest/reference/constrained.html
* @foamyguy did a Friday stream on saving memory on the EZbake oven specifically for the PyPortal Titano: https://m.youtube.com/watch?v=lDAyfZp_350&feature=youtu.be
* Any other intermediate-level guides or examples for problem solving
* Tip: Do a gc.collect() prior to large allocations
* Others
* There was the "use bytearray" advice.
* And use binary font (unsure).
* Reduce color depth.
* Avoid recursivity? May cause “pystack exhausted”
* Use generator rather than build big list.
* Needs: Tool for measuring the memory use of libraries
* @anecdata (Text Only) Is a defragmenter function accessible to CirPy a possibility? → not practical given current heap implementation; Moores Law improves the situation over time
59:49 @Jose David: (Text Only)
related with kmatch, do we need, with functions and patterns are more memory and time consuming in circuitpython, to avoid using them in libraries, is this architecture dependant, ie. ESP32S2 bus, etc
## 1:00:22 Wrap-Up