Deep Dive w/Scott: MicroPython Merging! episode artwork

EPISODE · Apr 23, 2021 · 2H 16M

Deep Dive w/Scott: MicroPython Merging!

from Adafruit Industries · host Adafruit Industries

Today Scott answers questions, talsk about merging in newer versions of MicroPython code into CircuitPython and his open law project, wa-law.org. Visit the Adafruit shop online - http://www.adafruit.com I’m 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. Next week will be on Friday. 0:00 Getting started 5:15 Housekeeping 8:04 hellos 9:03 CircuitPython intro… 9:16 clap 10:05 Micropython updates / release notes for 6.2.0 based on Jun 2018 Micropython! 11:34 Talk of CP 7.0 - mpy version revisit 11:40 Will circup know what mpy to take based on version of the board? (yes) 15:10 How will the learn guide new zip thing behave? 16:25 Plan for multiple merges from MP to CP 17:25 MP v1.10 merged in S3 18:20 Merge conflict battles… 19:20 Damien's doing faster release cycles now as well - since 1.13, so CP Is going to really want to stay updated more often going forward. 20:45 Sublime Merge 22:01 plans to support the Arduino Portenta? 22:45 Are each of the 1.1x going to be tested, or we only care about the last one? 26:15 anything particular you're looking for in the merge reviews? looked through the 1.11 PR, and built it for the RP2040. 28:28 The changelog will be crazy… 29:20 the merge process explained 32:15 Maybe we can get community to run automation on different boards … 32:40 Arduino Portenta dual core M7/M4 33:48 Does the toolchain allow for a code builder front end ?(edited) 35:08 How often is this done? 36:40 Micropython release notes 37:45 Is there a difference in merging the change from MP into CP... and redoing the change from CP into the last MP? (does that make sense) 39:30 v1.10 40:16 CP translation considerations ( new strings?) 42:30 MP (native/machine code) emitters 43:22 thought CircuitPython already supported underscores in numeric literals. On 6.2.0 on QT Py, I can do a = 1_000_000; print(a) and it's a number 43:57 v1.11 45:50 mpy-cross & mpy-tool 45:52 will testing with .py possibly give different results from testing with .mpy? 48:22 v1.12 51:25 littlefs (vs. FAT ) 56:56 What on chip peripherals are used for a Neo pixel ? One channel of a timer ? 58:20 v1.13 1:06:39 Was there a time where people were saying that using foo and bar make IT less accessible and it is not good for STEM and being open? Is that still the opinion? 1:07:03 With threading an interrupts couldn't we just write them in a c code block to use that inside circuit python? 1:09:12 v1.14 1:12:00 Could you rename the cp Ports folder do eliminate all these naming conflicts ? 1:15:20 v1.15 1:22:07 v1.11 merge failing checks… 1:24:20 git worktree 1:26:23 ​Is there a specific CPython version that you target compatibility with? (2.7, 3.9, etc) 1:27:45 fixing atmel-samd build error (openbook_m4) 1:35:04 Git commit --amend and cherry picking… 1:37:00 Are you getting the diff between MP's v1.x and v1.(x+1), and then cherry-picking that? 1:38:25 So how are you bringing in the per-release changes from MP? 1:40:55 Scott’s ‘other project’ / use git to store laws / HB1336 - 2021-22 1:52:40 Uniform Electronic Legal Access 1:53:55 RCW (current state) 1:55:00 wa-log.org 1:56:50 adoc (asciidoc) vs markdown 2:04:56 Gitlab allows adding users 2:11:06 Bills and terms of service agreements are things I wish I could track history of it better 2:11:30 completely different question from the topic. why adafruit nrf52840 still using softdevice 6.1.1 stack instead of 7.2.0(because of different memory layout)? 2:14:12 (4:10pm) wrap up 2:15:30 - headset off (4:12 pm) ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

