mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/linux_wifi_mock' into 'master'
fix(linux): Fixed esp_wifi mock build test See merge request espressif/esp-idf!28607
This commit is contained in:
commit
273324c635
@ -6,8 +6,7 @@ idf_component_get_property(original_esp_netif_dir esp_netif COMPONENT_OVERRIDEN_
|
|||||||
|
|
||||||
set(include_dirs
|
set(include_dirs
|
||||||
"include"
|
"include"
|
||||||
"${original_esp_netif_dir}/include"
|
"${original_esp_netif_dir}/include")
|
||||||
"${original_esp_netif_dir}/linux/stubs/include")
|
|
||||||
|
|
||||||
idf_component_mock(INCLUDE_DIRS ${include_dirs}
|
idf_component_mock(INCLUDE_DIRS ${include_dirs}
|
||||||
REQUIRES esp_event
|
REQUIRES esp_event
|
||||||
|
@ -19,4 +19,21 @@ menu "Wi-Fi"
|
|||||||
range 0 17
|
range 0 17
|
||||||
default 7
|
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
|
endmenu # Wi-Fi
|
||||||
|
@ -24,6 +24,12 @@ tools/test_apps/linux_compatible/linux_freertos:
|
|||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET == "linux"
|
- 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:
|
tools/test_apps/peripherals/i2c_wifi:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_I2C_SUPPORTED != 1 or SOC_WIFI_SUPPORTED != 1
|
- if: SOC_I2C_SUPPORTED != 1 or SOC_WIFI_SUPPORTED != 1
|
||||||
|
Loading…
Reference in New Issue
Block a user