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:
10
build/shared/tools/ESP8266FS/make.sh
Executable file
10
build/shared/tools/ESP8266FS/make.sh
Executable 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 ..
|
Reference in New Issue
Block a user