diff options
| author | Jack Sangdahl | 2025-07-13 18:00:10 +0200 |
|---|---|---|
| committer | GitHub | 2025-07-13 18:00:10 +0200 |
| commit | 5ef94415aabb88d53596483134f91036555ba082 (patch) | |
| tree | 3606c81b08edbdb25a411218477192d6a0fe47f4 /platforms | |
| parent | d67e94fb1b3f4e6d57b211983f8527571bdcb816 (diff) | |
Configure SPI for `QMK_PM2040` board (#25481)
Diffstat (limited to 'platforms')
| -rw-r--r-- | platforms/chibios/boards/QMK_PM2040/configs/config.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/platforms/chibios/boards/QMK_PM2040/configs/config.h b/platforms/chibios/boards/QMK_PM2040/configs/config.h index f8b46b7fe4..5ba030a556 100644 --- a/platforms/chibios/boards/QMK_PM2040/configs/config.h +++ b/platforms/chibios/boards/QMK_PM2040/configs/config.h @@ -18,6 +18,22 @@ #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 *========================**/ |