first version with sending
[svn42.git] / rf433rcv / teensy / Makefile
index edf9f8a..cf36fbd 100644 (file)
@@ -444,7 +444,8 @@ gccversion :
 
 # Program the device.  
 program: $(TARGET).hex $(TARGET).eep
-       $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
+       echo -n r | ../pc/rawhid_test
+       ~/teensy_loader_cli/teensy_loader_cli -mmcu=atmega32u4 -w $(TARGET).hex
 
 
 # Generate avr-gdb config/init file which does the following: