1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-24 19:42:27 +03:00

reading eboot commands via RTC, flash erase/copy

This commit is contained in:
Ivan Grokhotkov
2015-06-01 02:08:48 +03:00
parent 6387005c7f
commit d5b578b161
6 changed files with 174 additions and 2 deletions

View File

@ -14,6 +14,9 @@ int SPIEraseSector(uint32_t sector);
int SPIRead(uint32_t addr, void *dest, size_t size);
int SPIWrite(uint32_t addr, void *src, size_t size);
#define FLASH_SECTOR_SIZE 0x1000
#define FLASH_BLOCK_SIZE 0x10000
#define APP_START_OFFSET 0x1000
typedef struct {