diff options
| author | Jack Sangdahl <jack@pngu.org> | 2025-07-13 09:59:44 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-13 16:59:44 +0100 |
| commit | f797d4f49d38d9538f6072048b1dfd2f981696f0 (patch) | |
| tree | 5cbe212bf04198ccd0056152b2b713891b11c83d /platforms | |
| parent | ad4233d07849ad96096fb84d01b0ed3200030b09 (diff) | |
Configure SPI for `QMK_BLOK` board (#25487)
Diffstat (limited to 'platforms')
| -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 @@ | |||
| 18 | #endif | 18 | #endif |
| 19 | 19 | ||
| 20 | /**====================== | 20 | /**====================== |
| 21 | ** SPI Driver | ||
| 22 | *========================**/ | ||
| 23 | |||
| 24 | #ifndef SPI_DRIVER | ||
| 25 | # define SPI_DRIVER SPID0 | ||
| 26 | #endif | ||
| 27 | #ifndef SPI_SCK_PIN | ||
| 28 | # define SPI_SCK_PIN B1 | ||
| 29 | #endif | ||
| 30 | #ifndef SPI_MISO_PIN | ||
| 31 | # define SPI_MISO_PIN B3 | ||
| 32 | #endif | ||
| 33 | #ifndef SPI_MOSI_PIN | ||
| 34 | # define SPI_MOSI_PIN B2 | ||
| 35 | #endif | ||
| 36 | |||
| 37 | /**====================== | ||
| 21 | ** UART Driver | 38 | ** UART Driver |
| 22 | *========================**/ | 39 | *========================**/ |
| 23 | 40 | ||
