Skip to content

Commit 331600e

Browse files
committed
Merge branch 'bugfix/fix_github_issues_174' into 'master'
fix(esp8266): Fix github issues 174 See merge request sdk/ESP8266_RTOS_SDK!145
2 parents b67badd + 5876cc6 commit 331600e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/esp8266/Makefile.projbuild

+3-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ ifeq ($(ESPTOOLPY_FLASHFREQ),"80m")
8686
ESP8266_FREQDIV ?= 15
8787
endif
8888

89-
ESP8266_BINSCRIPT ?= python $(IDF_PATH)/tools/gen_appbin.py
89+
PYTHON ?= $(call dequote,$(CONFIG_PYTHON))
90+
91+
ESP8266_BINSCRIPT ?= $(PYTHON) $(IDF_PATH)/tools/gen_appbin.py
9092

9193
ifdef DEBUG_BIN_PARAM
9294
$(info mode:$(ESP8266_BOOTMODE) flash:$(ESP8266_FLASHMODE) freqdiv:$(ESP8266_FREQDIV), size_map:$(ESP8266_SIZEMAP))
@@ -110,7 +112,6 @@ CONFIG_ESPTOOLPY_COMPRESSED ?= y
110112
CONFIG_ESPTOOLPY_BEFORE_RESET ?=y
111113
CONFIG_ESPTOOLPY_AFTER_RESET ?=y
112114

113-
PYTHON ?= $(call dequote,$(CONFIG_PYTHON))
114115
ESPTOOLPY_SRC := $(IDF_PATH)/components/esptool_py/esptool/esptool.py
115116

116117
CHIP ?= esp8266

0 commit comments

Comments
 (0)