Working with ESP32 Wroom, i want to rename spiffs.bin file on build. I success with firmware.bin, but i can’t find any doc about this topic.
Somebody can help ?
Thanks
Working with ESP32 Wroom, i want to rename spiffs.bin file on build. I success with firmware.bin, but i can’t find any doc about this topic.
Somebody can help ?
Thanks
spiffs.bin
is hardcoded.
So you’ll have to look into Advanced Scripting and use callbacks for
env.AddPostAction("$BUILD_DIR/spiffs.bin", callback...)
for copying the file to a new filename. If you rename the spiffs.bin
, the SPIFFS upload will fail, since it looks for a spiffs.bin
.
it runs. I can copy the file where i want.
The hardcoding of “spiffs.bin” is not a very good thing imho
Thanks for your usefull answer