Browse Source

Configure SPI for `QMK_BLOK` board (#25487)

Jack Sangdahl 1 year ago
parent
commit
f797d4f49d
1 changed files with 17 additions and 0 deletions
  1. 17 0
      platforms/chibios/boards/QMK_BLOK/configs/config.h

+ 17 - 0
platforms/chibios/boards/QMK_BLOK/configs/config.h

@@ -17,6 +17,23 @@
 #    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
  *========================**/
  *========================**/