2022-03-03 08:05:28 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
import pytest
|
|
|
|
from pytest_embedded_idf.dut import IdfDut
|
|
|
|
|
|
|
|
|
2022-12-07 10:07:07 +00:00
|
|
|
@pytest.mark.supported_targets
|
2024-01-02 02:21:45 +00:00
|
|
|
@pytest.mark.temp_skip_ci(targets=['esp32h2', 'esp32p4'], reason='h2/p4 not supported')
|
2022-03-03 08:05:28 +00:00
|
|
|
@pytest.mark.generic
|
|
|
|
@pytest.mark.parametrize('config', [
|
|
|
|
'phy_multiple_init_data',
|
|
|
|
'phy_multiple_init_data_embed',
|
|
|
|
], indirect=True)
|
|
|
|
def test_phy_multi_init_data_bin(dut: IdfDut, config: str) -> None:
|
|
|
|
if config == 'phy_multiple_init_data':
|
|
|
|
dut.expect_exact('Support multiple PHY init data bins')
|
|
|
|
else:
|
2022-12-16 07:19:16 +00:00
|
|
|
dut.expect_exact('loading embedded multiple PHY init data')
|
2022-03-03 08:05:28 +00:00
|
|
|
dut.expect_exact('wifi_init finished')
|