What os do people run on this?
void setup_code() {
// configure SPI
// analog to digital converters
// timers
// fix internal and external buggy hardware
}
void interrupt_handler() {
TURN_OFF_INTERRUPTS;
// packet recv
// time expired
// etc
TURN_ON_INTERRUPTS;
}
setup_code();
register_interrupt_handler(interrupt_handler);
while(1) {
// application code
}
Microcontrollers like this only have 2k of working state, the presentable complexity is in the code, not the data.Assembly: probably no. Have a look at what people are doing in C++ on the Arduino platform (the Mega328 has the same Flash/RAM).