A (mostly) wear-levelling EEPROM filesystem for AVR