Hello
I want to use on my esp32-gateway board the SD Card and Serial2 on GPIO16 and GPIO4. GPIO4 has not connected anymore to SDCARD.
Serial2 stops working when I added the code for SDCARD(SDMMC_test example) . I believe because of GPIO4
The code for the SD card is working stand alone.
How can I do to make work my system but keep this GPIO4 for Serial2?
You can't have both SD card functionality and GPIO4 work at the same time, so I'd recommed to use another GPIO for UART, ESP32 has some great multiplexing so any GPIO can be any interface.