fix(wifi): Add support to move supplicant BSS to external memory

This commit is contained in:
Kapil Gupta
2023-12-13 17:20:02 +05:30
parent 4ecc978bd6
commit d900eed440
4 changed files with 10 additions and 2 deletions

View File

@@ -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)

View File

@@ -0,0 +1,5 @@
[mapping:wpa_supplicant]
archive: libwpa_supplicant.a
entries:
if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
* (extram_bss)