esp_wifi: Move wifi OS adapter structures into esp_wifi component

This commit is contained in:
Angus Gratton 2019-10-30 16:13:33 +11:00 committed by Angus Gratton
parent 5cd1f5e7c1
commit f616d2f2de
7 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,6 @@ else()
"crosscore_int.c"
"dport_access.c"
"dport_panic_highint_hdl.S"
"esp_adapter.c"
"esp_timer_esp32.c"
"esp_himem.c"
"hw_random.c"

View file

@ -18,7 +18,6 @@ else()
"crosscore_int.c"
"dport_access.c"
"dport_panic_highint_hdl.S"
"esp_adapter.c"
"esp_timer_esp32s2beta.c"
"hw_random.c"
"int_wdt.c"

View file

@ -17,6 +17,7 @@ idf_component_register(SRCS "src/coexist.c"
"src/wifi_init.c"
"src/wifi_default.c"
"src/wifi_netif.c"
"${idf_target}/esp_adapter.c"
INCLUDE_DIRS "include" "${idf_target}/include"
PRIV_REQUIRES wpa_supplicant nvs_flash esp_netif
LDFRAGMENTS "${ldfragments}")

View file

@ -3,7 +3,7 @@
#
COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include
COMPONENT_SRCDIRS := src
COMPONENT_SRCDIRS := src $(IDF_TARGET)
ifndef CONFIG_ESP32_NO_BLOBS
LIBS := core rtc net80211 pp smartconfig coexist espnow phy mesh

View file

@ -297,6 +297,7 @@ function run_tests()
export fake_target=esp31b
mkdir -p components/$fake_target
mkdir -p ${IDF_PATH}/components/xtensa/$fake_target/include
mkdir -p ${IDF_PATH}/components/esp_wifi/$fake_target/include
touch components/$fake_target/CMakeLists.txt
cp ${IDF_PATH}/tools/cmake/toolchain-esp32.cmake components/$fake_target/toolchain-$fake_target.cmake
${SED} -i.bak '/cmake_minimum_required/ a\