aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2020-04-29 14:01:20 +1000
committerGitHub <noreply@github.com>2020-04-29 14:01:20 +1000
commitb17482c3fdca11788c0863465ed4a7e56a13d0f5 (patch)
tree83a36cc8f2a755dcbc2821fceea4d11e84501f28 /quantum
parent5b4870c046fa81b5574904cd21e2d13da41cf2e4 (diff)
downloadfirmware-b17482c3fdca11788c0863465ed4a7e56a13d0f5.tar.gz
firmware-b17482c3fdca11788c0863465ed4a7e56a13d0f5.tar.bz2
firmware-b17482c3fdca11788c0863465ed4a7e56a13d0f5.zip
Add SPI master for ChibiOS/ARM. (#8779)
Diffstat (limited to 'quantum')
-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 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