esp-idf/components/esp_phy/linker.lf
Shu Chen 6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00

28 lines
520 B
Plaintext

if IDF_TARGET_ESP32 = y:
[scheme:phy_iram]
entries:
phy_iram -> iram0_text
[sections:phy_iram]
entries:
.phyiram+
[mapping:phy]
archive: libphy.a
entries:
* (noflash_data)
if ESP_WIFI_SLP_IRAM_OPT = y && IDF_TARGET_ESP32 = y:
* (phy_iram)
[mapping:rtc]
archive: librtc.a
entries:
* (noflash_text)
[mapping:esp_phy]
archive: libesp_phy.a
entries:
if ESP_WIFI_SLP_IRAM_OPT =y:
phy_init:esp_phy_enable (noflash)
phy_init:esp_phy_disable (noflash)