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