add rule shortcut via @samwho's suggesion
This commit is contained in:
		
							parent
							
								
									677b89768b
								
							
						
					
					
						commit
						ba2ad57ca8
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -167,10 +167,8 @@ bin: $(BUILD_DIR)/$(TARGET).hex
 | 
			
		|||
	$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
 | 
			
		||||
	$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
 | 
			
		||||
 | 
			
		||||
# Convert hex to bin.
 | 
			
		||||
flashbin: $(BUILD_DIR)/$(TARGET).hex
 | 
			
		||||
	$(OBJCOPY) -Iihex -Obinary $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
 | 
			
		||||
	$(COPY) $(BUILD_DIR)/$(TARGET).bin $(TARGET).bin;
 | 
			
		||||
# copy bin to FLASH.bin
 | 
			
		||||
flashbin: bin
 | 
			
		||||
	$(COPY) $(BUILD_DIR)/$(TARGET).bin FLASH.bin; 
 | 
			
		||||
 | 
			
		||||
# Generate avr-gdb config/init file which does the following:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue