1[mapping:esp_hw_support]
2archive: libesp_hw_support.a
3entries:
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 && (PM_SLP_IRAM_OPT = y || ESP_SLEEP_POWER_DOWN_FLASH = 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: # 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 PM_SLP_IRAM_OPT = y && IDF_TARGET_ESP32 = n:
29        sleep_modem:periph_inform_out_light_sleep_overhead (noflash)
30    if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
31        rtc_wdt (noflash_text)
32    if PERIPH_CTRL_FUNC_IN_IRAM = y:
33        periph_ctrl: periph_module_reset (noflash)
34    if PERIPH_CTRL_FUNC_IN_IRAM = y && ESP_WIFI_ENABLED = y:
35        periph_ctrl: wifi_module_enable (noflash)
36        periph_ctrl: wifi_module_disable (noflash)
37    if GDMA_CTRL_FUNC_IN_IRAM = y:
38        gdma: gdma_start (noflash)
39        gdma: gdma_stop (noflash)
40        gdma: gdma_append (noflash)
41        gdma: gdma_reset (noflash)
42    if SOC_SYSTIMER_SUPPORTED = y:
43        systimer (noflash)
44    if SOC_MEMSPI_SRC_FREQ_120M = y:
45        mspi_timing_tuning (noflash)
46        mspi_timing_config (noflash)
47    if ADC_ONESHOT_CTRL_FUNC_IN_IRAM = y:
48        sar_periph_ctrl (noflash)
49    else:
50        sar_periph_ctrl: sar_periph_ctrl_power_enable (noflash)
51
52[mapping:soc_pm]
53archive: libsoc.a
54entries:
55    if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND:
56        gpio_periph: GPIO_HOLD_MASK (noflash)
57