Skip to content

Commit 9af1f75

Browse files
committed
fix(sdmmc): fixed sdmmc pin drive regression issue on esp32
1 parent 190eca3 commit 9af1f75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/esp_driver_sdmmc/src/sdmmc_host.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,12 @@ static void configure_pin_iomux(uint8_t gpio_num)
575575
gpio_pulldown_dis(gpio_num);
576576
gpio_input_enable(gpio_num);
577577
gpio_iomux_output(gpio_num, SDMMC_LL_IOMUX_FUNC);
578+
#if !CONFIG_IDF_TARGET_ESP32
579+
/**
580+
* On ESP32, the default pin drive value (2) works
581+
*/
578582
gpio_set_drive_capability(gpio_num, 3);
583+
#endif
579584
}
580585

581586
static void configure_pin_gpio_matrix(uint8_t gpio_num, uint8_t gpio_matrix_sig, gpio_mode_t mode, const char *name)

0 commit comments

Comments
 (0)