Isn't there FreeRTOS ports for the various ATMEGA parts? I use that on everything now but I mainly use NXP Cortex parts. I'm going to set up to run on the Arduino boards since they're so cheap to get ready made, simply erase the interpreter on it and load in real code.