Simple Cooperative Scheduler for ARM and AVR