Skip to content

Commit 8543000

Browse files
author
lorol
committed
Better make_win.bat
1 parent b97f756 commit 8543000

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

Diff for: README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- Arduino plugin which packs sketch data folder into SPIFFS, LittleFS or FatFS filesystem image,
44
and uploads the image to ESP32 flash memory.
5-
- Added custom "partition.csv" file processing if it is located in the sketch folder.
5+
- Added custom **"partition.csv"** file processing if it is located in the sketch folder.
66
- Added esp32 / esp32s2 chip detection based on Arduino IDE selection.
77
- Added a choice to "Erase all flash".
88
- You can have only one of three filesystems on same Arduino project as data partition.
@@ -12,7 +12,6 @@ and uploads the image to ESP32 flash memory.
1212
- This is the default filesystem implemented in esp-32 core for /data folder
1313
- Go to Arduino IDE menu: ***Tools > Partition Scheme*** and select an entry with SPIFFS partition
1414

15-
1615
## Notes for LittleFS
1716

1817
- Same partition scheme as SPIFFS
@@ -67,8 +66,8 @@ if (!FFat.begin(0, "", 1)) die("Fat FS mount failed. Not enough RAM?");
6766

6867
- Install Java JDK
6968
- Find the path of javac.exe and jar.exe
70-
- Edit **make_win.bat** accordingly
71-
- Copy files **arduino-core.jar , commons-codec-1.7.jar , pde.jar** from your Arduino IDE installation to the folder where is located **make_win.bat**
69+
- Find where files **arduino-core.jar , commons-codec-1.7.jar , pde.jar** of your Arduino IDE installation are located
70+
- Edit **make_win.bat** to match "your" paths for **set PATH=your\java\bin;%PATH%** and **set ALP=your\arduino\lib**
7271
- Run **make_win.bat**
7372
- Find the **jar** file in /bin directory
7473

Diff for: make_win.bat

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
cd %~dp0\src
2+
set PATH=your\java\bin;%PATH%
3+
set ALP=your\arduino\lib
4+
IF EXIST bin GOTO NOWINDIR
5+
mkdir bin
6+
:NOWINDIR
7+
del bin\*.jar
8+
rd /S /Q bin\com
9+
javac.exe -target 1.8 -cp ".;%ALP%\arduino-core.jar;%ALP%\commons-codec-1.7.jar;%ALP%\pde.jar" -d bin ESP32FS.java
10+
cd bin
11+
jar.exe cvfM esp32fs.jar *
12+
pause

Diff for: src/make_win.bat

-6
This file was deleted.

0 commit comments

Comments
 (0)