test(flash_mmap): added psram enabled test for esp32p4 as mmu is per target

This commit is contained in:
Armando
2025-02-18 11:50:52 +08:00
parent 253fc4f35a
commit 03e344df86
3 changed files with 16 additions and 1 deletions
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
import pytest
from pytest_embedded import Dut
@@ -47,6 +47,19 @@ def test_flash_mmap_xip_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(timeout=30)
@pytest.mark.supported_targets
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'psram',
],
indirect=True,
)
def test_flash_mmap_psram(dut: Dut) -> None:
dut.run_all_single_board_cases(timeout=30)
@pytest.mark.supported_targets
@pytest.mark.generic
@pytest.mark.parametrize(
@@ -0,0 +1 @@
CONFIG_SPIRAM=y