LILOS is a little prototype operating system I wrote over Spring Break 2011. It provides message-passing multitasking for the Atmel AVR. Written in C++, LILOS is the first multitasking operating system I wrote, when I was learning how such things worked. My later projects steal ideas from it whole-cloth.
The source is on GitHub.