feat(sdspi): supported sdspi on esp32p4

This commit is contained in:
Armando
2023-10-13 15:44:15 +08:00
parent cb90ed263d
commit d08518e310
5 changed files with 9 additions and 9 deletions

View File

@@ -93,7 +93,6 @@ api-reference/storage/mass_mfg.rst
api-reference/storage/fatfsgen.rst api-reference/storage/fatfsgen.rst
api-reference/storage/index.rst api-reference/storage/index.rst
api-reference/storage/nvs_partition_parse.rst api-reference/storage/nvs_partition_parse.rst
api-reference/peripherals/sdspi_share.rst
api-reference/peripherals/gpio/esp32p4.inc api-reference/peripherals/gpio/esp32p4.inc
api-reference/peripherals/adc_continuous.rst api-reference/peripherals/adc_continuous.rst
api-reference/peripherals/adc_oneshot.rst api-reference/peripherals/adc_oneshot.rst
@@ -106,7 +105,6 @@ api-reference/peripherals/usb_host/usb_host_notes_design.rst
api-reference/peripherals/hmac.rst api-reference/peripherals/hmac.rst
api-reference/peripherals/usb_device.rst api-reference/peripherals/usb_device.rst
api-reference/peripherals/gpio.rst api-reference/peripherals/gpio.rst
api-reference/peripherals/sdspi_host.rst
api-reference/peripherals/dac.rst api-reference/peripherals/dac.rst
api-reference/peripherals/spi_slave.rst api-reference/peripherals/spi_slave.rst
api-reference/peripherals/touch_element.rst api-reference/peripherals/touch_element.rst

View File

@@ -131,11 +131,9 @@ examples/storage/sd_card/sdmmc:
examples/storage/sd_card/sdspi: examples/storage/sd_card/sdspi:
disable: disable:
- if: IDF_TARGET in ["esp32h2", "esp32p4"] - if: SOC_GPSPI_SUPPORTED != 1
temporary: true
reason: Not supported
disable_test: disable_test:
- if: IDF_TARGET in ["esp32s3", "esp32c2", "esp32c6"] - if: IDF_TARGET in ["esp32s3", "esp32c2", "esp32c6", "esp32h2", "esp32p4"]
temporary: true temporary: true
reason: lack of runners reason: lack of runners

View File

@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 | | Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | | ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
# SD Card example (SDSPI) # SD Card example (SDSPI)

View File

@@ -13,6 +13,7 @@ menu "SD SPI Example Configuration"
default 35 if IDF_TARGET_ESP32S2 default 35 if IDF_TARGET_ESP32S2
default 35 if IDF_TARGET_ESP32S3 default 35 if IDF_TARGET_ESP32S3
default 5 if IDF_TARGET_ESP32H2 default 5 if IDF_TARGET_ESP32H2
default 11 if IDF_TARGET_ESP32P4
default 4 # C3 and others default 4 # C3 and others
config EXAMPLE_PIN_MISO config EXAMPLE_PIN_MISO
@@ -21,6 +22,7 @@ menu "SD SPI Example Configuration"
default 37 if IDF_TARGET_ESP32S2 default 37 if IDF_TARGET_ESP32S2
default 37 if IDF_TARGET_ESP32S3 default 37 if IDF_TARGET_ESP32S3
default 0 if IDF_TARGET_ESP32H2 default 0 if IDF_TARGET_ESP32H2
default 13 if IDF_TARGET_ESP32P4
default 6 # C3 and others default 6 # C3 and others
config EXAMPLE_PIN_CLK config EXAMPLE_PIN_CLK
@@ -29,6 +31,7 @@ menu "SD SPI Example Configuration"
default 36 if IDF_TARGET_ESP32S2 default 36 if IDF_TARGET_ESP32S2
default 36 if IDF_TARGET_ESP32S3 default 36 if IDF_TARGET_ESP32S3
default 4 if IDF_TARGET_ESP32H2 default 4 if IDF_TARGET_ESP32H2
default 12 if IDF_TARGET_ESP32P4
default 5 # C3 and others default 5 # C3 and others
config EXAMPLE_PIN_CS config EXAMPLE_PIN_CS
@@ -36,6 +39,7 @@ menu "SD SPI Example Configuration"
default 13 if IDF_TARGET_ESP32 default 13 if IDF_TARGET_ESP32
default 34 if IDF_TARGET_ESP32S2 default 34 if IDF_TARGET_ESP32S2
default 34 if IDF_TARGET_ESP32S3 default 34 if IDF_TARGET_ESP32S3
default 10 if IDF_TARGET_ESP32P4
default 1 # C3 and others default 1 # C3 and others
endmenu endmenu