DimOS RT is a preemtive real-time kernel with EDF-scheduling for Atmega microcontorllers. It is inpired by the research paper from Dan Henriksson and Anton Cervin.
A test application for Atmega8 at 16MHz: cycle through HSV-values with 5 independent tasks:
- 1x heartbeat
- 1x hsv2rgb converter/feeder
- 3x PWM driver/reader for each color accordingly
The UART 9600,8n1 feeds current running task, although due to its speed limitation it's not in sync with real context switches.