Skip to content

Commit 7a3bcf7

Browse files
authored
Merge pull request #5876 from Neradoc/patch-2
Define default SPI pins on kb2040
2 parents 9b32d54 + 784a5ed commit 7a3bcf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/raspberrypi/boards/adafruit_kb2040/mpconfigboard.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@
88

99
#define DEFAULT_UART_BUS_TX (&pin_GPIO0)
1010
#define DEFAULT_UART_BUS_RX (&pin_GPIO1)
11+
12+
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)
13+
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)
14+
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)

0 commit comments

Comments
 (0)