Skip to content

Commit 9f81a4c

Browse files
committed
Use full path to esptool-ck for SDK and Simba frameworks
1 parent c1b0a9f commit 9f81a4c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

builder/frameworks/esp8266-nonos-sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
BUILDERS=dict(
104104
ElfToBin=Builder(
105105
action=env.VerboseAction(" ".join([
106-
platform.get_package_dir("tool-esptool"),
106+
join(platform.get_package_dir("tool-esptool"), "esptool"),
107107
"-eo", "$SOURCE",
108108
"-bo", "${TARGET}",
109109
"-bm", "$BOARD_FLASH_MODE",

builder/frameworks/esp8266-rtos-sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
BUILDERS=dict(
105105
ElfToBin=Builder(
106106
action=env.VerboseAction(" ".join([
107-
platform.get_package_dir("tool-esptool"),
107+
join(platform.get_package_dir("tool-esptool"), "esptool"),
108108
"-eo", "$SOURCE",
109109
"-bo", "${TARGET}",
110110
"-bm", "$BOARD_FLASH_MODE",

builder/frameworks/simba.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def VariantDirWrap(env, variant_dir, src_dir, duplicate=False):
5353

5454
env.Replace(
5555
PLATFORMFW_DIR=platform.get_package_dir("framework-simba"),
56-
OBJCOPY=platform.get_package_dir("tool-esptool")
56+
OBJCOPY=join(platform.get_package_dir("tool-esptool"), "esptool")
5757
)
5858

5959
env.Append(
@@ -64,7 +64,7 @@ def VariantDirWrap(env, variant_dir, src_dir, duplicate=False):
6464
BUILDERS=dict(
6565
ElfToBin=Builder(
6666
action=env.VerboseAction(" ".join([
67-
platform.get_package_dir("tool-esptool"),
67+
join(platform.get_package_dir("tool-esptool"), "esptool"),
6868
"-eo", '"%s"' % join(
6969
"$PLATFORMFW_DIR", "3pp", "esp8266Arduino", "2.3.0",
7070
"bootloaders", "eboot", "eboot.elf"

0 commit comments

Comments
 (0)