Unify spi_master headers (#24857)
* Move default config to .c file * Explicitly define PAL modes for boards with custom init * Unify spi_master headers
This commit is contained in:
		
							parent
							
								
									0747f887d6
								
							
						
					
					
						commit
						ee63d39058
					
				
					 12 changed files with 183 additions and 175 deletions
				
			
		| 
						 | 
				
			
			@ -22,8 +22,11 @@
 | 
			
		|||
/* SPI Config for LED Driver */
 | 
			
		||||
#define SPI_DRIVER SPIDQ
 | 
			
		||||
#define SPI_SCK_PIN A5
 | 
			
		||||
#define SPI_SCK_PAL_MODE 5
 | 
			
		||||
#define SPI_MOSI_PIN A7
 | 
			
		||||
#define SPI_MOSI_PAL_MODE 5
 | 
			
		||||
#define SPI_MISO_PIN A6
 | 
			
		||||
#define SPI_MISO_PAL_MODE 5
 | 
			
		||||
 | 
			
		||||
#define AW20216S_CS_PIN_1 A15
 | 
			
		||||
#define AW20216S_CS_PIN_2 B15
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue