feat(esp8266): compile with espnow library

This commit is contained in:
Zhang Jun Hao
2018-09-05 13:27:46 +08:00
parent b218da9841
commit 215fd755d6
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ register_component()
target_link_libraries(${COMPONENT_NAME} "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib") target_link_libraries(${COMPONENT_NAME} "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib")
if(NOT CONFIG_NO_BLOBS) if(NOT CONFIG_NO_BLOBS)
target_link_libraries(${COMPONENT_NAME} gcc hal core target_link_libraries(${COMPONENT_NAME} gcc hal core
net80211 phy pp smartconfig ssc wpa) net80211 phy pp smartconfig ssc wpa espnow)
endif() endif()
target_link_libraries(${COMPONENT_NAME} "-u call_user_start") target_link_libraries(${COMPONENT_NAME} "-u call_user_start")

View File

@ -12,7 +12,7 @@ COMPONENT_SRCDIRS := driver source
LIBS ?= LIBS ?=
ifndef CONFIG_NO_BLOBS ifndef CONFIG_NO_BLOBS
LIBS += gcc hal core net80211 \ LIBS += gcc hal core net80211 \
phy pp smartconfig ssc wpa phy pp smartconfig ssc wpa espnow
endif endif
#Linker scripts used to link the final application. #Linker scripts used to link the final application.