Configure SPI for QMK_PM2040 board (#25481)
This commit is contained in:
parent
d67e94fb1b
commit
5ef94415aa
1 changed files with 16 additions and 0 deletions
|
|
@ -17,6 +17,22 @@
|
||||||
# define I2C1_SCL_PIN D0
|
# define I2C1_SCL_PIN D0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**======================
|
||||||
|
** SPI Driver
|
||||||
|
*========================**/
|
||||||
|
#ifndef SPI_DRIVER
|
||||||
|
# define SPI_DRIVER SPID0
|
||||||
|
#endif
|
||||||
|
#ifndef SPI_SCK_PIN
|
||||||
|
# define SPI_SCK_PIN B1
|
||||||
|
#endif
|
||||||
|
#ifndef SPI_MISO_PIN
|
||||||
|
# define SPI_MISO_PIN B3
|
||||||
|
#endif
|
||||||
|
#ifndef SPI_MOSI_PIN
|
||||||
|
# define SPI_MOSI_PIN B2
|
||||||
|
#endif
|
||||||
|
|
||||||
/**======================
|
/**======================
|
||||||
** UART Driver
|
** UART Driver
|
||||||
*========================**/
|
*========================**/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue