I've tried a bunch of different ways and I usually can't upload the program. I've tracked it down to one thing - when TDO is connected to GPIO15 it fails to upload but it uploads if GPIO15 is not connected. I've tried so many things I can't remember all the different results. Can someone help me to reset by giving me so clues of what I should be doing?
One approach I've tried is to isolate GPIO15 from other things. In the platformio.ini file, TFT_CS is set to 15. If I comment that out, the screen would not light up. If I set it to -1, the screen lights up when TDO was not connected, but I couldn't upload if it was connected.
Thanks in advance.