mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
test(sdspi): enabled sdspi test on s3
This commit is contained in:
parent
29bf116021
commit
af4315a2b1
@ -2,7 +2,7 @@ components/esp_driver_sdspi/test_apps/sdspi:
|
||||
disable:
|
||||
- if: SOC_GPSPI_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32c5", "esp32p4"]
|
||||
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
||||
reason: needs special runner, select few typical targets for testing
|
||||
depends_components:
|
||||
- sdmmc
|
||||
|
@ -5,6 +5,7 @@ from pytest_embedded_idf import IdfDut
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32p4
|
||||
@pytest.mark.esp32c5
|
||||
|
@ -0,0 +1,2 @@
|
||||
CONFIG_SDMMC_BOARD_ESP32S3_EMMC_TEST=y
|
||||
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
@ -139,7 +139,7 @@ examples/storage/sd_card/sdspi:
|
||||
disable:
|
||||
- if: SOC_GPSPI_SUPPORTED != 1
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32", "esp32c3", "esp32c5", "esp32p4"]
|
||||
- if: IDF_TARGET not in ["esp32", "esp32s3", "esp32c3", "esp32c5", "esp32p4"]
|
||||
reason: needs special runner, select few typical targets for testing
|
||||
|
||||
examples/storage/semihost_vfs:
|
||||
|
@ -17,7 +17,7 @@ menu "SD SPI Example Configuration"
|
||||
int "MOSI GPIO number"
|
||||
default 15 if IDF_TARGET_ESP32
|
||||
default 35 if IDF_TARGET_ESP32S2
|
||||
default 35 if IDF_TARGET_ESP32S3
|
||||
default 4 if IDF_TARGET_ESP32S3
|
||||
default 5 if IDF_TARGET_ESP32H2
|
||||
default 36 if IDF_TARGET_ESP32P4
|
||||
default 4 # C3 and others
|
||||
@ -26,7 +26,7 @@ menu "SD SPI Example Configuration"
|
||||
int "MISO GPIO number"
|
||||
default 2 if IDF_TARGET_ESP32
|
||||
default 37 if IDF_TARGET_ESP32S2
|
||||
default 37 if IDF_TARGET_ESP32S3
|
||||
default 5 if IDF_TARGET_ESP32S3
|
||||
default 0 if IDF_TARGET_ESP32H2
|
||||
default 47 if IDF_TARGET_ESP32P4
|
||||
default 6 # C3 and others
|
||||
@ -35,7 +35,7 @@ menu "SD SPI Example Configuration"
|
||||
int "CLK GPIO number"
|
||||
default 14 if IDF_TARGET_ESP32
|
||||
default 36 if IDF_TARGET_ESP32S2
|
||||
default 36 if IDF_TARGET_ESP32S3
|
||||
default 2 if IDF_TARGET_ESP32S3
|
||||
default 4 if IDF_TARGET_ESP32H2
|
||||
default 53 if IDF_TARGET_ESP32P4
|
||||
default 5 # C3 and others
|
||||
@ -44,7 +44,7 @@ menu "SD SPI Example Configuration"
|
||||
int "CS GPIO number"
|
||||
default 13 if IDF_TARGET_ESP32
|
||||
default 34 if IDF_TARGET_ESP32S2
|
||||
default 34 if IDF_TARGET_ESP32S3
|
||||
default 8 if IDF_TARGET_ESP32S3
|
||||
default 33 if IDF_TARGET_ESP32P4
|
||||
default 1 # C3 and others
|
||||
|
||||
|
@ -8,6 +8,7 @@ from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32c3
|
||||
@pytest.mark.esp32p4
|
||||
@pytest.mark.esp32c5
|
||||
|
Loading…
Reference in New Issue
Block a user