forked from espressif/esp-idf
feat(sdmmc): add test config for ESP32-P4 EV board
This commit is contained in:
@@ -29,6 +29,10 @@ menu "SDMMC Test Board Configuration"
|
|||||||
bool "ESP32-C3 breakout board"
|
bool "ESP32-C3 breakout board"
|
||||||
depends on IDF_TARGET_ESP32C3
|
depends on IDF_TARGET_ESP32C3
|
||||||
|
|
||||||
|
config SDMMC_BOARD_ESP32P4_EV_BOARD
|
||||||
|
bool "ESP32-P4 Function EV Board"
|
||||||
|
depends on IDF_TARGET_ESP32P4
|
||||||
|
|
||||||
config SDMMC_BOARD_CUSTOM_SD
|
config SDMMC_BOARD_CUSTOM_SD
|
||||||
depends on SOC_SDMMC_HOST_SUPPORTED
|
depends on SOC_SDMMC_HOST_SUPPORTED
|
||||||
bool "Custom SD (choose pins)"
|
bool "Custom SD (choose pins)"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -318,6 +318,34 @@ static const sdmmc_test_board_info_t s_board_info = {
|
|||||||
.card_power_set = card_power_set_esp32c3_breakout
|
.card_power_set = card_power_set_esp32c3_breakout
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#elif CONFIG_SDMMC_BOARD_ESP32P4_EV_BOARD
|
||||||
|
|
||||||
|
static const sdmmc_test_board_info_t s_board_info = {
|
||||||
|
.name = "ESP32-P4 Function EV Board",
|
||||||
|
.slot = {
|
||||||
|
{
|
||||||
|
.slot_exists = false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.slot_exists = true,
|
||||||
|
.bus_width = 4,
|
||||||
|
.clk = 43,
|
||||||
|
.cmd_mosi = 44,
|
||||||
|
.d0_miso = 39,
|
||||||
|
.d1 = 40,
|
||||||
|
.d2 = 41,
|
||||||
|
.d3_cs = 42,
|
||||||
|
.d4 = GPIO_NUM_NC,
|
||||||
|
.d5 = GPIO_NUM_NC,
|
||||||
|
.d6 = GPIO_NUM_NC,
|
||||||
|
.d7 = GPIO_NUM_NC,
|
||||||
|
.cd = GPIO_NUM_NC,
|
||||||
|
.wp = GPIO_NUM_NC,
|
||||||
|
.unused_pin = 2,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
#elif CONFIG_SDMMC_BOARD_CUSTOM_SD
|
#elif CONFIG_SDMMC_BOARD_CUSTOM_SD
|
||||||
|
|
||||||
static const sdmmc_test_board_info_t s_board_info = {
|
static const sdmmc_test_board_info_t s_board_info = {
|
||||||
|
Reference in New Issue
Block a user