mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Fix dfu-programmer parameters
This commit is contained in:
		
							parent
							
								
									c412300536
								
							
						
					
					
						commit
						bd24de44b7
					
				@ -440,7 +440,11 @@ flip-ee: $(TARGET).hex $(TARGET).eep
 | 
			
		||||
	$(REMOVE) $(TARGET)eep.hex
 | 
			
		||||
 | 
			
		||||
dfu-ee: $(TARGET).hex $(TARGET).eep
 | 
			
		||||
	dfu-programmer $(MCU) eeprom-flash $(TARGET).eep
 | 
			
		||||
ifneq (, $(findstring 0.7, $(shell dfu-programmer --version 2>&1)))
 | 
			
		||||
	dfu-programmer $(MCU) flash --eeprom $(TARGET).eep
 | 
			
		||||
else
 | 
			
		||||
	dfu-programmer $(MCU) flash-eeprom $(TARGET).eep
 | 
			
		||||
endif
 | 
			
		||||
	dfu-programmer $(MCU) reset
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user