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 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