Cooperative OS for the AVR Butterfly