embeddedartistry / athena-bootloader

An AVR Arduino bootloader that supports uploads over Ethernet (via TFTP) and Serial.
GNU Lesser General Public License v2.1
12 stars 5 forks source link

Auto-migrate EEPROM contents #70

Open phillipjohnston opened 4 years ago

phillipjohnston commented 4 years ago

When we update the Athena eeprom and check the version, we should perform a migration of values automatically whenever the versions don’t match (as long as you start with a valid version)

phillipjohnston commented 4 years ago

This needs two cases:

  1. Migrate for existing Ariadne version (ariadne signature present in EEPROM)
  2. Migrate from non-Ariadne version (ariadne signature not present in EEPROM)