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

This commit is contained in:
Nick Brassel authored and GitHub committed 2020-04-29 14:01:20 +10:00
1 parent 5b4870c046
commit b17482c3fd
5 files changed
+235 -3

No files matched your search

+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