Skip to content

Commit 41934e5

Browse files
committed
feat(sdmmc): Update pins_arduino.h
1 parent 21d2b13 commit 41934e5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

variants/esp32p4/pins_arduino.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ static const uint8_t T11 = 13;
4949
static const uint8_t T12 = 14;
5050
static const uint8_t T13 = 15;
5151

52+
/* ESP32-P4 EV Function board specific definitons */
53+
//ETH
5254
#define ETH_PHY_TYPE ETH_PHY_TLK110
5355
#define ETH_PHY_ADDR 1
5456
#define ETH_PHY_MDC 31
@@ -63,4 +65,19 @@ static const uint8_t T13 = 15;
6365
#define ETH_RMII_CLK 50
6466
#define ETH_CLK_MODE EMAC_CLK_EXT_IN
6567

68+
//SDMMC
69+
#define BOARD_HAS_SDMMC
70+
#define BOARD_SDMMC_SLOT 0
71+
#define BOARD_SDMMC_POWER_CHANNEL 4
72+
73+
//WIFI - ESP32C6
74+
#define BOARD_HAS_SDIO_ESP_HOSTED
75+
#define BOARD_SDIO_ESP_HOSTED_CLK 18
76+
#define BOARD_SDIO_ESP_HOSTED_CMD 19
77+
#define BOARD_SDIO_ESP_HOSTED_D0 14
78+
#define BOARD_SDIO_ESP_HOSTED_D1 15
79+
#define BOARD_SDIO_ESP_HOSTED_D2 16
80+
#define BOARD_SDIO_ESP_HOSTED_D3 17
81+
#define BOARD_SDIO_ESP_HOSTED_RESET 54
82+
6683
#endif /* Pins_Arduino_h */

0 commit comments

Comments
 (0)