Add i2c defaults for Convert to Proton C (#14470)
* Add i2c defaults for Convert to Proton C * Hide default defines behing CTPC check
This commit is contained in:
		
							parent
							
								
									23bdcb119d
								
							
						
					
					
						commit
						c060ab4e64
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -18,3 +18,12 @@
 | 
			
		|||
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP
 | 
			
		||||
#    define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef CONVERT_TO_PROTON_C
 | 
			
		||||
#    ifndef I2C1_SDA_PIN
 | 
			
		||||
#        define I2C1_SDA_PIN D1
 | 
			
		||||
#    endif
 | 
			
		||||
#    ifndef I2C1_SCL_PIN
 | 
			
		||||
#        define I2C1_SCL_PIN D0
 | 
			
		||||
#    endif
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue