mirror of
				https://github.com/Klipper3d/klipper.git
				synced 2025-10-31 18:36:09 +01:00 
			
		
		
		
	The sam3 i2c code and the linux code use a 7-bit i2c address, while the avr, lpc176x, and samd21 i2c code uses an 8-bit address with the least significant bit always zero. A similar issue occurred in the host code (sx1509.py and replicape.py use 7-bit addresses while uc1701.py and mcp4451.py use 8-bit addresses). Consistently use 7-bit addresses in all the code. This breaks compatibility between host and mcu software, so make a change to the config_i2c command to force users to synchronize software updates. This also breaks common Smoothieboard configs, so update the mcp4451 code to validate the i2c_address. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
		
			
				
	
	
		
			15 lines
		
	
	
		
			487 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			487 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| This document covers recent software changes to the config file that
 | |
| are not backwards compatible. It is a good idea to review this
 | |
| document when upgrading the Klipper software.
 | |
| 
 | |
| All dates in this document are approximate.
 | |
| 
 | |
| # Changes
 | |
| 
 | |
| 20190107: The i2c_address parameter in the mcp4451 config section
 | |
| changed. This is a common setting on Smoothieboards. The new value is
 | |
| half the old value (88 should be changed to 44, and 90 should be
 | |
| changed to 45).
 | |
| 
 | |
| 20181220: Klipper v0.7.0 released
 |