logoalt Hacker News

maximusdrextoday at 1:33 AM1 replyview on HN

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.


Replies

Retr0idtoday at 1:50 AM

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)

show 1 reply