forked from espressif/esp-idf
ci(spi_flash): Add flash test for 26MHZ XTAL on ESP32C2
This commit is contained in:
@@ -53,3 +53,18 @@ def test_esp_flash_rom(dut: Dut) -> None:
|
||||
)
|
||||
def test_esp_flash_multi(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='esp_flash_multi', timeout=120)
|
||||
|
||||
|
||||
@pytest.mark.esp32c2
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.xtal_26mhz
|
||||
@pytest.mark.parametrize(
|
||||
'config, baud',
|
||||
[
|
||||
('esp32c2_xtal26m', '74880'),
|
||||
('esp32c2_xtal26m_rom', '74880'),
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
def test_esp_flash_26mhz_c2(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases(group='esp_flash')
|
||||
|
@@ -0,0 +1,2 @@
|
||||
CONFIG_IDF_TARGET="esp32c2"
|
||||
CONFIG_XTAL_FREQ_26=y
|
@@ -0,0 +1,3 @@
|
||||
CONFIG_IDF_TARGET="esp32c2"
|
||||
CONFIG_XTAL_FREQ_26=y
|
||||
CONFIG_SPI_FLASH_ROM_IMPL=y
|
Reference in New Issue
Block a user