mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(linux): Fixed esp_wifi mock build test
This commit is contained in:
parent
1688c699db
commit
99914e1f09
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user