mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
ci(psram): add esp32p4 250M XIP coverage with flash 120M HPM-DC
This commit is contained in:
committed by
Armando (Dou Yiwen)
parent
2dd71fddaa
commit
a434dc5173
@@ -69,6 +69,26 @@ def test_xip_from_psram_example_p4_200m(dut: Dut) -> None:
|
||||
response_time = res.group(1).decode('utf8')
|
||||
assert float(response_time) <= 10
|
||||
|
||||
@pytest.mark.flash_120m
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'esp32p4_250m',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32p4'], indirect=['target'])
|
||||
def test_xip_from_psram_example_p4_250m(dut: Dut) -> None:
|
||||
dut.expect_exact('found partition')
|
||||
|
||||
res = dut.expect(r'callback\(in PSRAM\) response time: (\d{1,3}) us')
|
||||
response_time = res.group(1).decode('utf8')
|
||||
assert float(response_time) <= 10
|
||||
|
||||
res = dut.expect(r'callback\(in IRAM\) response time: (\d{1,3}) us')
|
||||
response_time = res.group(1).decode('utf8')
|
||||
assert float(response_time) <= 10
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
CONFIG_IDF_TARGET="esp32p4"
|
||||
CONFIG_SPIRAM_SPEED_250M=y
|
||||
CONFIG_ESPTOOLPY_FLASHFREQ_120M=y
|
||||
CONFIG_SPI_FLASH_HPM_ENA=y
|
||||
CONFIG_BOOTLOADER_FLASH_DC_AWARE=y
|
||||
Reference in New Issue
Block a user