We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09a2b49 commit 53c3273Copy full SHA for 53c3273
1 file changed
ports/espressif/boards/m5stack_cores3_se/mpconfigboard.h
@@ -19,7 +19,10 @@
19
20
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO36)
21
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO37)
22
-#define DEFAULT_SPI_BUS_MISO (&pin_GPIO35)
+// GPIO35 is shared between the TF card MISO and the TFT D/C signal. The display
23
+// claims it as D/C during board_init(), so board.SPI() must not also claim it.
24
+#define CIRCUITPY_BOARD_SPI (1)
25
+#define CIRCUITPY_BOARD_SPI_PIN {{.clock = DEFAULT_SPI_BUS_SCK, .mosi = DEFAULT_SPI_BUS_MOSI, .miso = NULL}}
26
27
#define DEFAULT_UART_BUS_RX (&pin_GPIO18)
28
#define DEFAULT_UART_BUS_TX (&pin_GPIO17)
0 commit comments