kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'ci/enable_p4_psram_test' into 'master'
psram: enable psram ci test on p4 See merge request espressif/esp-idf!28411pull/13090/head
commit
312a8d38f0
|
@ -1,6 +1,11 @@
|
|||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||
|
||||
components/esp_psram/test_apps:
|
||||
enable:
|
||||
- if: IDF_TARGET in ["esp32", "esp32s2", "esp32s3"]
|
||||
reason: only test on esp32, esp32s2, and esp32s3
|
||||
disable:
|
||||
- if: SOC_SPIRAM_SUPPORTED != 1
|
||||
depends_components:
|
||||
- esp_psram
|
||||
- esp_mm
|
||||
- esp_driver_gpio
|
||||
- esp_driver_spi
|
||||
- spi_flash
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
| Supported Targets | ESP32 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- |
|
||||
|
||||
This test app is used to test PSRAM
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
import pytest
|
||||
|
@ -19,6 +19,20 @@ def test_psram_esp32(dut: Dut) -> None:
|
|||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.psramv0
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'esp32_hspi',
|
||||
'esp32_vspi',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
def test_psram_esp32_psramv0(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
|
@ -61,15 +75,14 @@ def test_psram_esp32s3_octal(dut: Dut) -> None:
|
|||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.psramv0
|
||||
@pytest.mark.esp32p4
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'esp32_hspi',
|
||||
'esp32_vspi',
|
||||
'esp32p4_200m_release',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
def test_psram_esp32_psramv0(dut: Dut) -> None:
|
||||
def test_psram_esp32p4(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
CONFIG_IDF_TARGET="esp32p4"
|
||||
|
||||
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
||||
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
|
||||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
|
||||
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
||||
CONFIG_SPIRAM_SPEED_200M=y
|
Ładowanie…
Reference in New Issue