mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-20 00:27:19 +08:00
fix(esp8266): Fix compiling error when enable Wi-Fi debug
This commit is contained in:
@ -69,7 +69,12 @@ else()
|
||||
target_link_libraries(${COMPONENT_LIB} PUBLIC "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib" "-lstdc++")
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC -DUSING_IBUS_FASTER_GET)
|
||||
if(NOT CONFIG_NO_BLOBS)
|
||||
set(blobs "gcc" "hal" "core" "net80211" "phy" "rtc" "clk" "pp" "smartconfig" "ssc" "espnow")
|
||||
set(blobs "gcc" "hal" "phy" "rtc" "clk" "smartconfig" "ssc")
|
||||
if(CONFIG_ESP8266_WIFI_DEBUG_LOG_ENABLE)
|
||||
list(APPEND blobs "core_dbg" "net80211_dbg" "pp_dbg" "espnow_dbg")
|
||||
else()
|
||||
list(APPEND blobs "core" "net80211" "pp" "espnow")
|
||||
endif()
|
||||
foreach(blob ${blobs})
|
||||
add_library(${blob} STATIC IMPORTED)
|
||||
set_property(TARGET ${blob} PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/lib/lib${blob}.a)
|
||||
|
Reference in New Issue
Block a user