Re:Show HN: TinyOS – A minimalist RTOS for Cortex-M written ...
by maximusdrex on Friday April 03, 2026 @09:33PM
(#47634665)
Looks like a fun project, but I’m curious what you actually tested on. There’s real numbers for estimated context switch timing, and you mentioned implementing context switching, but I can’t find any actual implementations of the context switching routine in your code.
You don’t need to do this yourself, but it’s weird to talk about it if you haven’t.
[ Parent
| on HN ]
Re:Show HN: TinyOS – A minimalist RTOS for Cortex-M written ...
by Retr0id on Friday April 03, 2026 @09:50PM
(#47634794)
https://github.com/cmc-labo/tinyos-rtos/blob/2a47496047fdb45...
"Context switch (to be implemented in assembly for target architecture)"
There's no asm in the repo so I can only assume this is not something that actually compiles and runs.
Other things that are missing:
- No startup code (stack setup etc.)
- No linker script ("to be created", per makefile comment)
Re:Show HN: TinyOS – A minimalist RTOS for Cortex-M written ...
by maximusdrex on Saturday April 04, 2026 @12:50AM
(#47635873)
Yeah, I read that note and stopped looking further. I was hoping that maybe the hardware-specific code was in a different project and just wanted to be nice in case.
I just don’t get the point of making AI slop out of something like a toy RTOS, which is inherently a learning project more than anything else. There’s nothing even fun about doing it if you won’t even try to get it to run on an STM32 or something.