Open DarkSpir opened 4 years ago
One thing I noticed during my tests: HSPI uses per default GPIO12 for MISO. If that pin is driven high during boot, the ESP32 drops the flash voltage to 1.8V which in my case prevents me from flashing new software via usb and the Arduino IDE. Temporarely removing the connection from my breadboard fixes the issue. Setting a different GPIO pin for MISO should work, too.
See also: https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection
If no object is passed to the constructor the class behaves as before by using VSPI on ESP32. By passing a SPIClass object that has been initialized for HSPI to the constructor you can use that controller instead.