Simple Co-operative RTOS
pjv
Posts: 1,903
Hi All;
***************FOR EDUCATIONAL PURPOSES ONLY*****************
For those who are interested in·learning about·RTOS, attached is a code sample of a very simple non-preemptive RTOS.
It has served me well for many simple systems, letting me do away with those annoying time-wasting delay loops.
The system is readily adapted to state machine operation; a task conveniently picking up where it had previously left off.
***************FOR EDUCATIONAL PURPOSES ONLY*****************
Have fun learning and experimenting.
Peter (pjv)
***************FOR EDUCATIONAL PURPOSES ONLY*****************
For those who are interested in·learning about·RTOS, attached is a code sample of a very simple non-preemptive RTOS.
It has served me well for many simple systems, letting me do away with those annoying time-wasting delay loops.
The system is readily adapted to state machine operation; a task conveniently picking up where it had previously left off.
***************FOR EDUCATIONAL PURPOSES ONLY*****************
Have fun learning and experimenting.
Peter (pjv)
SRC
6K
Comments