next try to find esptool

This commit is contained in:
Jason2866 2022-01-06 22:02:59 +00:00
parent ea12ddeca9
commit e039e59375
1 changed files with 5 additions and 1 deletions

View File

@ -19,9 +19,13 @@
Import("env")
import subprocess
import sys
from os.path import expanduser, join
home = expanduser("~")
esptool = join(home, ".platformio", "packages", "tool-esptoolpy", "esptool.py")
esptoolpath = join(home, ".platformio", "packages", "tool-esptoolpy")
sys.path.append(esptoolpath)
import esptool
def esp32_create_combined_bin(source, target, env):