From 9f58e5aacfa76ee0814542e8315fc4729120d573 Mon Sep 17 00:00:00 2001 From: Wu Jian Gang Date: Tue, 19 Jun 2018 09:09:16 +0800 Subject: [PATCH] fix(esp8266): fix bootloader stuck temporarily Note: bootloader and phy init data will be compatible to idf, storing init data bin in (last - 3) sector will be as a legancy mode. Closes https://github.com/espressif/ESP8266_RTOS_SDK/issues/230 --- components/esp8266/Makefile.projbuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp8266/Makefile.projbuild b/components/esp8266/Makefile.projbuild index 9a26e389..cbd82d7e 100644 --- a/components/esp8266/Makefile.projbuild +++ b/components/esp8266/Makefile.projbuild @@ -1,4 +1,4 @@ -ifdef CONFIG_ESP8266_LEGACY +#ifdef CONFIG_ESP8266_LEGACY BOOTLOADER_FIRMWARE_DIR := $(abspath $(COMPONENT_PATH))/firmware @@ -24,7 +24,7 @@ ESP_INIT_DATA_DEFAULT_BIN := $(BOOTLOADER_FIRMWARE_DIR)/esp_init_data_default.bi ESPTOOL_ALL_FLASH_ARGS += $(ESP_INIT_DATA_DEFAULT_BIN_OFFSET) $(ESP_INIT_DATA_DEFAULT_BIN) -else +#else ifdef CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION @@ -59,7 +59,7 @@ flash: phy_init_data endif # CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION -endif +#endif # global CFLAGS for ESP8266 CFLAGS += -DMEMLEAK_DEBUG -DICACHE_FLASH