Distributing BIN fies for different esp
Posted: Mon Nov 30, 2015 3:17 pm
wondering how this works: I don't fully understand where/how everything is stored in flash on the esp models.
I have a working project in esp12e (nodemcu board) that has 4MB flash. I want to create a BIN file for someone that will just flash the BIN file to their esp (no source).
If I create a bin export in arduino the BIN file is about 300KB. I've setup project with 3MB spiffs. I store settings in SPIFFS root folder as well....
Now if someone has an esp01 or esp with only 2MB or 1MB flash. Can they flash the above BIN file? do I have to make different BIN files for different flash sizes?
Is it possible to update an esp without overwriting the SPIFF area(or is that the way it works already)? If I create an update BIN but want to keep the users' config files within their SPIFFs would that work?
I have a working project in esp12e (nodemcu board) that has 4MB flash. I want to create a BIN file for someone that will just flash the BIN file to their esp (no source).
If I create a bin export in arduino the BIN file is about 300KB. I've setup project with 3MB spiffs. I store settings in SPIFFS root folder as well....
Now if someone has an esp01 or esp with only 2MB or 1MB flash. Can they flash the above BIN file? do I have to make different BIN files for different flash sizes?
Is it possible to update an esp without overwriting the SPIFF area(or is that the way it works already)? If I create an update BIN but want to keep the users' config files within their SPIFFs would that work?