gepd / Deviot

Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Apache License 2.0
307 stars 56 forks source link

Features/ Improvements for v2.3 #210

Open gepd opened 6 years ago

gepd commented 6 years ago
Booli commented 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.

gepd commented 6 years ago

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

gepd commented 6 years ago

@Booli I've readed in the documentation that you have buildfs and uploadfs, do you need both commands?

Booli commented 6 years ago

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.