diff --git a/tools/mocks/esp_netif/CMakeLists.txt b/tools/mocks/esp_netif/CMakeLists.txt index 2104150fc6..dd536f2158 100644 --- a/tools/mocks/esp_netif/CMakeLists.txt +++ b/tools/mocks/esp_netif/CMakeLists.txt @@ -6,8 +6,7 @@ idf_component_get_property(original_esp_netif_dir esp_netif COMPONENT_OVERRIDEN_ set(include_dirs "include" - "${original_esp_netif_dir}/include" - "${original_esp_netif_dir}/linux/stubs/include") + "${original_esp_netif_dir}/include") idf_component_mock(INCLUDE_DIRS ${include_dirs} REQUIRES esp_event diff --git a/tools/mocks/esp_wifi/Kconfig b/tools/mocks/esp_wifi/Kconfig index f4fa3b9dd8..0f248515e5 100644 --- a/tools/mocks/esp_wifi/Kconfig +++ b/tools/mocks/esp_wifi/Kconfig @@ -19,4 +19,21 @@ menu "Wi-Fi" range 0 17 default 7 + choice ESP_WIFI_MGMT_RX_BUFFER + prompt "Type of WiFi RX MGMT buffers" + default ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER + help + This is just a placeholder configuration for mocking the WiFi driver. + + config ESP_WIFI_STATIC_RX_MGMT_BUFFER + bool "Static" + config ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER + bool "Dynamic" + endchoice + + config ESP_WIFI_DYNAMIC_RX_MGMT_BUF + int + default 0 if ESP_WIFI_STATIC_RX_MGMT_BUFFER + default 1 if ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER + endmenu # Wi-Fi diff --git a/tools/test_apps/.build-test-rules.yml b/tools/test_apps/.build-test-rules.yml index 22f992ed66..acba810cc9 100644 --- a/tools/test_apps/.build-test-rules.yml +++ b/tools/test_apps/.build-test-rules.yml @@ -19,6 +19,12 @@ tools/test_apps/linux_compatible/linux_freertos: enable: - if: IDF_TARGET == "linux" +tools/test_apps/linux_compatible/wifi_build_test: + enable: + - if: IDF_TARGET == "linux" + disable_test: + - if: IDF_TARGET == "linux" + tools/test_apps/peripherals/i2c_wifi: disable: - if: SOC_I2C_SUPPORTED != 1 or SOC_WIFI_SUPPORTED != 1