17 KiB
CircuitPython Weekly for TUESDAY June 1st, 2021
Video is available here on YouTube.
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 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 one 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.
3:20 Community News
Check out the full newsletter at https://www.adafruitdaily.com/2021/06/01/python-on-microcontrollers-newsletter-python-on-hardware-becomes-mainstream-and-more-python-adafruit-circuitpython-micropython-thepsf/ !
6:03 State of CircuitPython, Libraries and Blinka
Overall
- 43 pull requests merged (56 for the week ending sunday!)
- 21 authors - jfurcean, hexthat, caternuson, alimustafashah, weblate, dhalbert, EmergReanimator, jvalrog, sepro, jposada202020, Neradoc, jepler, bergdahl, bjnhur, FoamyGuy, mikejc58, waiweng83, dherrada, tyomitch, makermelissa, wtuemura + fede2cr, hugodahl, lesamouraipourpre, twa127, zlite
- 13 reviewers - jepler, brentru, caternuson, kattni, tannewt, lesamouraipourpre, FoamyGuy, dhalbert, ladyada, dherrada, gamblor21, makermelissa, jposada202020 + kattni
- 22 closed issues by 10 people, 21 opened by 19 people
8:13 Core
-
18 pull requests merged
- 11 authors - jepler, bergdahl, hexthat, weblate, dhalbert, waiweng83, EmergReanimator, wtuemura, tyomitch, jposada202020, Neradoc
- 5 reviewers - jepler, ladyada, kattni, tannewt, dhalbert
-
21 open pull requests
- https://github.com/adafruit/circuitpython/pull/3454 (Open 251 days)
- https://github.com/adafruit/circuitpython/pull/3696 (Open 197 days)
- https://github.com/adafruit/circuitpython/pull/3730 (Open 193 days)
- https://github.com/adafruit/circuitpython/pull/3941 (Open 145 days)
- https://github.com/adafruit/circuitpython/pull/3967 (Open 141 days)
- https://github.com/adafruit/circuitpython/pull/4088 (Open 122 days)
- https://github.com/adafruit/circuitpython/pull/4131 (Open 116 days)
- https://github.com/adafruit/circuitpython/pull/4195 (Open 107 days)
- https://github.com/adafruit/circuitpython/pull/4607 (Open 47 days)
- https://github.com/adafruit/circuitpython/pull/4755 (Open 18 days)
- https://github.com/adafruit/circuitpython/pull/4762 (Open 17 days)
- https://github.com/adafruit/circuitpython/pull/4778 (Open 13 days)
- https://github.com/adafruit/circuitpython/pull/4793 (Open 11 days)
- https://github.com/adafruit/circuitpython/pull/4809 (Open 6 days)
- https://github.com/adafruit/circuitpython/pull/4816 (Open 4 days)
- https://github.com/adafruit/circuitpython/pull/4826 (Open 3 days)
- https://github.com/adafruit/circuitpython/pull/4823 (Open 3 days)
- https://github.com/adafruit/circuitpython/pull/4829 (Open 1 days)
- https://github.com/adafruit/circuitpython/pull/4835 (Open 0 days)
- https://github.com/adafruit/circuitpython/pull/4834 (Open 0 days)
- https://github.com/adafruit/circuitpython/pull/4833 (Open 0 days)
-
10 closed issues by 5 people, 10 opened by 10 people
-
457 open issues
-
5 active milestones
- 6.x.x - Bug Fixes: 3 open issues
- 7.0.0: 56 open issues
- Libraries: 14 open issues
- Long term: 373 open issues
- Support: 4 open issues
- 7 issues not assigned a milestone
-
Core download stats available at https://circuitpython.org/stats
Overview: Dan released 6.3.0-rc.0 and we’ll follow up with a 6.3.0 stable this week hopefully. Once we have 6.3 stable we can start doing pre-releases of 7.0.0 for testing.
11:16 Libraries
- 24 pull requests merged
- 12 authors - jepler, jfurcean, bjnhur, caternuson, alimustafashah, FoamyGuy, mikejc58, jvalrog, dherrada, sepro, makermelissa, jposada202020
- 13 reviewers - jepler, brentru, caternuson, kattni, tannewt, lesamouraipourpre, FoamyGuy, dhalbert, ladyada, dherrada, gamblor21, makermelissa, jposada202020
- Merged pull requests:
- https://github.com/adafruit/Adafruit_CircuitPython_PCA9685/pull/36 (Days open: 119)
- https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI/pull/132 (Days open: 48)
- https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k/pull/34 (Days open: 46)
- https://github.com/adafruit/Adafruit_CircuitPython_SI5351/pull/21 (Days open: 30)
- https://github.com/adafruit/Adafruit_CircuitPython_BNO08x/pull/23 (Days open: 29)
- https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar/pull/30 (Days open: 22)
- https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar/pull/31 (Days open: 19)
- https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes/pull/37 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_MCP9808/pull/31 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Gizmo/pull/18 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_FunHouse/pull/16 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_MIDI/pull/35 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_seesaw/pull/69 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Dash_Display/pull/1 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_TCA9548A/pull/35 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_PortalBase/pull/40 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_HID/pull/69 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_HID/pull/70 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_SI4713/pull/19 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Bundle/pull/317 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Bundle/pull/316 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Bundle/pull/315 (Days open: 1)
- https://github.com/adafruit/Adafruit_CircuitPython_Bundle/pull/314 (Days open: 1)
- https://github.com/adafruit/CircuitPython_Community_Bundle/pull/77 (Days open: 1)
- 10 closed issues by 6 people, 9 opened by 8 people
- https://circuitpython.org/contributing
- 310 open issues
- 4 good first issues
- 48 open pull requests (Oldest: 529, Newest: 1) Library updates in the last seven days:
New Libraries
Updated Libraries
- Adafruit_CircuitPython_Bitmap_Font
- Adafruit_CircuitPython_DisplayIO_Layout
- Adafruit_CircuitPython_DPS310
- Adafruit_CircuitPython_SI5351
- Adafruit_CircuitPython_PCA9685
- Adafruit_CircuitPython_BNO08x
- Adafruit_CircuitPython_Gizmo
- Adafruit_CircuitPython_ProgressBar
- Adafruit_CircuitPython_ESP32SPI
- Adafruit_CircuitPython_TCA9548A
- Adafruit_CircuitPython_PortalBase
- Adafruit_CircuitPython_Wiznet5k
- Adafruit_CircuitPython_HID
- Adafruit_CircuitPython_SI4713
- Adafruit_Blinka_Displayio
- CircuitPython_Community_Bundle
Overall: It’s great to see the push to get through the currently open PRs, thank you to Jose David for all the work going into that. It’s also great to see weekly updates to the Community Bundle.
14:16 Blinka
- 1 pull requests merged
- 1 authors - caternuson
- 1 reviewers - makermelissa
- 3 open pull requests
- https://github.com/adafruit/Adafruit_Blinka_Displayio/pull/41 (Open 226 days)
- https://github.com/adafruit/Adafruit_Blinka/pull/417 (Open 111 days)
- https://github.com/adafruit/Adafruit_Python_PlatformDetect/pull/171 (Open 9 days)
- 2 closed issues by 1 people, 2 opened by 2 people
- 55 open issues
- PyPI Downloads in the last week: 5637 Number of supported boards: 75
Overall: It’s nice to see the number of open pull requests going down.
14:53 Hug reports
15:19 @jepler
- Community moderators for dealing with some things
- Kattni & Scott for running meetings while I was out
- Dan for some weekend code reviews & merges
15:57 @jerryn
- @neradoc for being incredibly helpful and patient on Discord.
- @cater and @Jose David for commiserating on the tca9548a issue
16:31 @Jose David (missing Meeting)
- @jerryn for helping on the TCA9548 and BME280 PRs. For always answering the call when more testing is needed
- @lesamouraipourpre for participating in the DPS310 PR given tips and solutions.
- @Doctor on Discord for being present and keeping the discord chat moving, and very dynamic.
17:04 @kattni
- @danh for taking care of some moderation issues on Discord
- Community Moderators on Discord for being there to keep our community amazing
- @jose david m. and @lesamouraipourpre for working through the DPS310 PR
- @jose david m. for agreeing to update the DPS310 learn guide to match the PR
- One more for @jose david for taking on going through all the open library PRs and making sure we get caught up.
17:43 @KeithTheEE (text only)
- @Jose David for sitting down and helping me walk through some api and documentation decisions for the SGP40
17:56 @MakerMelissa
- @kattni for taking on learning how to add a board for Arduino CI checks
- Group Hug to everyone else
18:21 @tannewt
- Group hug. It’s amazing to see all of the activity over four days. You all make this community awesome.
20:08 @anecdata (text only)
- Group hug
20:18 @danh
- @Jeff E and @djix123 for making mpy-cross run natively on MacOS M1
- @ATMakersBill for testing user-supplied HID descriptors
@DaveP (lurking)
20:58 @David.Glaude (lurking)
- @danh for the dynamic USB learn guide.
21:05 @foamyguy
- Discord Moderators for handling some non-ideal situations that have arisen
- @JeffE for doing the work to repurpose the requirement screenshot tool to work with library examples
- @fede2 for hanging out during my weekend stream and sharing server configuration + SSL knowledge and helpful utilities
- @MarkGamblor for reviewing and @rsbohn for testing a PR in the HID library that added consumer codes for brightness
- Scott for shouting out my weekly streams on Show & Tell.
22:02 Status Updates
22:30 @jepler
- Last week:
- Built mpy-cross for M1 macs (with quick correction/improvement from community member djix123 on github!)
- Added Actions CI to verify that most ports can be built on Windows successfully & fixed some bugs
- Started adapting esp32s2 camera capture code into CircuitPython
- The code is for the Kaluga with OV2640 but we’re trying to use it with OV7670 since that’s what we have initialization code for
- The code is not particularly stable (images are artifacty or shifted) on my Kaluga devkits with the official camera :-/ which is worrying
- Using this code means I don’t have to worry about low level stuff like FIFOs and DMAs though
- This week:
- Continuing with esp32s2 camera capture code
- Have to wire up a custom proto shield, which just takes a long time for me
- Will know soon if it works or not; hopefully it does work
24:29 @jerryn
- Still baffled by the tca9548a issue on rp2040
- Logic analyzer shows that it is not sending commands properly. The channel switch is missing sometimes.
- No idea why
- Logic analyzer shows that it is not sending commands properly. The channel switch is missing sometimes.
- Ran into issue with HCSR04 (RCWL-1601) not working properly on RP2040 - OK in M4 - Opened issue in HCSRO4 but may be a CP (pulsein) issue.
- In response to a forum post, tried running a Airlift on an Rp2040 Pico running Micropython -- using Blinka
- MP does not have time.monotonic() -- had to revise library code
- Ran into an SPI issue - unable to get it working so far.
27:16 @Jose David (missing meeting)
- Las Week:
- Reviewing PRs.
- Working on BME280 and DPS310 Memory optimization
- Some small docs updates
- Next Week
- I will be on PRs land for one more Week.
- Reviews if needed
27:42 @kattni
- Last week:
- Published NeoKey Trinkey guide
- Started Rotary Trinkey guide
- Worked with Dylan on starting the move of the libraries from
mastertomain - Finished up the Analog In template page
- Tested a new feature in Learn
- This week so far:
- Reviewed DPS310 PR
- Continued working on Rotary Trinkey guide
- Final testing of the Learn feature
- The rest of the week:
- Finish Rotary Trinkey guide
- PrettyPins for some SAMD21 boards
- Factor out Simple Text Display from CLUE library into its own helper library
33:07 @MakerMelissa
- Last Week:
- CircuitPython.org board updates
- Started working on a new learn guide with speech recognition
- I went through my guide feedback and made updates where applicable
- I also went through the Google Assistant and eInk Calendar guides and redid the steps for Google Setup on the Calendar guide as they had completely changed.
- Helped @kattni with adding arduino boards to check when PRs submitted
- This Week:
- Working on learn guide for speech recognition
- Taking a look at some of the Raspberry Pi Shell Scripts
34:00 @tannewt
- Took Friday and Monday off. Nice long weekend! Made some progress on Fiber Deserts too!
- Working on BLE workflow.
- Added different advertisements based on bonding state.
- Added 1 second wait for enabling BLE.
- Working on USB/BLE file system sharing. USB will win vs BLE. User code access will follow existing API.
- Filed an issue with Antonio about multipacket responses crashing. Will try to get them a build this week.
- Testing all of the components via the test scripts. The original scripts didn’t handle reconnects that the real version has.
- Taking time off June 10th - 18th. Back on the 21st. No Deep Dive for the two weeks after this one.
36:36 @anecdata (text only)
- Off-the-grid: no internet for most of the next week or so
36:51 @danh
- Fixed some dynamic HID bugs encountered by @ATMakersBill.
- Working on native keypad support for simple keypads and key matrices.
- Released 6.3.0-rc.0. Will do 6.3.0 final today or tomorrow.
- PR to raspberrypi/pico-sdk to handle slow clock startup on some RP2040 boards.
38:48 @david.glaude (lurking)
- CP
- Just chatting with CGrover about thermal cam (maybe a CP fatigue)
- Non CP:
- Successfully used WLED [ESP32 Wifi LED animation] with Neopixel and Dotstar in 5V… but failed with the 12V led strip I did plan to reuse.
- Playing with Docker on Pi4 with https://sensorsiot.github.io/IOTstack
- Acquired 3m x 1.4m of reflexive fabric (Green screen trick with LED)
39:40 @foamyguy
- Last week
- Implement guest user functionality on designio so that people can make designs without a user account
- Research consumer codes for brightness and PR to HID library to add them
- Possibly found a working solution for installing circuitpython-stubs from pip
- This week
- Validate stubs install can work from test listing on PyPi. I was able to successfully install it locally. If this works then prepare a repo or whatever will be needed to get ready for deploying them.
- Write some code for using a rotary encoder to send HID consumer codes.
- 3D model a phone / tablet stand with a crank arm integrated
-
41:36 In The Weeds
41:40 @danh
- Consider dropping settings.py as an alternate name for boot.py. Not used in practice and can be confusing. A user had an innocuous settings.py that was overriding boot.py the first time he tried to use boot.py/
- Consider dropping boot.txt, code.txt, etc. and also checks for double extensions. Conclusion: Yes, drop support in 7.0
45:27 @jerryn I2C Rotary encoder (and Trinkey, I think) -- there have been several comments about them “going the wrong way” The counts decrease when turned clockwise. Is this an issue or a “feature”
Conclusion: Report as bug in library, but consider whether it is a bug in seesaw as well.
53:24 Wrap-Up
Thank you for joining us for the Weekly meeting on Tuesday June 1, 2011. The next meeting will be on Monday as usual, June 7 2021 at the usual time of 2PM ET.