1[sections:wifi_iram]
2entries:
3    .wifi0iram+
4
5[sections:wifi_rx_iram]
6entries:
7    .wifirxiram+
8
9[sections:wifi_slp_iram]
10entries:
11    .wifislpiram+
12
13[sections:wifi_or_slp_iram]
14entries:
15    .wifiorslpiram+
16
17[sections:wifi_slp_rx_iram]
18entries:
19    .wifislprxiram+
20
21[scheme:wifi_iram]
22entries:
23    wifi_iram -> iram0_text
24
25[scheme:wifi_rx_iram]
26entries:
27    wifi_rx_iram -> iram0_text
28
29[scheme:extram_bss]
30entries:
31    bss -> extern_ram
32    common -> extern_ram
33
34[scheme:wifi_slp_iram]
35entries:
36    wifi_slp_iram -> iram0_text
37
38[scheme:wifi_or_slp_iram]
39entries:
40    wifi_or_slp_iram -> iram0_text
41
42[scheme:wifi_slp_rx_iram]
43entries:
44    wifi_slp_rx_iram -> iram0_text
45
46[sections:wifi_log_error]
47entries:
48    .rodata_wlog_error+
49
50[sections:wifi_log_warning]
51entries:
52    .rodata_wlog_warning+
53
54[sections:wifi_log_info]
55entries:
56    .rodata_wlog_info+
57
58[sections:wifi_log_debug]
59entries:
60    .rodata_wlog_debug+
61
62[sections:wifi_log_verbose]
63entries:
64    .rodata_wlog_verbose+
65
66[scheme:wifi_default]
67entries:
68    wifi_slp_iram -> flash_text
69    wifi_or_slp_iram -> flash_text
70    wifi_slp_rx_iram -> flash_text
71    wifi_iram -> flash_text
72    wifi_rx_iram -> flash_text
73    if LOG_MAXIMUM_LEVEL <= 0:
74        wifi_log_error -> rodata_noload
75    else:
76        wifi_log_error -> flash_rodata
77    if LOG_MAXIMUM_LEVEL <= 1:
78        wifi_log_warning -> rodata_noload
79    else:
80        wifi_log_warning -> flash_rodata
81    if LOG_MAXIMUM_LEVEL <= 2:
82        wifi_log_info -> rodata_noload
83    else:
84        wifi_log_info -> flash_rodata
85    if LOG_MAXIMUM_LEVEL <= 3:
86        wifi_log_debug -> rodata_noload
87    else:
88        wifi_log_debug -> flash_rodata
89    if LOG_MAXIMUM_LEVEL <= 4:
90        wifi_log_verbose -> rodata_noload
91    else:
92        wifi_log_verbose -> flash_rodata
93
94[mapping:wifi_default]
95archive: *
96entries:
97    * (wifi_default)
98
99[mapping:pp]
100archive: libpp.a
101entries:
102    if ESP32_WIFI_IRAM_OPT = y:
103        * (wifi_iram)
104
105    if ESP32_WIFI_RX_IRAM_OPT = y:
106        * (wifi_rx_iram)
107
108    if ESP_WIFI_SLP_IRAM_OPT = y:
109        * (wifi_slp_iram)
110
111    if ESP32_WIFI_IRAM_OPT || ESP_WIFI_SLP_IRAM_OPT:
112        * (wifi_or_slp_iram)
113
114    if ESP32_WIFI_RX_IRAM_OPT || ESP_WIFI_SLP_IRAM_OPT:
115        * (wifi_slp_rx_iram)
116
117    if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
118        * (extram_bss)
119
120[mapping:net80211]
121archive: libnet80211.a
122entries:
123    if ESP32_WIFI_IRAM_OPT = y:
124        * (wifi_iram)
125
126    if ESP32_WIFI_RX_IRAM_OPT = y:
127        * (wifi_rx_iram)
128
129    if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
130        * (extram_bss)
131
132    if ESP_WIFI_SLP_IRAM_OPT = y:
133        * (wifi_slp_iram)
134
135    if ESP32_WIFI_RX_IRAM_OPT || ESP_WIFI_SLP_IRAM_OPT:
136        * (wifi_slp_rx_iram)
137
138[mapping:coexist]
139archive: libcoexist.a
140entries:
141    if ESP_WIFI_SLP_IRAM_OPT = y:
142        * (wifi_slp_iram)
143
144[mapping:esp_wifi]
145archive: libesp_wifi.a
146entries:
147    if ESP_WIFI_SLP_IRAM_OPT =y:
148        esp_adapter:wifi_clock_enable_wrapper (noflash)
149        esp_adapter:wifi_clock_disable_wrapper (noflash)
150        wifi_init:wifi_apb80m_request (noflash)
151        wifi_init:wifi_apb80m_release (noflash)
152
153[mapping:driver_wifi_pm]
154archive: libdriver.a
155entries:
156    if ESP_WIFI_SLP_IRAM_OPT =y:
157        periph_ctrl:wifi_module_enable (noflash)
158        periph_ctrl:wifi_module_disable (noflash)
159
160[mapping:esp_timer_wifi_pm]
161archive: libesp_timer.a
162entries:
163    if ESP_WIFI_SLP_IRAM_OPT = y && IDF_TARGET_ESP32 = y:
164        esp_timer:timer_task (noflash)
165        esp_timer:timer_process_alarm (noflash)
166