| #error "E2END is set larger than the maximum possible EEPROM size" | #error "E2END is set larger than the maximum possible EEPROM size" | ||||
| #endif | #endif | ||||
| // Conversation about how this code works & what the upper limits are | |||||
| // https://forum.pjrc.com/threads/57377?p=214566&viewfull=1#post214566 | |||||
| static void flash_write(void *addr, const void *data, uint32_t len); | static void flash_write(void *addr, const void *data, uint32_t len); | ||||
| static void flash_erase_sector(void *addr); | static void flash_erase_sector(void *addr); | ||||