diff options
| author | Jack Sangdahl | 2025-07-13 17:59:44 +0200 |
|---|---|---|
| committer | GitHub | 2025-07-13 17:59:44 +0200 |
| commit | f797d4f49d38d9538f6072048b1dfd2f981696f0 (patch) | |
| tree | 5cbe212bf04198ccd0056152b2b713891b11c83d | |
| parent | ad4233d07849ad96096fb84d01b0ed3200030b09 (diff) | |
Configure SPI for `QMK_BLOK` board (#25487)
| -rw-r--r-- | platforms/chibios/boards/QMK_BLOK/configs/config.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/platforms/chibios/boards/QMK_BLOK/configs/config.h b/platforms/chibios/boards/QMK_BLOK/configs/config.h index 834dc497d3..26fe7cddc7 100644 --- a/platforms/chibios/boards/QMK_BLOK/configs/config.h +++ b/platforms/chibios/boards/QMK_BLOK/configs/config.h @@ -18,6 +18,23 @@ #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 *========================**/ |