Skip to content

Commit

Permalink
Fix linkage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jun 23, 2024
1 parent ca6d939 commit 754158b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sming/Arch/Esp8266/Components/esp8266/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ COMPONENT_DEPENDS += esp-lwip
endif


COMPONENT_VARS += ENABLE_CUSTOM_PHY
COMPONENT_RELINK_VARS += ENABLE_CUSTOM_PHY
ENABLE_CUSTOM_PHY ?= 0
ifeq ($(ENABLE_CUSTOM_PHY),1)
CFLAGS += -DENABLE_CUSTOM_PHY=1
LDFLAGS += -Wl,-wrap,register_chipv6_phy -u custom_register_chipv6_phy -u get_adc_mode
COMPONENT_CXXFLAGS += -DENABLE_CUSTOM_PHY=1
LDFLAGS += $(call Wrap,register_chipv6_phy)
endif


Expand Down

0 comments on commit 754158b

Please sign in to comment.