mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 20:56:37 +00:00
Set integrated SPI flash pins as system pins
This commit is contained in:
parent
309a06186b
commit
806232b69f
@ -463,13 +463,14 @@ bool gpioIsSystemPin(uint8_t gpio)
|
||||
// Tasmota Slave GPIOs
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
if((gpio >= 6) && (gpio <= 11)) return true; // integrated SPI flash
|
||||
if(psramFound()) {
|
||||
if((gpio == 16) || (gpio == 17)) return true; // PSRAM
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP8266
|
||||
if((gpio >= 6) && (gpio <= 11)) return true; // VSPI
|
||||
if((gpio >= 6) && (gpio <= 11)) return true; // integrated SPI flash
|
||||
#ifndef TFT_SPI_OVERLAP
|
||||
if((gpio >= 12) && (gpio <= 14)) return true; // HSPI
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user