Skip to content

Commit 278ffa0

Browse files
authored
Change tool from esptool to esptool_py
1 parent fcc0515 commit 278ffa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/ESP32FS.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ private void createAndUpload(){
286286
String esptoolCmd = "esptool"+toolExtension;
287287
esptool = new File(platform.getFolder()+"/tools", esptoolCmd);
288288
if(!esptool.exists() || !esptool.isFile()){
289-
esptool = new File(platform.getFolder()+"/tools/esptool", esptoolCmd);
289+
esptool = new File(platform.getFolder()+"/tools/esptool_py", esptoolCmd);
290290
if(!esptool.exists()){
291-
esptool = new File(PreferencesData.get("runtime.tools.esptool.path"), esptoolCmd);
291+
esptool = new File(PreferencesData.get("runtime.tools.esptool_py.path"), esptoolCmd);
292292
if (!esptool.exists()) {
293293
System.err.println();
294294
editor.statusError("SPIFFS Error: esptool not found!");

0 commit comments

Comments
 (0)