Skip to content

Commit 18be926

Browse files
committed
add QSPI pins to Lilygo T-Echo
1 parent 8462393 commit 18be926

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

variants/lilygo_techo/variant.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@
5858
#define PIN_SPI_SCK (19)
5959
#define PIN_SPI_NSS (24)
6060

61+
////////////////////////////////////////////////////////////////////////////////
62+
// QSPI FLASH
63+
64+
#define PIN_QSPI_SCK (46)
65+
#define PIN_QSPI_CS (47)
66+
#define PIN_QSPI_IO0 (44)
67+
#define PIN_QSPI_IO1 (45)
68+
#define PIN_QSPI_IO2 (7)
69+
#define PIN_QSPI_IO3 (5)
70+
71+
#define EXTERNAL_FLASH_DEVICES ZD25WQ16BUIGR
72+
#define EXTERNAL_FLASH_USE_QSPI
73+
6174
////////////////////////////////////////////////////////////////////////////////
6275
// Builtin LEDs
6376

0 commit comments

Comments
 (0)