X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=rf433ctl%2FMakefile;fp=rf433ctl%2FMakefile;h=2b06faf478d92bad3fcb6383239a0c23bd8d51da;hb=fcdc69a2cf4e6751fd75f6ed7504d1de114c0eb5;hp=916e3fecaa963a7762e90f68a4d13a681beb6c50;hpb=25c188a6f7e81250f91e224896d6a6d290f04643;p=svn42.git diff --git a/rf433ctl/Makefile b/rf433ctl/Makefile index 916e3fe..2b06faf 100755 --- a/rf433ctl/Makefile +++ b/rf433ctl/Makefile @@ -114,7 +114,8 @@ lss: applet/$(TARGET).lss sym: applet/$(TARGET).sym # Program the device. -upload: applet/$(TARGET).hex +upload: applet/$(TARGET).hex reset_tty + ./reset_tty $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) @@ -207,4 +208,7 @@ depend: >> $(MAKEFILE); \ $(CC) -M -mmcu=$(MCU) $(CDEFS) $(CINCS) $(SRC) $(ASRC) >> $(MAKEFILE) +reset_tty: reset_tty.c + $(CC) -o reset_tty reset_tty.c + .PHONY: all build elf hex eep lss sym program coff extcoff clean depend applet_files sizebefore sizeafter