mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 17:47:04 +08:00
feat: Add phy reg default when boot
This commit is contained in:
@ -10,6 +10,6 @@ LINKER_SCRIPTS := \
|
|||||||
$(IDF_PATH)/components/esp8266/ld/esp8266.rom.ld \
|
$(IDF_PATH)/components/esp8266/ld/esp8266.rom.ld \
|
||||||
esp8266.bootloader.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)
|
COMPONENT_ADD_LINKER_DEPS := $(LINKER_SCRIPTS)
|
||||||
|
@ -629,6 +629,9 @@ static esp_err_t bootloader_main()
|
|||||||
fhdr.spi_mode = CONFIG_SPI_FLASH_MODE;
|
fhdr.spi_mode = CONFIG_SPI_FLASH_MODE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern void phy_reg_default(void);
|
||||||
|
phy_reg_default();
|
||||||
|
|
||||||
update_flash_config(&fhdr);
|
update_flash_config(&fhdr);
|
||||||
|
|
||||||
print_flash_info(&fhdr);
|
print_flash_info(&fhdr);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
gwen:
|
gwen:
|
||||||
core: 1d123ab
|
core: 176661b
|
||||||
net80211: 0f9461d
|
net80211: 0f9461d
|
||||||
pp: 8ec2d94
|
pp: 8ec2d94
|
||||||
wpa: 4e2372f
|
wpa: 4e2372f
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user