ci: Add wifi static buffer case

This commit is contained in:
ding huan
2026-05-13 19:45:25 +08:00
parent 636f56f6ce
commit 3a46a77370
3 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
import pytest
from pytest_embedded_idf.unity_tester import CaseTester
@@ -6,7 +6,14 @@ from pytest_embedded_idf.utils import idf_parametrize
@pytest.mark.two_duts
@pytest.mark.parametrize('count', [2], indirect=True)
@pytest.mark.parametrize(
'count, config',
[
(2, 'default'),
(2, 'static_tx_buf'),
],
indirect=True,
)
@idf_parametrize(
'target', ['esp32', 'esp32c3', 'esp32s2', 'esp32s3', 'esp32c5', 'esp32c6', 'esp32c61'], indirect=['target']
)
@@ -20,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,
)

View File

@@ -0,0 +1,3 @@
CONFIG_IDF_TARGET="esp32c2"
CONFIG_XTAL_FREQ_26=y
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y

View File

@@ -0,0 +1 @@
CONFIG_ESP_WIFI_STATIC_TX_BUFFER=y