Hacker News new | ask | show | jobs
by maximusdrex 72 days ago
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.
1 comments

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)

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.