If you're having trouble getting Linux to run on that 8-bit processor with 32KB of memory
don't despair, there are open-source alternatives.
FreeRTOS is an open source real time kernel that
has been ported to a number of microprocessors.
The website lists ports to over 40 different processor/compiler combinations.