Skip to content

Commit 6a327a5

Browse files
committed
Added message to show found espota, esptool, mklittlefs and mkspiffs binaries path.
1 parent 7a0de41 commit 6a327a5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: src/ESP32FS.java

+8-2
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ private void createAndUpload(){
269269
}
270270
}
271271
}
272+
System.out.println("mk" + typefs.toLowerCase() + " : " + tool.getAbsolutePath());
273+
System.out.println();
272274

273275
//make sure the serial port or IP is defined
274276
if (serialPort == null || serialPort.isEmpty()) {
@@ -286,6 +288,8 @@ private void createAndUpload(){
286288
editor.statusError(typefs + " Error: espota not found!");
287289
return;
288290
}
291+
System.out.println("espota : "+espota.getAbsolutePath());
292+
System.out.println();
289293
} else {
290294
String esptoolCmd = "esptool"+toolExtension;
291295
esptool = new File(platform.getFolder()+"/tools", esptoolCmd);
@@ -300,8 +304,10 @@ private void createAndUpload(){
300304
}
301305
}
302306
}
307+
System.out.println("esptool : "+esptool.getAbsolutePath());
308+
System.out.println();
303309
}
304-
310+
305311
//load a list of all files
306312
int fileCount = 0;
307313
File dataFolder = new File(editor.getSketch().getFolder(), "data");
@@ -380,7 +386,7 @@ private void createAndUpload(){
380386

381387
public void run() {
382388
String sketchName = editor.getSketch().getName();
383-
Object[] options = { "LITTLEFS", "SPIFFS", };
389+
Object[] options = { "LittleFS", "SPIFFS", };
384390
int result = JOptionPane.showOptionDialog(editor,
385391
"What FS you want for " + sketchName +
386392
" data folder?",

0 commit comments

Comments
 (0)