Skip to content

Commit

Permalink
test(sdspi): enabled sdspi test on s3
Browse files Browse the repository at this point in the history
  • Loading branch information
Icarus113 committed Aug 29, 2024
1 parent 29bf116 commit af4315a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


@pytest.mark.esp32
@pytest.mark.esp32s3
@pytest.mark.esp32c3
@pytest.mark.esp32p4
@pytest.mark.esp32c5
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_SDMMC_BOARD_ESP32S3_EMMC_TEST=y
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
2 changes: 1 addition & 1 deletion examples/storage/.build-test-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions examples/storage/sd_card/sdspi/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


@pytest.mark.esp32
@pytest.mark.esp32s3
@pytest.mark.esp32c3
@pytest.mark.esp32p4
@pytest.mark.esp32c5
Expand Down

0 comments on commit af4315a

Please sign in to comment.