Skip to content

Commit ed4966c

Browse files
committed
Allow whitespaces in path to tool-esptool // Resolve #198
1 parent b5db939 commit ed4966c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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-
join(platform.get_package_dir("tool-esptool"), "esptool"),
106+
'"%s"' % 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-
join(platform.get_package_dir("tool-esptool"), "esptool"),
107+
'"%s"' % join(platform.get_package_dir("tool-esptool"), "esptool"),
108108
"-eo", "$SOURCE",
109109
"-bo", "${TARGET}",
110110
"-bm", "$BOARD_FLASH_MODE",

0 commit comments

Comments
 (0)