SparkFun IoT RedBoard - ESP32 resource conflict between MicroSD and WIFI

I’m trying to combine a MicroSD program with a WIFI server program.

The WIFI server program is one I found online and works perfectly. I can login to

the RedBoard and toggle the blue LED with my phone.

When I add in the standard SD program I can no longer toggle the LED.

I’ve removed all the SD software except for sd.begin(5, SD_SCK_MHZ(32));

If I comment out sd.begin the wifi program works.

Either there is a hardware conflict using both at the same time or the one processor can’t handle both tasks

If its a software problem do you think moving the wifi program to the second core would fix the problem?

If its a hardware problem what could be causing it?

Kindly check if the SD card-related pins (SCK,MISO,MOSI,CS) are being used in your wifi server code. You may have to look inside the libraries that you’re using.

I can see someone else faced a similar kind of problem here: https://forum.arduino.cc/t/problem-with … ard/143770