summaryrefslogtreecommitdiff
path: root/quantum/stm32
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-04-29 14:01:20 +1000
committerFlorian Didron <fdidron@users.noreply.github.com>2020-06-12 17:00:27 +0900
commit204887d1e44fe411453fc96344be94738be395ca (patch)
treec6e0e57c7cc28f1b1df9af3f2a7682c50c5a1846 /quantum/stm32
parentd26a9a7a2272b00a83d8ca6e6cf9044315babb5e (diff)
Add SPI master for ChibiOS/ARM. (#8779)
Diffstat (limited to 'quantum/stm32')
-rw-r--r--quantum/stm32/halconf.h2
-rw-r--r--quantum/stm32/mcuconf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/quantum/stm32/halconf.h b/quantum/stm32/halconf.h
index 106f0f5755..533803a25f 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 ca4ad7b515..71994a98e0 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