Today Scott answers questions, talsk about merging in newer versions of MicroPython code into CircuitPython and his open law project, wa-law.org. Visit the Adafruit shop online - http://www.adafruit.com I’m 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. Next week will be on Friday. 0:00 Getting started 5:15 Housekeeping 8:04 hellos 9:03 CircuitPython intro… 9:16 clap 10:05 Micropython updates / release notes for 6.2.0 based on Jun 2018 Micropython! 11:34 Talk of CP 7.0 - mpy version revisit 11:40 Will circup know what mpy to take based on version of the board? (yes) 15:10 How will the learn guide new zip thing behave? 16:25 Plan for multiple merges from MP to CP 17:25 MP v1.10 merged in S3 18:20 Merge conflict battles… 19:20 Damien's doing faster release cycles now as well - since 1.13, so CP Is going to really want to stay updated more often going forward. 20:45 Sublime Merge 22:01 plans to support the Arduino Portenta? 22:45 Are each of the 1.1x going to be tested, or we only care about the last one? 26:15 anything particular you're looking for in the merge reviews? looked through the 1.11 PR, and built it for the RP2040. 28:28 The changelog will be crazy… 29:20 the merge process explained 32:15 Maybe we can get community to run automation on different boards … 32:40 Arduino Portenta dual core M7/M4 33:48 Does the toolchain allow for a code builder front end ?(edited) 35:08 How often is this done? 36:40 Micropython release notes 37:45 Is there a difference in merging the change from MP into CP... and redoing the change from CP into the last MP? (does that make sense) 39:30 v1.10 40:16 CP translation considerations ( new strings?) 42:30 MP (native/machine code) emitters 43:22 thought CircuitPython already supported underscores in numeric literals. On 6.2.0 on QT Py, I can do a = 1_000_000; print(a) and it's a number 43:57 v1.11 45:50 mpy-cross & mpy-tool 45:52 will testing with .py possibly give different results from testing with .mpy? 48:22 v1.12 51:25 littlefs (vs. FAT ) 56:56 What on chip peripherals are used for a Neo pixel ? One channel of a timer ? 58:20 v1.13 1:06:39 Was there a time where people were saying that using foo and bar make IT less accessible and it is not good for STEM and being open? Is that still the opinion? 1:07:03 With threading an interrupts couldn't we just write them in a c code block to use that inside circuit python? 1:09:12 v1.14 1:12:00 Could you rename the cp Ports folder do eliminate all these naming conflicts ? 1:15:20 v1.15 1:22:07 v1.11 merge failing checks… 1:24:20 git worktree 1:26:23 ​Is there a specific CPython version that you target compatibility with? (2.7, 3.9, etc) 1:27:45 fixing atmel-samd build error (openbook_m4) 1:35:04 Git commit --amend and cherry picking… 1:37:00 Are you getting the diff between MP's v1.x and v1.(x+1), and then cherry-picking that? 1:38:25 So how are you bringing in the per-release changes from MP? 1:40:55 Scott’s ‘other project’ / use git to store laws / HB1336 - 2021-22 1:52:40 Uniform Electronic Legal Access 1:53:55 RCW (current state) 1:55:00 wa-log.org 1:56:50 adoc (asciidoc) vs markdown 2:04:56 Gitlab allows adding users 2:11:06 Bills and terms of service agreements are things I wish I could track history of it better 2:11:30 completely different question from the topic. why adafruit nrf52840 still using softdevice 6.1.1 stack instead of 7.2.0(because of different memory layout)? 2:14:12 (4:10pm) wrap up 2:15:30 - headset off (4:12 pm) ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Adafruit on Instagram: https://www.instagram.com/adafruit Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

NOW PLAYING

Deep Dive w/Scott: MicroPython Merging!

0:00 2:16:10

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

API Intersection Stoplight Building a successful API requires more than just coding. It starts with collaborative design, focuses on creating a great developer experience, and ends with getting your company on board, maintaining consistency, and maximizing your API’s profitability.In the API Intersection, you’ll learn from experienced API practitioners who transformed their organizations, and get tangible advice to build quality APIs with collaborative API-first design.Jason Harmon brings over a decade of industry-recognized REST API experience to discuss topics around API design, governance, identity/auth versioning, and more.They’ll answer listener questions, and discuss best practices on API design (definition, modeling, grammar), Governance (multi-team design, reviewing new API’s), Platform Transformation (culture, internal education, versioning) and more.They’ll also chat with experienced API practitioners from a wide array of industries to draw out practical takeaways and insights you can use.H TV Podcast Industries Chris Jones, Derek O'Neill and John Harrison. TV Podcast Industries TV Podcast Industries is a podcast that provides discussions and reviews of various TV shows, including recent popular series like Alien Earth, The Sandman, The Last of Us, The Boys, and Daredevil Born Again. They also cover shows such as Ironheart, Star Trek: Picard, The Rings of Power, and many more, spanning both Marvel and DC universes, as well as other genres. Heart to Heart Podcast One on One / Next Level Studios In the Heart to Heart Podcast, we talk to some of our favorite & most interesting people in the entertainment industry so you can feel empowered and learn that even in the most challenging of industries, where there’s a will there’s a way.Whether you’re an actor, a writer, a casting director, a talent rep, or just someone interested in the behind the scene happenings of the entertainment industry, this podcast will have something for you. NOW, this isn’t just another How To podcast for actors. Plenty of those shows already exist. In Heart to Heart, every guest will share stories inspired by their sometimes winding path to success on their own terms. Revisionist History Pushkin Industries Revisionist History is Malcolm Gladwell's journey through the overlooked and the misunderstood. Every episode re-examines something from the past—an event, a person, an idea, even a song—and asks whether we got it right the first time. From Pushkin Industries. Because sometimes the past deserves a second chance.To get early access to ad-free episodes and extra content, subscribe to Pushkin+ in Apple Podcasts or at pushkin.fm/plus.iHeartMedia is the exclusive podcast partner of Pushkin Industries.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 2 hours and 16 minutes long.

When was this Adafruit Industries episode published?

This episode was published on April 23, 2021.

What is this episode about?

Today Scott answers questions, talsk about merging in newer versions of MicroPython code into CircuitPython and his open law project, wa-law.org. Visit the Adafruit shop online - http://www.adafruit.com I’m sponsored by Adafruit to work on...

Can I download this Adafruit Industries episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!