mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
esp32: make WiFi IRAM optimization configurable See merge request idf/esp-idf!4037
This commit is contained in:
commit
42f64e9a93
@ -1205,6 +1205,14 @@ menu Wi-Fi
|
||||
bool "WiFi Debug Log Submodule Scan"
|
||||
default n
|
||||
|
||||
config ESP32_WIFI_IRAM_OPT
|
||||
bool "WiFi IRAM speed optimization"
|
||||
default y
|
||||
help
|
||||
Select this option to place frequently called Wi-Fi library functions in IRAM.
|
||||
When this option is disabled, more than 10Kbytes of IRAM memory will be saved
|
||||
but Wi-Fi throughput will be reduced.
|
||||
|
||||
endmenu # Wi-Fi
|
||||
|
||||
menu PHY
|
||||
|
@ -44,6 +44,10 @@ entries:
|
||||
entries:
|
||||
.dram1+
|
||||
|
||||
[sections:wifi_iram]
|
||||
entries:
|
||||
.wifi0iram+
|
||||
|
||||
[scheme:default]
|
||||
entries:
|
||||
text -> flash_text
|
||||
@ -57,6 +61,7 @@ entries:
|
||||
rtc_data -> rtc_data
|
||||
rtc_rodata -> rtc_data
|
||||
rtc_bss -> rtc_bss
|
||||
wifi_iram -> flash_text
|
||||
|
||||
[scheme:rtc]
|
||||
entries:
|
||||
@ -78,3 +83,7 @@ entries:
|
||||
[scheme:noflash_text]
|
||||
entries:
|
||||
text -> iram0_text
|
||||
|
||||
[scheme:wifi_iram]
|
||||
entries:
|
||||
wifi_iram -> iram0_text
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 3cedb7f33e4f86d61427912cae6f6ffe598df2b9
|
||||
Subproject commit 2d497667233a118384a79aec9428a042fbebd366
|
@ -27,3 +27,16 @@ entries:
|
||||
archive: libgcov.a
|
||||
entries:
|
||||
* (noflash)
|
||||
|
||||
[mapping]
|
||||
archive: libpp.a
|
||||
entries:
|
||||
: ESP32_WIFI_IRAM_OPT = y
|
||||
* (wifi_iram)
|
||||
|
||||
[mapping]
|
||||
archive: libnet80211.a
|
||||
entries:
|
||||
: ESP32_WIFI_IRAM_OPT = y
|
||||
* (wifi_iram)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user