Re: Packaging SPIFFS
Posted: Wed Jul 31, 2019 2:54 am
In the Arduino environment selecting the flash memory split, e.g. 4m/3m, selects the linker script file to be used. These are the ld files typically held under tools/sdk/ld
If you want to distribute a set of .bin files that support different memory / spiffs schemes then you can select each option in turn and do an export binary operation to get the corresponding bin. You can automate this either by using command line scripts or platformio.
These can then be flashed using either esptool or using OTA if the OTA function is already built into the pre-existing firmware.
If you want to distribute a set of .bin files that support different memory / spiffs schemes then you can select each option in turn and do an export binary operation to get the corresponding bin. You can automate this either by using command line scripts or platformio.
These can then be flashed using either esptool or using OTA if the OTA function is already built into the pre-existing firmware.