Add SPI master for ChibiOS/ARM. (#8779)
This commit is contained in:
		
							parent
							
								
									5b4870c046
								
							
						
					
					
						commit
						b17482c3fd
					
				
					 5 changed files with 235 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue