Skip to content

Commit

Permalink
Added message to show found espota, esptool, mklittlefs and mkspiffs …
Browse files Browse the repository at this point in the history
…binaries path.
  • Loading branch information
lorol committed Jun 29, 2020
1 parent 7a0de41 commit 6a327a5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/ESP32FS.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ private void createAndUpload(){
}
}
}
System.out.println("mk" + typefs.toLowerCase() + " : " + tool.getAbsolutePath());
System.out.println();

//make sure the serial port or IP is defined
if (serialPort == null || serialPort.isEmpty()) {
Expand All @@ -286,6 +288,8 @@ private void createAndUpload(){
editor.statusError(typefs + " Error: espota not found!");
return;
}
System.out.println("espota : "+espota.getAbsolutePath());
System.out.println();
} else {
String esptoolCmd = "esptool"+toolExtension;
esptool = new File(platform.getFolder()+"/tools", esptoolCmd);
Expand All @@ -300,8 +304,10 @@ private void createAndUpload(){
}
}
}
System.out.println("esptool : "+esptool.getAbsolutePath());
System.out.println();
}
//load a list of all files
int fileCount = 0;
File dataFolder = new File(editor.getSketch().getFolder(), "data");
Expand Down Expand Up @@ -380,7 +386,7 @@ private void createAndUpload(){

public void run() {
String sketchName = editor.getSketch().getName();
Object[] options = { "LITTLEFS", "SPIFFS", };
Object[] options = { "LittleFS", "SPIFFS", };
int result = JOptionPane.showOptionDialog(editor,
"What FS you want for " + sketchName +
" data folder?",
Expand Down

0 comments on commit 6a327a5

Please sign in to comment.