mirror of
				https://github.com/halleysfifthinc/Toyota-AVC-LAN
				synced 2025-10-31 10:27:24 +00:00 
			
		
		
		
	Added avr-size rule
This commit is contained in:
		
							parent
							
								
									a1c2b1b6e4
								
							
						
					
					
						commit
						ab4992411f
					
				
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @ -27,10 +27,13 @@ GlobalDef.o: GlobalDef.c GlobalDef.h | ||||
| clean:: | ||||
| 	@rm -f *.o *.hex *.elf | ||||
| 
 | ||||
| .PHONY: upload connect | ||||
| .PHONY: upload connect size | ||||
| 
 | ||||
| upload: sniffer.hex | ||||
| 	avrdude -C/home/allen/Programs/arduino-1.6.5/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/arduino -b57600 -D -Uflash:w:sniffer.hex:i | ||||
| 
 | ||||
| connect: | ||||
| 	@picocom --nolock -b 115200 /dev/arduino ||: | ||||
| 
 | ||||
| size: | ||||
| 	avr-size -C --mcu=atmega328p sniffer.elf | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user