diff --git a/components/bootloader/subproject/main/component.mk b/components/bootloader/subproject/main/component.mk index fd4cc90c..76688a32 100644 --- a/components/bootloader/subproject/main/component.mk +++ b/components/bootloader/subproject/main/component.mk @@ -10,6 +10,6 @@ LINKER_SCRIPTS := \ $(IDF_PATH)/components/esp8266/ld/esp8266.rom.ld \ esp8266.bootloader.rom.ld -COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH) $(addprefix -T ,$(LINKER_SCRIPTS)) +COMPONENT_ADD_LDFLAGS += -L $(IDF_PATH)/components/esp8266/lib -lcore -L $(COMPONENT_PATH) $(addprefix -T ,$(LINKER_SCRIPTS)) COMPONENT_ADD_LINKER_DEPS := $(LINKER_SCRIPTS) diff --git a/components/bootloader_support/src/bootloader_init.c b/components/bootloader_support/src/bootloader_init.c index 9a48a4b8..adaa0af0 100644 --- a/components/bootloader_support/src/bootloader_init.c +++ b/components/bootloader_support/src/bootloader_init.c @@ -629,6 +629,9 @@ static esp_err_t bootloader_main() fhdr.spi_mode = CONFIG_SPI_FLASH_MODE; #endif + extern void phy_reg_default(void); + phy_reg_default(); + update_flash_config(&fhdr); print_flash_info(&fhdr); diff --git a/components/esp8266/lib/VERSION b/components/esp8266/lib/VERSION index 3dc6a093..952d521f 100644 --- a/components/esp8266/lib/VERSION +++ b/components/esp8266/lib/VERSION @@ -1,5 +1,5 @@ gwen: - core: 1d123ab + core: 176661b net80211: 0f9461d pp: 8ec2d94 wpa: 4e2372f diff --git a/components/esp8266/lib/libcore.a b/components/esp8266/lib/libcore.a index e7aba3c9..d97af6c6 100644 Binary files a/components/esp8266/lib/libcore.a and b/components/esp8266/lib/libcore.a differ