Skip to content

Commit bbde375

Browse files
committed
Merge branch 'bugfix/fix_cmake_enable_wifi_debug' into 'master'
fix(esp8266): Fix compiling error when enable Wi-Fi debug See merge request sdk/ESP8266_RTOS_SDK!1649
2 parents 2e7f87e + de32761 commit bbde375

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/esp8266/CMakeLists.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@ else()
6969
target_link_libraries(${COMPONENT_LIB} PUBLIC "-L ${CMAKE_CURRENT_SOURCE_DIR}/lib" "-lstdc++")
7070
target_compile_definitions(${COMPONENT_LIB} PUBLIC -DUSING_IBUS_FASTER_GET)
7171
if(NOT CONFIG_NO_BLOBS)
72-
set(blobs "gcc" "hal" "core" "net80211" "phy" "rtc" "clk" "pp" "smartconfig" "ssc" "espnow")
72+
set(blobs "gcc" "hal" "phy" "rtc" "clk" "smartconfig" "ssc")
73+
if(CONFIG_ESP8266_WIFI_DEBUG_LOG_ENABLE)
74+
list(APPEND blobs "core_dbg" "net80211_dbg" "pp_dbg" "espnow_dbg")
75+
else()
76+
list(APPEND blobs "core" "net80211" "pp" "espnow")
77+
endif()
7378
foreach(blob ${blobs})
7479
add_library(${blob} STATIC IMPORTED)
7580
set_property(TARGET ${blob} PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/lib/lib${blob}.a)

0 commit comments

Comments
 (0)