Merge branch 'bugfix/fix_test_failure_in_test_phy_multi_init_data_bin_issue_v5.0' into 'release/v5.0'

esp_phy: add country code 01 to country code map type table(Backport v5.0)

See merge request espressif/esp-idf!21749
This commit is contained in:
Jiang Jiang Jian
2022-12-22 09:35:25 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -105,6 +105,7 @@ static char* s_phy_type[ESP_PHY_INIT_DATA_TYPE_NUMBER] = {"DEFAULT", "SRRC", "FC
/* Country and PHY init data type map */
static phy_country_to_bin_type_t s_country_code_map_type_table[] = {
{"01", ESP_PHY_INIT_DATA_TYPE_DEFAULT},
{"AT", ESP_PHY_INIT_DATA_TYPE_CE},
{"AU", ESP_PHY_INIT_DATA_TYPE_ACMA},
{"BE", ESP_PHY_INIT_DATA_TYPE_CE},

View File

@@ -19,5 +19,5 @@ 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:
dut.expect_exact('load embedded multi phy init data')
dut.expect_exact('loading embedded multiple PHY init data')
dut.expect_exact('wifi_init finished')