find esptool for import

This commit is contained in:
Jason2866
2022-01-06 19:07:59 +01:00
committed by GitHub
parent b9dc142134
commit ea12ddeca9

View File

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