mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(mspi): support 120MHz flash and psram for esp32c61
This commit is contained in:
committed by
Zhang Wen Xu
parent
3b21e8e659
commit
c7ae253b89
@@ -6,7 +6,8 @@ components/esp_hw_support/test_apps/host_test_linux:
|
||||
|
||||
components/esp_hw_support/test_apps/mspi:
|
||||
disable:
|
||||
- if: IDF_TARGET not in ["esp32s3", "esp32p4"]
|
||||
- if: IDF_TARGET not in ["esp32s3", "esp32p4", "esp32c61", "esp32c5"]
|
||||
- if: CONFIG_NAME == "120sdr_120sdr" and IDF_TARGET in ["esp32s3", "esp32p4"]
|
||||
|
||||
components/esp_hw_support/test_apps/mspi_psram_with_dfs:
|
||||
disable:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32-P4 | ESP32-S3 |
|
||||
| ----------------- | -------- | -------- |
|
||||
| Supported Targets | ESP32-C5 | ESP32-C61 | ESP32-P4 | ESP32-S3 |
|
||||
| ----------------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
This project tests if Flash and PSRAM can work under different configurations.
|
||||
To add new configuration, create one more sdkconfig.ci.NAME file in this directory.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
import os
|
||||
import pathlib
|
||||
@@ -53,7 +53,6 @@ def test_flash4_psram4(dut: IdfDut) -> None:
|
||||
'config',
|
||||
[
|
||||
'esp32p4_120sdr_200ddr',
|
||||
'esp32p4_timing_tuning_log_safe',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@@ -63,6 +62,18 @@ def test_flash_psram_esp32p4(dut: IdfDut) -> None:
|
||||
|
||||
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
'120sdr_120sdr',
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32c5', 'esp32c61'], indirect=['target'])
|
||||
def test_flash_psram_120sdr_120sdr(dut: IdfDut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
'config',
|
||||
[
|
||||
@@ -71,6 +82,24 @@ def test_flash_psram_esp32p4(dut: IdfDut) -> None:
|
||||
],
|
||||
indirect=True,
|
||||
)
|
||||
@idf_parametrize('target', ['esp32c5', 'esp32c61'], indirect=['target'])
|
||||
@idf_parametrize(
|
||||
'target,markers',
|
||||
[
|
||||
# S3 has no flash support auto suspend, this test is not applicable
|
||||
(
|
||||
'esp32p4',
|
||||
(pytest.mark.generic,),
|
||||
),
|
||||
(
|
||||
'esp32c5',
|
||||
(pytest.mark.generic,),
|
||||
),
|
||||
(
|
||||
'esp32c61',
|
||||
(pytest.mark.generic,),
|
||||
),
|
||||
],
|
||||
indirect=['target'],
|
||||
)
|
||||
def test_flash_psram_generic(dut: IdfDut) -> None:
|
||||
dut.run_all_single_board_cases()
|
||||
|
||||
+1
-5
@@ -1,10 +1,6 @@
|
||||
CONFIG_IDF_TARGET="esp32p4"
|
||||
|
||||
CONFIG_IDF_EXPERIMENTAL_FEATURES=y
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_SPEED_200M=y
|
||||
CONFIG_SPIRAM_SPEED_120M=y
|
||||
CONFIG_ESPTOOLPY_FLASHFREQ_120M=y
|
||||
CONFIG_SPI_FLASH_HPM_ENA=y
|
||||
CONFIG_BOOTLOADER_FLASH_DC_AWARE=y
|
||||
CONFIG_SPI_FLASH_AUTO_SUSPEND=y
|
||||
CONFIG_LOG_IN_IRAM=n
|
||||
-15
@@ -1,15 +0,0 @@
|
||||
# Legacy, F4R4, Flash 120M SDR, PSRAM 120M SDR
|
||||
|
||||
CONFIG_IDF_TARGET="esp32s3"
|
||||
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
||||
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
|
||||
CONFIG_SPI_FLASH_HPM_ENA=y
|
||||
CONFIG_ESPTOOLPY_FLASHFREQ_120M=y
|
||||
CONFIG_BOOTLOADER_FLASH_DC_AWARE=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||
CONFIG_SPIRAM=y
|
||||
CONFIG_SPIRAM_SPEED_120M=y
|
||||
CONFIG_SPI_FLASH_AUTO_SUSPEND=y
|
||||
CONFIG_LOG_IN_IRAM=n
|
||||
Reference in New Issue
Block a user