Open gepd opened 6 years ago
Cool! I would like to add a feature if possible. Can we add, for ESP8226 (and higher?) an option to upload the data folder to SPIFFS. Data folder needs to be in SRC (or adjusted in platformio.ini)
It can be done with PIO like this pio run --target uploadfs
. I can already use the PIO terminal in DEVIOT to do the same thing.
Sure I can @Booli I'll try it that this week, it seems to be very easy to implement
Documentation: http://docs.platformio.org/en/latest/platforms/espressif8266.html#uploading-files-to-file-system-spiffs
@Booli I've readed in the documentation that you have buildfs
and uploadfs
, do you need both commands?
I think having access to both is nice, building the FS can take some time, and you don't want to do that always if you flash multiple NodeMCU for example.
env_default
when a project is opened/loaded in Deviot