linker.lf 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [mapping:esp_hw_support]
  2. archive: libesp_hw_support.a
  3. entries:
  4. cpu: esp_cpu_stall (noflash)
  5. cpu: esp_cpu_unstall (noflash)
  6. cpu: esp_cpu_reset (noflash)
  7. cpu: esp_cpu_wait_for_intr (noflash)
  8. if ESP_PANIC_HANDLER_IRAM = y:
  9. cpu: esp_cpu_set_breakpoint (noflash)
  10. cpu: esp_cpu_clear_breakpoint (noflash)
  11. cpu: esp_cpu_set_watchpoint (noflash)
  12. cpu: esp_cpu_clear_watchpoint (noflash)
  13. cpu: esp_cpu_compare_and_set (noflash)
  14. esp_memory_utils (noflash)
  15. rtc_clk (noflash)
  16. esp_gpio_reserve: esp_gpio_reserve_pins (noflash)
  17. esp_gpio_reserve: esp_gpio_is_pin_reserved (noflash)
  18. if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED = y:
  19. rtc_init:rtc_vddsdio_get_config (noflash)
  20. rtc_init:rtc_vddsdio_set_config (noflash)
  21. if IDF_TARGET_ESP32C6 = n && IDF_TARGET_ESP32H2 = n && IDF_TARGET_ESP32P4 = n: # TODO: IDF-5645
  22. rtc_sleep (noflash_text)
  23. rtc_time (noflash_text)
  24. if SOC_PMU_SUPPORTED = y:
  25. pmu_sleep (noflash)
  26. if SOC_USB_SERIAL_JTAG_SUPPORTED = y:
  27. sleep_console (noflash)
  28. if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
  29. rtc_wdt (noflash_text)
  30. if PERIPH_CTRL_FUNC_IN_IRAM = y:
  31. periph_ctrl: periph_module_reset (noflash)
  32. if PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y:
  33. periph_ctrl: wifi_module_enable (noflash)
  34. periph_ctrl: wifi_module_disable (noflash)
  35. if SOC_SYSTIMER_SUPPORTED = y:
  36. systimer (noflash)
  37. if APP_BUILD_TYPE_PURE_RAM_APP = n:
  38. mspi_timing_tuning (noflash)
  39. mspi_timing_config (noflash)
  40. if SOC_MEMSPI_TIMING_TUNING_BY_MSPI_DELAY = y:
  41. mspi_timing_by_mspi_delay (noflash)
  42. if SOC_ADC_SHARED_POWER = y:
  43. if ADC_ONESHOT_CTRL_FUNC_IN_IRAM = y:
  44. sar_periph_ctrl (noflash)
  45. else:
  46. sar_periph_ctrl: sar_periph_ctrl_power_enable (noflash)
  47. [mapping:soc_pm]
  48. archive: libsoc.a
  49. entries:
  50. if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
  51. gpio_periph: GPIO_HOLD_MASK (noflash)