fix(esp8266): Fix compiling error when enable Wi-Fi debug
@@ -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)
