feat(spiram): Add spiram support on esp32c5

This commit is contained in:
C.S.M
2024-06-27 13:55:03 +08:00
parent 7ccddb8cc2
commit 9de3e737cf
15 changed files with 656 additions and 102 deletions
@@ -1,4 +1,4 @@
| Supported Targets | ESP32 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C5 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- |
This test app is used to test PSRAM
@@ -86,3 +86,16 @@ def test_psram_esp32s3_octal(dut: Dut) -> None:
)
def test_psram_esp32p4(dut: Dut) -> None:
dut.run_all_single_board_cases()
@pytest.mark.esp32c5
@pytest.mark.generic
@pytest.mark.parametrize(
'config',
[
'esp32c5_release',
],
indirect=True,
)
def test_psram_esp32c5(dut: Dut) -> None:
dut.run_all_single_board_cases()
@@ -0,0 +1,7 @@
CONFIG_IDF_TARGET="esp32c5"
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
CONFIG_SPIRAM=y