1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

add SPIFFS Arduino Plugin source

Adds menu item in "Tools" that lets users create SPIFFS image from the
"data" subfolder of their sketch
requires mkspiffs binary in the hardware tools folder
to format the SPIFFS, one can open a blank sketch and use the menu item
to create an empty partition.
This commit is contained in:
ficeto
2015-05-21 01:57:45 +03:00
parent 183f366d8a
commit f1f11fc0f6
2 changed files with 227 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
ALIBDIR="/Users/ficeto/Documents/Arduino"
mkdir -p bin && \
javac -target 1.8 -cp "../../arduino-core.jar:../../pde.jar" -d bin src/ESP8266FS.java && \
cd bin && \
mkdir -p $ALIBDIR/tools && \
rm -rf $ALIBDIR/tools/ESP8266FS && \
mkdir -p $ALIBDIR/tools/ESP8266FS/tool && \
zip -r $ALIBDIR/tools/ESP8266FS/tool/esp8266fs.jar * && \
cd ..