Could these two commands be combined? If this is not possible with Pio, is it possible using epstool to flash the two .bin’s?
Please correct me if I’m wrong but currently is it correct that pio does not have a way to mkspiffs to generate the spiffs.bin without running uploadfs target? I would like to build the spiffs package together with the application using Pio on TravisCI saving the .bins to github releases then upload later via OTA from the ESP.
buildfs works locally but when I run it on travis I get the error Do not know how to make File target buildfs’` I get this error even if I ensure spiffs package is installed
I have no problem uploading the FS. I just want to know how to get the IDE to do both uploadfs and upload in a single command/shortcut. I thought that was the subject of this thread.
But, I’ve since switched to a Makefile and running make uploadfs upload, which does exactly what I need.
I would also be interested to know if this is possible. I never managed to figure out how to upload application and spiffs at the same time using platformIO.
One thing you could do is create a Makefile (see VIM integration for example), so you can run make uploadfs upload && pio device montor from any terminal (built-in IDE as well), to get the same result als the build/upload shortcut. That’s what I’m doing.