Explorar el Código

idf.py: add python path to flash instructions

Closes https://github.com/espressif/esptool/issues/449
Sergei Silnov hace 6 años
padre
commit
ca79a5ecb3
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      tools/idf.py

+ 2 - 1
tools/idf.py

@@ -448,7 +448,8 @@ def init_cli(verbose_output=None):
                     for o, f in flash_items:
                         cmd += o + " " + flasher_path(f) + " "
 
-                print("%s -p %s -b %s --before %s --after %s write_flash %s" % (
+                print("%s %s -p %s -b %s --before %s --after %s write_flash %s" % (
+                    PYTHON,
                     _safe_relpath("%s/components/esptool_py/esptool/esptool.py" % os.environ["IDF_PATH"]),
                     args.port or "(PORT)",
                     args.baud,