idf.py: add python path to flash instructions
Closes https://github.com/espressif/esptool/issues/449
This commit is contained in:
parent
e6ad82a0b2
commit
ca79a5ecb3
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue