loboris / ESP32_spiffs_example

Full example of using SPIFFS with ESP32 VFS
72 stars 41 forks source link

WRITE_SPIFFS_BASE_ADDR is hardcoded to 0x110000 #18

Open eshkrab opened 5 years ago

eshkrab commented 5 years ago

Why is the base address of the spiffs partition hardcoded?

I found it in components/spiffs_image/spiffs_param.mk, and I don't know if spiffs_image is a component directly from somewhere else or if you made this component, but it only flashes SPIFFS to a specific address, making other partition tables not function correctly.

editing that file directly seems to fix the issue

eshkrab commented 5 years ago

Found the origin of the bug, the file name of the custom partition table is hardcoded in the python script in spiffs_image, spiffs_part_info.py