PLAY PODCASTS
Deep Dive w/Scott: More Merging

Deep Dive w/Scott: More Merging

Adafruit Industries

April 30, 20212h 37m

Audio is streamed directly from the publisher (adafruit-podcasts.s3.amazonaws.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Join Scott today as he answers questions from the chat and works on the MicroPython 1.13 merge. Scott is sponsored by Adafruit to work on CircuitPython. Support them, and by extension me, by purchasing hardware from https://adafruit.com Chat with me and lot of others on the Adafruit Discord at https://adafru.it/discord. Deep Dive happens every week. Normally Fridays at 2pm Pacific but occasionally shifted to Thursday at 2pm. Typically goes for two hours or more. Questions are welcome. 0:00 Getting started and hellos 5:00 housekeeping 5:50 NeoTrinkey 11:00 trying to load circuit python on my new metro esp32-s2, but the firmware doesn't seem to update since I don't see it mount 13:39 pick up where scott left off… 13:59 Oxide Computer exploit 15:56 Micropython & CircuitPython relationship 16:20 Micropython 8 years old - happy birthday! (April-29) 19:43 adafruit readme on github 20:03 BNO055 project see forums.adafruit.com 21:56 Interrupts/threading MP vs.CP 24:59 - memory related usage 27:25 CircuitPython libs just work cross platform, like using a LoRa RF modem on a RasPi with Blinka. 28:45 Can CircuitPython run on the Adafruit Feather boards? - see circuitpython.org/downloads 29:33 learning regular Python helps learning CircuitPython 31:27 Merge 1.12 completed - pull request 32:10 Thanks Jeff E. 32:35 anyone been able to get circuitpython working on a soft FPGA RISC-V? 33:33 Dan’s pull request for USB stuff! 34:18 - status update ?.merge MP 1.10 ….1.15 into ( CP 7.0 ) 38:40 Sublime merge process description 39:48 VS Code 41:48 forking... making a copy and modding from there, and merging you bring in changes from a newer version of what you forked from? 42:49 pycharm ? 43:35 contributing to github guide 43:57 expanding on 1.12 pull request 45:45 merging… 54:04 meld is free tool similar features 56:15 MP_ERROR_TEXT 57:50 using beyond compare right now to compare two 8GB binary files. 59:23 Source Tree, Visual Studio 1:04:30 Is there an Adafruit BMP280 eagle library? - need to check product… 1:07:20 GC collect - assign 0 to support collecting 1:09:20 under 200 files to merge left 1:14:50 assign 0, then gc vs. del for freeing memory 1:17:09 using del() to unimport 1:17:64 ​Does CircuitPython run any hardware CI to make sure there are no regressions on supported boards? 1:19:35 pairheap - we probably want it :-) 1:26:00 we don’t use mod microsocket 1:28:15 Jeff found places where we don’t have tests… 1:29:12 mp thread 1:31:00 frzqstr.py 1:32:44 in the py folder! 1:36:45 CP has more support in ‘struct’ and turn off non-standard stuff 1:42:35 py/compile.c # emit bytecode 1:45:35 walrus operator? PN_annassign 1:48:50 native mpy files? … emitbc.c # emit bytecode 1:52:25 yes - it’s nice to merge each milestone 1:54:32 py/gc.c 1:57:16 CP has f-string support, MP doesn’t 1:59:59 CP gets full version from github 2:00:30 py/malloc.c 2:02:15 “after I’m done with this, it is not going to compile, that’s now how it works” 2:06:07 py/modstruct.c ( we don’t use it I think ) 2:07:10 two spots where we want to say circuitpython… 2:09:12 some things that don’t belong in the py folder… 2:11:50 community broadband… 2:14:25 FCC interested in learning users broadband speeds https://broadbandmap.fcc.gov/#/ 2:16:57 py/obj.h (is a big file) 2:19:31 a while ago they changed the capitalizations of things…. 2:28:31 six to go 2:32:30 py/objmodule.c - 99 left 2:34:20 wrap up / thanks