Skip to content

Commit

Permalink
Change tool from esptool to esptool_py
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev committed Jan 15, 2019
1 parent fcc0515 commit 278ffa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ESP32FS.java
Expand Up @@ -286,9 +286,9 @@ private void createAndUpload(){
String esptoolCmd = "esptool"+toolExtension;
esptool = new File(platform.getFolder()+"/tools", esptoolCmd);
if(!esptool.exists() || !esptool.isFile()){
esptool = new File(platform.getFolder()+"/tools/esptool", esptoolCmd);
esptool = new File(platform.getFolder()+"/tools/esptool_py", esptoolCmd);
if(!esptool.exists()){
esptool = new File(PreferencesData.get("runtime.tools.esptool.path"), esptoolCmd);
esptool = new File(PreferencesData.get("runtime.tools.esptool_py.path"), esptoolCmd);
if (!esptool.exists()) {
System.err.println();
editor.statusError("SPIFFS Error: esptool not found!");
Expand Down

0 comments on commit 278ffa0

Please sign in to comment.