Skip to content

Commit effd609

Browse files
committed
esp32/boards/ESP32_GENERIC_P4: Set SDMMC LDO channel.
The ESP32-P4-Function-EV-Board uses LDO 4 for controlling SDMMC GPIO power. This is required to use SD cards with this board. Signed-off-by: Dryw Wade <[email protected]>
1 parent f5ebc3b commit effd609

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ports/esp32/boards/ESP32_GENERIC_P4/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define MICROPY_PY_ESPNOW (0)
1313

1414
#define MICROPY_HW_ENABLE_SDCARD (1)
15+
#define MICROPY_HW_SDMMC_LDO_CHAN_ID (4)
1516

1617
#ifndef USB_SERIAL_JTAG_PACKET_SZ_BYTES
1718
#define USB_SERIAL_JTAG_PACKET_SZ_BYTES (64)

0 commit comments

Comments
 (0)