alexforencich / xboot

XBoot Extensible Bootloader
125 stars 69 forks source link

Enter eeprom #14

Closed mobilinkd closed 9 years ago

mobilinkd commented 9 years ago

This adds USE_ENTER_EEPROM support for Atmega chips. It used 32-bits in the EEPROM. The bootloader is enabled when an odd number of bits are set and a bit is reset to make the number of bits even.

This requires that EEPROM_erase_all() respects the EESAVE fuse.