linker.lf 622 B

12345678910111213141516171819202122232425262728293031
  1. if IDF_TARGET_ESP32 = y:
  2. [scheme:phy_iram]
  3. entries:
  4. if ESP_WIFI_SLP_IRAM_OPT = y:
  5. phy_iram -> iram0_text
  6. else:
  7. phy_iram -> flash_text
  8. [sections:phy_iram]
  9. entries:
  10. .phyiram+
  11. [mapping:phy]
  12. archive: libphy.a
  13. entries:
  14. * (noflash_data)
  15. if IDF_TARGET_ESP32 = y:
  16. * (phy_iram)
  17. [mapping:rtc]
  18. archive: librtc.a
  19. entries:
  20. * (noflash_text)
  21. [mapping:esp_phy]
  22. archive: libesp_phy.a
  23. entries:
  24. if ESP_WIFI_SLP_IRAM_OPT =y:
  25. phy_init:esp_phy_enable (noflash)
  26. phy_init:esp_phy_disable (noflash)
  27. phy_init:esp_wifi_bt_power_domain_off (noflash)