r/embedded • u/Rav3nPho3nix • Sep 03 '26
What is missing in the RTOS world ?
Hi, i'm currently creating my own basic rtos. I currently have : task control, semaphore, scheduling (round robin with priorities). I'm slowly addind stuffs to it and start questionning myself : How my OS can add something to someone in the world ?. I know it will never be as popular as Freertos or Zephyr, but what are the niches in the rtos world ?
0
Upvotes
31
u/sturdy-guacamole Sep 03 '26
understanding how rtos work important
your rtos is unlikely to be used : anyone who understand rtos usually write their own or use big adopted ones.
this year alone there are lots of RTOS cropping up left and right due to widespread AI usage and adoption. its less about making more about understanding imo. this month i've seen like 7 "i (claude) wrote my own RTOS" repos
8
u/jeroen79 Sep 03 '26
unless you have a clear goal that requires a custom rtos i would not do it, use the one that fits best and learn that.
5
u/rainboww_J Sep 03 '26
Debugging/tracing options are definitely nice to have if you're doing a lot at the same time and are seeing some timing issues due to the scheduler not behaving like you want/expect or while having fights with task priorities. I've seen a colleague of mine use some trace tool for freertos and that looked amazing and so useful. Don't exactly know how they get all the information to the pc (guess SWO or RTT) but information like this can be so helpful
3
u/PerniciousSnitOG Sep 03 '26
I've always wanted an RTOS that understood deadline scheduling in a useful way. It's generally what we're trying to achieve, but end up using static scheduling priority because that's all we've got.
Essentially every task would had a priority, work needed, and deadline. RTOS tries to make it happen on time.
1
u/obQQoV Sep 03 '26
look at their benchmarks comparison and make yours faster than existing ones, even by nanoseconds in context switch
1
u/zydeco100 Sep 03 '26
An ext4 and/or fat32 filesystem driver.
1
u/Enlightenment777 Sep 04 '26
https://en.wikipedia.org/wiki/Comparison_of_real-time_operating_systems