mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 01:27:11 +08:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user