mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
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.
11 lines
348 B
Bash
Executable File
11 lines
348 B
Bash
Executable File
#!/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 ..
|