linker.lf 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. [mapping:esp_pm]
  2. archive: libesp_pm.a
  3. entries:
  4. if PM_RTOS_IDLE_OPT = y:
  5. pm_impl:esp_pm_impl_idle_hook (noflash)
  6. pm_impl:esp_pm_impl_waiti (noflash)
  7. if PM_SLP_IRAM_OPT = y && IDF_TARGET_ESP32 = n:
  8. pm_impl:periph_inform_out_light_sleep_overhead (noflash)
  9. [mapping:esp_common_pm]
  10. archive: libesp_common.a
  11. entries:
  12. if PM_RTOS_IDLE_OPT = y:
  13. freertos_hooks:esp_vApplicationIdleHook (noflash)
  14. task_wdt:idle_hook_cb (noflash)
  15. task_wdt:esp_task_wdt_reset (noflash)
  16. task_wdt:find_task_in_twdt_list (noflash)
  17. task_wdt:reset_hw_timer (noflash)
  18. [mapping:esp_hw_support_pm]
  19. archive: libesp_hw_support.a
  20. entries:
  21. if PM_SLP_IRAM_OPT = y:
  22. rtc_init:rtc_vddsdio_get_config (noflash)
  23. [mapping:esp_system_pm]
  24. archive: libesp_system.a
  25. entries:
  26. if PM_SLP_IRAM_OPT = y:
  27. sleep_modes:esp_light_sleep_start (noflash)
  28. sleep_modes:esp_sleep_enable_timer_wakeup (noflash)
  29. sleep_modes:timer_wakeup_prepare (noflash)
  30. sleep_modes:get_power_down_flags (noflash)
  31. [mapping:esp_timer_pm]
  32. archive: libesp_timer.a
  33. entries:
  34. if PM_SLP_IRAM_OPT = y:
  35. esp_timer_impl_lac:esp_timer_impl_lock (noflash)
  36. esp_timer_impl_lac:esp_timer_impl_unlock (noflash)
  37. esp_timer_impl_lac:esp_timer_impl_advance (noflash)
  38. esp_timer_impl_systimer:esp_timer_impl_lock (noflash)
  39. esp_timer_impl_systimer:esp_timer_impl_unlock (noflash)
  40. esp_timer_impl_systimer:esp_timer_impl_advance (noflash)
  41. [mapping:newlib_pm]
  42. archive: libnewlib.a
  43. entries:
  44. if PM_SLP_IRAM_OPT = y:
  45. esp_time_impl:esp_time_impl_set_boot_time (noflash)
  46. esp_time_impl:esp_time_impl_get_boot_time (noflash)
  47. esp_time_impl:esp_clk_slowclk_cal_get (noflash)
  48. esp_time_impl:esp_rtc_get_time_us (noflash)
  49. esp_time_impl:esp_clk_slowclk_cal_set (noflash)
  50. esp_time_impl:esp_set_time_from_rtc (noflash)
  51. [mapping:driver_pm]
  52. archive: libdriver.a
  53. entries:
  54. if GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL = y:
  55. gpio:gpio_sleep_pupd_config_unapply (noflash)
  56. if PM_SLP_IRAM_OPT = y:
  57. gpio:gpio_sleep_pupd_config_apply (noflash)
  58. [mapping:hal_pm]
  59. archive: libhal.a
  60. entries:
  61. if GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL = y:
  62. if PM_SLP_IRAM_OPT = y:
  63. gpio_hal_workaround (noflash)
  64. else:
  65. gpio_hal_workaround:gpio_hal_sleep_pupd_config_unapply (noflash)
  66. gpio_hal_workaround:gpio_hal_sleep_mode_setup_wrapper (noflash)
  67. gpio_hal_workaround:gpio_hal_fun_pupd_restore (noflash)