Skip to content

Commit

Permalink
Merge pull request #5876 from Neradoc/patch-2
Browse files Browse the repository at this point in the history
Define default SPI pins on kb2040
  • Loading branch information
dhalbert authored Jan 17, 2022
2 parents 9b32d54 + 784a5ed commit 7a3bcf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/raspberrypi/boards/adafruit_kb2040/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@

#define DEFAULT_UART_BUS_TX (&pin_GPIO0)
#define DEFAULT_UART_BUS_RX (&pin_GPIO1)

#define DEFAULT_SPI_BUS_SCK (&pin_GPIO18)
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO19)
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO20)

0 comments on commit 7a3bcf7

Please sign in to comment.