Scott’s #CircuitPython2025

Every new year I like to think further out about what I want to do in the coming year. 2025 is going to be shaped by lots of bonding time with my second child. They were born at the end of October and I took four weeks off then. This year I plan on taking eight more weeks completely off and then working part time when they nap until they go to daycare when they turn 1. So, like 2022, I’ll be away from CircuitPython for a good chunk of the year. My hope is that I’ll be able to reconnect to CircuitPython and the community when working part time. I truly enjoy working for Adafruit on CircuitPython.

I didn’t really know what 2025 would bring for CircuitPython until Ladyada asked me if there was something we could do to make supporting new chipsets easier. We’d also been thinking about using a real time operating system (RTOS) in CircuitPython to better manage display and audio “background” tasks. Much of my 2024 was spent finishing BLE support of ESP32 chips. It was the third time we’d added BLE support (nRF SD, BLE HCI and now nimble for ESP32). At the end of the year I worked on CircuitMatter. CircuitMatter would benefit from Thread support in CircuitPython too. Thread could also fall into the multiple implementation trap that BLE did too.

So, I proposed that we move CircuitPython onto Zephyr. Zephyr is a real time operating system with a large number of supported chipsets and networking protocols (BLE, Thread, WiFi). Zephyr knows what compiler to use, the compiler flags, the memory layout and attached devices (like flash memory) for many boards. It makes it very easy to get CircuitPython basics going on any Zephyr supported board. In particular, the upcoming Nordic nRF54 and Renesas RA8’s microcontrollers are pretty interesting. After moving to Zephyr, CircuitPython’s build system won’t need to manage basic differences between microcontrollers.

Zephyr’s strong protocol support means we only (fingers crossed) need to add BLE, WiFi, Ethernet and Thread support for Zephyr and then all boards will be supported. The nRF54 in particular supports BLE with Nordic’s Zephyr based SDK. Our existing Nordic BLE support wouldn’t work on it.

The bigger challenge with Zephyr is its reliance on compile time configuration. CircuitPython is very dynamic for pin configuration. Zephyr expects these to be setup at runtime normally. We may need to continue implementing things like `busio` per vendor to keep being dynamic. We already do this today when working with vendor specific SDKs, so it won’t be new work.

Zephyr also supports additional things that we don’t currently in CircuitPython. I mentioned Thread earlier as one of those things. Another is more advanced flash devices like octal spi and (maybe) nand flash. It also supports SDRAM, an inexpensive way of adding MB of more RAM! MIPI-DSI displays, Ethernet, cellular connectivity and I3C are also interesting.

So, my goal in 2025 is to bring more boards to CircuitPython using a new Zephyr port. Throughout 2025 I’ll work to add functionality to the Zephyr port so that it can match the feature set of other ports. Once it does, we can replace the non-Zephyr version with the Zephyr based one. (Hopefully folks won’t miss any functionality.) This should set us up to move to Zephyr everywhere in 2026.

In case you missed it, Ladyada and I discussed CircuitPython2025 on video. I’ve got a bit of the busy parent look in the video even though it was just the toddler and I.

 


#CircuitPython2025 is our annual reflection on the state of CircuitPython. We’d love to hear from you too! See the kick-off post for all of the details. Please post by January 14th and email [email protected] to let us know so we can link to it.

Past posts:


Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Happy New Year 2025
Happy New Year from Adafruit!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Open Hardware is In, New CircuitPython and Pi 5 16GB, and much more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — Low power?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.


Leave a comment

Adafruit has a "be excellent to each other" comment policy. Help us keep the community here positive and helpful. Stick to the topic, be respectful of makers of all ages and skill levels. Be kind, and don't spam - Thank you!

Prove you are human by reading this resistor:

0Ω+/- 5%

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

0
0
1
2
3
4
5
6
7
8
9

5
5
10

Prove you are human by reading this resistor:


Click/tap drag the number in the circle of each slider on the left to the matching color band on the resistor.

Can't view resistor colors? Don't worry! Just type your comment and hit submit without moving the sliders. Our moderators will review and approve in a jiffy.

Click Here for a new resistor image.

New to electronics? Click here to learn how to read resistor values.

Or learn to read resistors by playing Mho's Resistance!