
Light Tasking Ada Runtime for Zephyr on Arm Cortex M
I am a big fan of the Zephyr RTOS, of Home Assistant and of the programming language Ada SPARK and the use of formal methods to deliver better software to the world.
There was limited support for Ada on Zephyr, so I sat down this weekend and vibe-coded a light tasking runtime for Zephyr. The substack post with the backstory is here:
The actual repository is here:
https://gitlab.com/close-hauled/light-tasking-zephyr
What does this give you? The opportunity to write better software on Zephyr and statically (during compile time) prove the absence of runtime errors and prove functional correctness of (parts of) an algortihm.
I used it on a Pico 2W to report pH and TDS values to my home assistant setup.
Interested in Ada and want to give it a try, all the tools are open source, lots of getting started materials are here https://ada-lang.io/.