From 7cf5ab166dde8fbd787a5e245d28d76dd8f5061c Mon Sep 17 00:00:00 2001 From: zwx Date: Tue, 29 Jul 2025 10:58:39 +0800 Subject: [PATCH 1/2] fix(esp_phy): fix c6 modem state --- components/esp_phy/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_phy/lib b/components/esp_phy/lib index fc76520d48..96a56a29a3 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit fc76520d481fc3d08cbc001ef47804a4457fffd7 +Subproject commit 96a56a29a3e0e9d1ea42dba3fab417be5a162401 From a27c0d5e5e509e49ee4b634f80e7878df6ad4895 Mon Sep 17 00:00:00 2001 From: "wangtao@espressif.com" Date: Fri, 1 Aug 2025 11:24:57 +0800 Subject: [PATCH 2/2] fix(phy): fix esp32c2 build issue --- components/esp_phy/linker.lf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/components/esp_phy/linker.lf b/components/esp_phy/linker.lf index 5dc2f9f23b..d12b992ee3 100644 --- a/components/esp_phy/linker.lf +++ b/components/esp_phy/linker.lf @@ -10,12 +10,29 @@ if IDF_TARGET_ESP32 = y: entries: .phyiram+ +if IDF_TARGET_ESP32C2 = y: + [scheme:phy_iram] + entries: + phy_iram -> iram0_text + + [sections:phy_iram] + entries: + .phyiram+ + +[mapping:btbb] +archive: libbtbb.a +entries: + if IDF_TARGET_ESP32C2 = y: + * (phy_iram) + [mapping:phy] archive: libphy.a entries: * (noflash_data) if IDF_TARGET_ESP32 = y: * (phy_iram) + if IDF_TARGET_ESP32C2 = y: + * (phy_iram) [mapping:rtc] archive: librtc.a