From 4f43ff7e79ce026fe7b5d69ac46093007ca15c9d 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 644275f8cac99595478eb9143018a36c4b7a221e 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 40d3b99c9d..6aa9fa78e1 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