This is my current challenge in making OS for AVR microcontroller. I got only 2KB of RAM and it's eaten by avery function all and variable used.
In my text editor i started to get corrupted screen as the stack/heap started ovevriten screen buffer space ;)
So much fun!