diff --git a/components/esp8266/linker.lf b/components/esp8266/linker.lf index 340844f1..fdd63250 100644 --- a/components/esp8266/linker.lf +++ b/components/esp8266/linker.lf @@ -1,7 +1,14 @@ [mapping:pp] archive: libpp.a entries: - * (noflash_text) + if ESP8266_WIFI_DEBUG_LOG_ENABLE = n: + * (noflash_text) + +[mapping:pp_dbg] +archive: libpp_dbg.a +entries: + if ESP8266_WIFI_DEBUG_LOG_ENABLE = y: + * (noflash_text) [mapping:phy] archive: libphy.a