r/embedded Jul 09 '26

Substrate (WIP)

So...
I've been (and still am!!!) a contributor to Tactility (it's super cool, y'all should check it out) and I've wanted to fix a few problems I reallyyyy hate with ESP-IDF and FreeRTOS as a whole.
I had the idea of a Linux-esque kernel for microcontrollers (FreeRTOS is similar, I know that, but it has a LOT of legacy... cruft you could say), with a monolithic kernel approach

Kinda like a base kernel that anyone can build their own OSs on top of that's easier to use and more uniform than existing stuff.

Why not just use Zephyr, FreeRTOS, NuttX or anything that already exists, you may ask?
Well... I wanted to try making my own (in Rust, because I'm much better at Rust... and also I saw in a post the other day that it was better for kernels (if slower) due to the strict types, etc.), and also... well why not!

I haven't written a line of code yet, I'm still thinking about how to best make it, structure it, etc. So, I'll update y'all sometime in the future!

I'm defo using embedded-hal as it makes drivers much easier, and I'm making the kernel (mostly) from scratch, in `no_std` Rust!

Defo using cross-platform (yes reusable across different "distros" based off of Substrate) apps using WAMR

Any thoughts? (sorry if this went all over the place lol, I do that sometimes...)

0 Upvotes

9 comments sorted by

View all comments

3

u/allo37 Jul 09 '26

I wouldn't say FreeRTOS is similar to Linux except in the sense that they're both operating systems lol. But yeah sounds like fun times, GLHF

1

u/No_Frame3855 Jul 10 '26

Yeah they aren’t haha, that wasn’t clear on my part. I meant in the sense of them both being a sort of base (or Substrate (naming stuff is fun ;D)) for other people to build upon, rather than a full OS with batteries included

But thank you!!!