Skip to content

Commit

Permalink
Merge branch 'feature/add_phy_reg_default' into 'release/v3.0'
Browse files Browse the repository at this point in the history
feat: Add phy reg default when boot

See merge request sdk/ESP8266_RTOS_SDK!690
  • Loading branch information
wujiangang committed Dec 29, 2018
2 parents 597bc97 + 09a5a0f commit f561b36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/bootloader/subproject/main/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
3 changes: 3 additions & 0 deletions components/bootloader_support/src/bootloader_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,9 @@ static esp_err_t bootloader_main()

ESP_LOGI(TAG, "compile time " __TIME__ );

extern void phy_reg_default(void);
phy_reg_default();

print_flash_info(&fhdr);

update_flash_config(&fhdr);
Expand Down
2 changes: 1 addition & 1 deletion components/esp8266/lib/VERSION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gwen:
crypto: 8943c89
core: 254ecc9
core: 64146c3
net80211: bbfcc40
pp: 2f7b347
smartconfig: 2.8.0
Expand Down
Binary file modified components/esp8266/lib/libcore.a
Binary file not shown.

0 comments on commit f561b36

Please sign in to comment.