Bläddra i källkod

add QSPI pins to Lilygo T-Echo

taco 11 månader sedan
förälder
incheckning
18be92615b
1 ändrade filer med 13 tillägg och 0 borttagningar
  1. 13 0
      variants/lilygo_techo/variant.h

+ 13 - 0
variants/lilygo_techo/variant.h

@@ -58,6 +58,19 @@
 #define PIN_SPI_SCK             (19)
 #define PIN_SPI_NSS             (24)
 
+////////////////////////////////////////////////////////////////////////////////
+// QSPI FLASH
+
+#define PIN_QSPI_SCK            (46)
+#define PIN_QSPI_CS             (47)
+#define PIN_QSPI_IO0            (44)
+#define PIN_QSPI_IO1            (45)
+#define PIN_QSPI_IO2            (7)
+#define PIN_QSPI_IO3            (5)
+
+#define EXTERNAL_FLASH_DEVICES ZD25WQ16BUIGR
+#define EXTERNAL_FLASH_USE_QSPI
+
 ////////////////////////////////////////////////////////////////////////////////
 // Builtin LEDs