From 215fd755d66154d78ac069784036b53a44c629ad Mon Sep 17 00:00:00 2001 From: Zhang Jun Hao Date: Wed, 5 Sep 2018 13:27:46 +0800 Subject: [PATCH] feat(esp8266): compile with espnow library --- components/esp8266/CMakeLists.txt | 2 +- components/esp8266/component.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp8266/CMakeLists.txt b/components/esp8266/CMakeLists.txt index 27de8461..4901cf6c 100644 --- a/components/esp8266/CMakeLists.txt +++ b/components/esp8266/CMakeLists.txt @@ -12,7 +12,7 @@ register_component() target_link_libraries(${COMPONENT_NAME} "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib") if(NOT CONFIG_NO_BLOBS) target_link_libraries(${COMPONENT_NAME} gcc hal core - net80211 phy pp smartconfig ssc wpa) + net80211 phy pp smartconfig ssc wpa espnow) endif() target_link_libraries(${COMPONENT_NAME} "-u call_user_start") diff --git a/components/esp8266/component.mk b/components/esp8266/component.mk index 593ba54e..6a2dd067 100644 --- a/components/esp8266/component.mk +++ b/components/esp8266/component.mk @@ -12,7 +12,7 @@ COMPONENT_SRCDIRS := driver source LIBS ?= ifndef CONFIG_NO_BLOBS LIBS += gcc hal core net80211 \ - phy pp smartconfig ssc wpa + phy pp smartconfig ssc wpa espnow endif #Linker scripts used to link the final application.