We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ddb745 commit 1ff1914Copy full SHA for 1ff1914
hardware/esp8266com/esp8266/cores/esp8266/spiffs/spiffs.c
@@ -43,8 +43,6 @@ spiffs_config spiffs_get_storage_config()
43
spiffs_config cfg = {0};
44
if ((u32_t)&_SPIFFS_start == 0) return cfg;
45
cfg.phys_addr = (u32_t)&_SPIFFS_start;
46
- cfg.phys_addr += 0x3000;
47
- cfg.phys_addr &= 0xFFFFC000; // align to 4 sector.
48
cfg.phys_size = (u32_t)((u32_t)&_SPIFFS_end - (u32_t)&_SPIFFS_start);
49
cfg.phys_erase_block = INTERNAL_FLASH_SECTOR_SIZE; // according to datasheet
50
cfg.log_block_size = INTERNAL_FLASH_SECTOR_SIZE * 2; // Important to make large
0 commit comments