瀏覽代碼

add QSPI pins to Lilygo T-Echo

taco 11 月之前
父節點
當前提交
18be92615b
共有 1 個文件被更改,包括 13 次插入0 次删除
  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