I need a very tiny RTOS for AVR similar to mRTOS which just has two files (mrtos.h and mrtos.c).
Can anyone please provide any advice?
I need a very tiny RTOS for AVR similar to mRTOS which just has two files (mrtos.h and mrtos.c).
Can anyone please provide any advice?
You should check out FreeRTOS for AVR or search for some board specific ones on github.
For something really small, take a look at the Arduino scheduler:
http://arduino.cc/en/Reference/Scheduler
Pretty simple to adapt to almost anything with a c/c++ compiler. Note, this only gives you pretty basic cooperative multitasking. If you need OS services like semaphores, mutexes, mailboxes, etc. . . you'd need to look for something less lightweight.