mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-25 01:41:43 +00:00
fix(wifi): Add support to move supplicant BSS to external memory
This commit is contained in:
@@ -2,6 +2,8 @@ idf_build_get_property(target IDF_TARGET)
|
||||
|
||||
if(${target} STREQUAL "linux")
|
||||
return() # This component is not supported by the POSIX/Linux simulator
|
||||
else()
|
||||
set(linker_fragments linker.lf)
|
||||
endif()
|
||||
|
||||
set(srcs "port/os_xtensa.c"
|
||||
@@ -217,6 +219,7 @@ idf_component_register(SRCS "${srcs}" "${esp_srcs}" "${tls_src}" "${roaming_src}
|
||||
"${crypto_src}" "${mbo_src}" "${dpp_src}" "${wps_registrar_src}"
|
||||
INCLUDE_DIRS include port/include esp_supplicant/include
|
||||
PRIV_INCLUDE_DIRS src src/utils esp_supplicant/src src/crypto
|
||||
LDFRAGMENTS ${linker_fragments}
|
||||
PRIV_REQUIRES mbedtls esp_timer esp_wifi)
|
||||
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-strict-aliasing -Wno-write-strings -Werror)
|
||||
|
5
components/wpa_supplicant/linker.lf
Normal file
5
components/wpa_supplicant/linker.lf
Normal file
@@ -0,0 +1,5 @@
|
||||
[mapping:wpa_supplicant]
|
||||
archive: libwpa_supplicant.a
|
||||
entries:
|
||||
if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
|
||||
* (extram_bss)
|
Reference in New Issue
Block a user