to github
[svn42.git] / rf433rcv / teensy / Makefile
index cf36fbd..ee652f7 100644 (file)
@@ -46,8 +46,7 @@ TARGET = example
 
 # List C source files here. (C dependencies are automatically generated.)
 SRC =  $(TARGET).c \
-       usb_rawhid.c \
-       analog.c
+       usb_rawhid.c
 
 
 # MCU name, you MUST set this to match the board you are using
@@ -444,8 +443,8 @@ gccversion :
 
 # Program the device.  
 program: $(TARGET).hex $(TARGET).eep
-       echo -n r | ../pc/rawhid_test
-       ~/teensy_loader_cli/teensy_loader_cli -mmcu=atmega32u4 -w $(TARGET).hex
+       ../pc/reset || true
+       ~/realraum/teensy/teensy_loader_cli/teensy_loader_cli -mmcu=atmega32u4 -w $(TARGET).hex
 
 
 # Generate avr-gdb config/init file which does the following: