BlinkenArea - GitList
Repositories
Blog
Wiki
olympus_trigger
Code
Commits
Branches
Tags
Search
Tree:
a149600
Branches
Tags
master
olympus_trigger
time_trigger
firmware
Makefile
initial checkin of Olympus trigger tools
Stefan Schuermans
commited
a149600
at 2013-10-26 20:14:19
Makefile
Blame
History
Raw
# time trigger for Olympus camera # Copyright (C) 2013 Stefan Schuermans <stefan@blinkenarea.org> # Copyleft: GNU public license - http://www.gnu.org/copyleft/gpl.html # a BlinkenArea project - http://www.blinkenarea.org/ NAME = time_trigger DEVICE = m8 INC = m8def LFUSE = 0xE1 HFUSE = 0xD9 LOCK = 0xC0 PROGRAMMER = avrisp2 PROGRAMMER_PORT = usb #PROGRAMMER = stk200 #PROGRAMMER_PORT = /dev/parport0 BLINKENCONV = BlinkenConv AVRA = avra AVRDUDE = avrdude AVRDUDE_CALL = $(AVRDUDE) -c $(PROGRAMMER) -P $(PROGRAMMER_PORT) -p $(DEVICE) DATE = $(shell date +%Y-%m-%d) YEAR = $(shell date +%Y) PACKFILES = $(NAME).asm m8def.inc bml2inc.pl sig2inc.pl default.bml ChangeLog Makefile FIRMWARE = $(NAME)-firmware-$(VER)_$(DATE) PROG = $(NAME)-prog-$(VER)_$(DATE) .PHONY: all prog prog_fuses prog clean .SUFFIXES: .SECONDARY: all: $(NAME).hex $(NAME).hex: $(NAME).asm 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 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 clean: rm -f $(addprefix $(NAME)., lst obj cof hex eep.hex)