Deep Dive w/Scott: Release Candidate 0 and sleepio #adafruit

Subscribers:
447,000
Published on ● Video Link: https://www.youtube.com/watch?v=XW-C6DsOJc8



Duration: 2:18:08
1,771 views
36


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.
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.
Next week’s stream is on Friday.



0:00 Getting everything going

2:00 Housekeeping
8:05 Plan
9:17 6.0.0-rc.0 is out! Please help us test. https://github.com/adafruit/circuitpython/releases
17:45 UF2 on ESP32-S2

18:00 LED filter purple / yellow / green states of the RGB LED Red light indicates UF2-Boot
20:00 Free RTOS
21:00 Partition Layout - Purple - Stage 2 boot loader… (decides between ota_0 and ota_1)
24:00 - download latest CP from s3 ( absolute latest )
27:00 new product idea - feather sized LED acrylic 4 versions of boot loaders
29:00 Uf2-esp32s branch /generalize-bootloader
31:00 PIN_NEOPIXEL in board_led_state
35:29 RTS, CTS in UART
41:07 Arduino libraries in CircuitPython https://wiki.seeedstudio.com/ArduPy/
42:43 More release talk
45:20 https://medium.com/bhdynamics/dynossat-edu-newspace-at-your-reach-9c2f88ca52e6
49:45 - getting the cp 6.0 release onto circuitpython-org
51:20 - ( but first - check the release notes and the green CI )
1:05:00 - checking on release
1:06:40 - blog and forum posts announce release ( use convert*releasenotes*md tool )
1:12:05 blog post ( blog.adafruit.com ) ( copy html and URL )
1:15:00 tweet - https://twitter.com/adafruit/status/1317226793473085440
1:31:52 Suggestion for starting point/tutorials to learn how to start translating over from arduino sensors to python, so I can pitch in to the circuitpython effort? I am an enterprise dev using C#, js, etc
https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library
https://learn.adafruit.com/circuitpython-essentials/
https://www.youtube.com/watch?v=DdB3QS4_QQU
https://www.adafruit.com/product/4777

52:55 RTOS - https://zephyrproject.org/
1:01:57 - super-loop in circuitpython See CP main.c for (;;) { }
1:18:50 https://jaycarlson.net/embedded-linux/
1:26:13 Go Runtime on bare metal ?
1:27:20 Recently close pull requests ( see above in the plan )
1:32:34 - getting started topics
Read the docs - latest drivers ( all adafruit products )
Circuitpython community bundle ( non adafruit supported stuff )
Creating and sharing a circuit python library
Transition from arduino
Circuit python essentials guide
Youtube pybay 2019 circuitpython ( may be in recent newsletter )
Accelerating driver development with circuitpython - Bryan Siepert
Adafruit register
Join discord #help with circuitpython, #circuitpython ( more development )
revistaSG on twitter https://twitter.com/mesheryio/status/1317116337123098624

1:39:23 More sleepio API work
1:42:49 hibernate / sleep #2796
Light sleep - everything is still on, but cpu is not clocked
1:48:19 - sleep until alarm ( till someone presses a button ) #2795 Deep sleep / hibernate - turn power off to parts of the chip ( loose ram and cpu state )
1:44:52 sleep until alarm
1:45:54 - out of stack space ( c-stack vs. python stack - maximum recursion limit )
1:54:01 Deep Diving into shared bindings alarm/__init__.h
Compare between microdev1 and tannewt’s further work
https://github.com/microDev1/circuitpython/compare/sleepCPY...tannewt:sleepio
1:56:55 IMXRT1011 - what do the buttons do? ( pet peeve )
Start by thinking about how you are going to use it!
Google docs spreadsheet MCU Sleep Alarms - deep sleep research
E.g. can USB wake uProc from deep sleep
2:04:34 - SAM D5x/E5X Family Data Sheet
Sleep Mode entry and exit table
2:10:01 Continued discussion of API design approaches
2:11:01 discussion of line 42 - flashing the error LED, and impact on power
2:12:45 gui library question - displayio - the core of the display work in CP FoamyGuy display layouts / json - https://github.com/FoamyGuy/circuitpython_display_layouts
2:15:09 Wrap up

Visit the Adafruit shop online - http://www.adafruit.com


-----------------------------------------
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/
-----------------------------------------




Other Videos By Adafruit Industries


2020-10-20E-Ink + WiFi display!
2020-10-20JP’s Product Pick of the Week 10/20/20 APDS9960 Prox-RGB-Gesture Sensor @adafruit @johnedgarpark
2020-10-20The Great Search: Chain LED Matrices with IDC Cables #TheGreatSearch #DigiKey @DigiKey @Adafruit
2020-10-20Matrix Portal Scoreboard demo @adafruit @johnedgarpark #adafruit
2020-10-20Madame Leota #3DPrinting #Timelaspe #adafruit
2020-10-20Metro ESP32-S2 is so close to release! Tester time...
2020-10-19CircuitPython Weekly for October 19th, 2020 #adafruit
2020-10-19DESK OF LADYADA - STEMMA Sunday with BMP390 & DIY I2C Sniffin'
2020-10-17The Halloween ADABOX is about to ship, GET YOURS NOW!
2020-10-17MakeCode Arcade Game of the Week: Pixx Artist @adafruit @johnedgarpark #adafruit @MSMakeCode
2020-10-16Deep Dive w/Scott: Release Candidate 0 and sleepio #adafruit
2020-10-16MakeCode Minute: micro:bit LED Levels @adafruit @johnedgarpark #adafruit @MSMakeCode #makecode
2020-10-16Adafruit Matrix Portal - RGB LED Display Assembly Tutorial #adafruit
2020-10-16New Products 10/14/2020 featuring Adafruit Grayscale 1.5" OLED Graphic Display - STEMMA QT/Qwiic!
2020-10-15JOHN PARK'S WORKSHOP LIVE 10/15/20 Window Skull Buddy @adafruit @johnedgarpark #adafruit
2020-10-15EYE on NPI - Melexis MLX90395 High-Range Magnetic Field Sensor #EyeOnNPI @Melexis_Sensors @DigiKey
2020-10-15Adafruit Top Secret! October 14, 2020 #Adafruit #AdafruitTopSecret @Adafruit
2020-10-15The Python on Hardware weekly video 102 #CircuitPython #Adafruit #Python #MicroPython @Adafruit
2020-10-15Made in NYC 10/14/2020 Featuring #Adafruit #QTPy and a #MatrixPortal Climate Clock
2020-10-15THINK INK - How Eink works #adafruit #thinkink
2020-10-15ASK AN ENGINEER 10/14/2020 LIVE! #adafruit



Tags:
adafruit
electronics
diy
arduino
hardware
opensource
projects
raspberry
pi
computer
raspberrypi
microcontrollers
limor
limorfried
ladyada
STEAM
STEM
python
microbit
circuitpython
neopixel
neopixels
raspberry pi
circuitplaygound
nyc
make
makers
micro:bit
adafrit
adafruit promo code
ada fruit
adafruit coupons
raspberry pi zero
micropython
machine learning
ai
tensorflow