projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add configurable beep tone
[fw/altos]
/
src
/
micropeak
/
Makefile
diff --git
a/src/micropeak/Makefile
b/src/micropeak/Makefile
index f4c57076c331e588253cbc34b316ce58ddfb619b..6ae3d0be2acb08611b2119bfe611d3b7d659f02d 100644
(file)
--- a/
src/micropeak/Makefile
+++ b/
src/micropeak/Makefile
@@
-8,6
+8,9
@@
vpath make-altitude-pa ../util
include ../avr/Makefile.defs
include ../avr/Makefile.defs
+PUBLISH_DIR=$(HOME)/altusmetrumllc/Binaries
+PUBLISH_FILE=$(PUBLISH_DIR)/$(PROG)-$(VERSION).hex
+
MCU=attiny85
DUDECPUTYPE=t85
#PROGRAMMER=stk500v2 -P usb
MCU=attiny85
DUDECPUTYPE=t85
#PROGRAMMER=stk500v2 -P usb
@@
-98,6
+101,16
@@
clean:
rm -f *.o $(PROG) $(PROG).hex
rm -f ao_product.h
rm -f *.o $(PROG) $(PROG).hex
rm -f ao_product.h
+
+publish: $(PROG).hex
+ cp -a $(PROG).hex $(PUBLISH_FILE)
+
+load-product:
+ $(LOADCMD) $(LOADARG)$(PUBLISH_FILE)
+
+load-product-slow:
+ $(LOADCMD) $(LOADSLOW) $(LOADARG)$(PUBLISH_FILE)
+
../altitude-pa.h: make-altitude-pa
nickle $< > $@
../altitude-pa.h: make-altitude-pa
nickle $< > $@