From 07dd1e41f06b280fa69c83635efa98f828393dd9 Mon Sep 17 00:00:00 2001 From: dongheng Date: Thu, 15 Aug 2019 10:42:44 +0800 Subject: [PATCH] fix(wifi): fix wifi link error when enable wifi debug Link the library "libpp_dbg.a" to IRAM. --- components/esp8266/linker.lf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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