Define default SPI pins on kb2040

Fixes #5875
This commit is contained in:
Neradoc 2022-01-17 06:52:08 +01:00 committed by GitHub
parent 9b32d549f0
commit 784a5edc4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,3 +8,7 @@
#define DEFAULT_UART_BUS_TX (&pin_GPIO0) #define DEFAULT_UART_BUS_TX (&pin_GPIO0)
#define DEFAULT_UART_BUS_RX (&pin_GPIO1) #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)