ci: Add wifi static buffer case

This commit is contained in:
ding huan
2026-05-15 15:02:14 +08:00
parent f5e77bfb4f
commit 580f4a3ce9
4 changed files with 17 additions and 3 deletions
@@ -4,7 +4,7 @@ components/esp_wifi/test_apps/wifi_connect:
disable:
- if: SOC_WIFI_SUPPORTED != 1
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3", "esp32c2"]
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32s3", "esp32c2", "esp32c6"]
reason: lack of runner
components/esp_wifi/test_apps/wifi_function:
@@ -6,8 +6,17 @@ from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.two_duts
@pytest.mark.parametrize('count', [2], indirect=True)
@idf_parametrize('target', ['esp32', 'esp32c3', 'esp32s3'], indirect=['target'])
@pytest.mark.parametrize(
'count, config',
[
(2, 'default'),
(2, 'static_tx_buf'),
],
indirect=True,
)
@idf_parametrize(
'target', ['esp32', 'esp32c3', 'esp32s3', 'esp32c6'], indirect=['target']
)
def test_wifi_connect_cases(case_tester: CaseTester) -> None: # type: ignore
case_tester.run_all_cases()
@@ -18,6 +27,7 @@ def test_wifi_connect_cases(case_tester: CaseTester) -> None: # type: ignore
'count, config, baud',
[
(2, 'esp32c2_xtal26m', '74880'),
(2, 'esp32c2_xtal26m_static_tx_buf', '74880'),
],
indirect=True,
)
@@ -0,0 +1,3 @@
CONFIG_IDF_TARGET="esp32c2"
CONFIG_XTAL_FREQ_26=y
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y
@@ -0,0 +1 @@
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y