BlinkenArea - GitList
Repositories
Blog
Wiki
olympus_trigger
Code
Commits
Branches
Tags
Search
Tree:
a149600
Branches
Tags
master
olympus_trigger
ir_trigger
firmware
Makefile
initial checkin of Olympus trigger tools
Stefan Schuermans
commited
a149600
at 2013-10-26 20:14:19
Makefile
Blame
History
Raw
NAME = ir_trigger INC = tn2313def LFUSE = 0x9F HFUSE = 0xDF EFUSE = 0xFF LOCK = 0xFC #PROGRAMMER = stk200 #CONNECTION = /dev/parport0 PROGRAMMER = avrisp2 CONNECTION = usb DEVICE = t2313 AVRA = avra AVRDUDE = avrdude AVRDUDE_CALL = $(AVRDUDE) -c $(PROGRAMMER) -P $(CONNECTION) -p $(DEVICE) .PHONY: all prog prog_fuses prog_auto clean .SUFFIXES: all: $(NAME).hex $(NAME).hex: $(NAME).asm $(INC).inc Makefile $(AVRA) -l $(NAME).lst $(NAME).asm prog_fuses: Makefile $(AVRDUDE_CALL) -u -e $(AVRDUDE_CALL) -u -U lfuse:w:$(LFUSE):m -U hfuse:w:$(HFUSE):m \ -U efuse:w:$(EFUSE):m prog: $(NAME).hex Makefile $(AVRDUDE_CALL) -u -e $(AVRDUDE_CALL) -u -U flash:w:$(NAME).hex $(AVRDUDE_CALL) -u -V -U lock:w:$(LOCK):m prog_auto: $(NAME).hex Makefile while ! $(MAKE) prog_fuses || ! $(MAKE) prog; do echo -n; done clean: rm -f $(addprefix $(NAME)., lst obj cof hex eep.hex)