Add SPI master for ChibiOS/ARM. (#8779)

This commit is contained in:
Nick Brassel
2020-04-29 14:01:20 +10:00
committed by Florian Didron
parent d26a9a7a22
commit 204887d1e4
4 changed files with 217 additions and 2 deletions
+1 -1
View File
@@ -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
/**
+1 -1
View File
@@ -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