diff options
author | Nick Brassel <nick@tzarc.org> | 2020-04-29 14:01:20 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 14:01:20 +1000 |
commit | b17482c3fdca11788c0863465ed4a7e56a13d0f5 (patch) | |
tree | 83a36cc8f2a755dcbc2821fceea4d11e84501f28 /quantum/stm32 | |
parent | 5b4870c046fa81b5574904cd21e2d13da41cf2e4 (diff) | |
download | qmk_firmware-b17482c3fdca11788c0863465ed4a7e56a13d0f5.tar.gz |
Add SPI master for ChibiOS/ARM. (#8779)
Diffstat (limited to 'quantum/stm32')
-rw-r--r-- | quantum/stm32/halconf.h | 2 | ||||
-rw-r--r-- | quantum/stm32/mcuconf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/stm32/halconf.h b/quantum/stm32/halconf.h index 106f0f575..533803a25 100644 --- a/quantum/stm32/halconf.h +++ b/quantum/stm32/halconf.h @@ -156,7 +156,7 @@ * @brief Enables the SPI subsystem. */ # if !defined(HAL_USE_SPI) || defined(__DOXYGEN__) -# define HAL_USE_SPI FALSE +# define HAL_USE_SPI TRUE # endif /** diff --git a/quantum/stm32/mcuconf.h b/quantum/stm32/mcuconf.h index ca4ad7b51..71994a98e 100644 --- a/quantum/stm32/mcuconf.h +++ b/quantum/stm32/mcuconf.h @@ -227,7 +227,7 @@ * SPI driver system settings. */ #define STM32_SPI_USE_SPI1 FALSE -#define STM32_SPI_USE_SPI2 FALSE +#define STM32_SPI_USE_SPI2 TRUE #define STM32_SPI_USE_SPI3 FALSE #define STM32_SPI_SPI1_DMA_PRIORITY 1 #define STM32_SPI_SPI2_DMA_PRIORITY 1 |