Skip to content

Commit

Permalink
Define default SPI pins on kb2040
Browse files Browse the repository at this point in the history
Fixes #5875
  • Loading branch information
Neradoc authored Jan 17, 2022
1 parent 9b32d54 commit 784a5ed
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 784a5ed

Please sign in to comment.