Add SPI master for ChibiOS/ARM. (#8779)
This commit is contained in:
1 parent
5b4870c046
commit
b17482c3fd
5 files changed
+235
-3
No files matched your search
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user