mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wifi: Fix linking of WiFi functions dependent on PM_ENABLE
The following functions are only defined when CONFIG_PM_ENABLE is defined: - wifi_apb80m_request() - wifi_apb80m_release() This commit makes their linker script mapping statements also dependent on CONFIG_PM_ENABLE thus fixing some linker errors when CONFIG_PM_ENABLE is disabled.
This commit is contained in:
parent
af928313ab
commit
823e1da543
@ -64,8 +64,9 @@ entries:
|
||||
phy_init:esp_phy_enable (noflash)
|
||||
phy_init:esp_phy_disable (noflash)
|
||||
phy_init:esp_wifi_bt_power_domain_off (noflash)
|
||||
wifi_init:wifi_apb80m_request (noflash)
|
||||
wifi_init:wifi_apb80m_release (noflash)
|
||||
if PM_ENABLE = y:
|
||||
wifi_init:wifi_apb80m_request (noflash)
|
||||
wifi_init:wifi_apb80m_release (noflash)
|
||||
|
||||
[mapping:driver_wifi_pm]
|
||||
archive: libdriver.a
|
||||
|
Loading…
Reference in New Issue
Block a user