summaryrefslogtreecommitdiffstats
path: root/lock/Bend.Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lock/Bend.Makefile')
-rw-r--r--lock/Bend.Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lock/Bend.Makefile b/lock/Bend.Makefile
index a88257e..4b5b222 100644
--- a/lock/Bend.Makefile
+++ b/lock/Bend.Makefile
@@ -1,5 +1,6 @@
CC = avr-gcc
MCU = atmega328p
+PORT = /dev/cuaU1
TARGET = bend
SRC = bend.c uart.c nrfm.c util.c
@@ -21,7 +22,7 @@ HEX_FLAGS += -j .text -j .data
AVRDUDE_FLAGS = -p $(MCU)
AVRDUDE_FLAGS += -c arduino
-AVRDUDE_FLAGS += -P /dev/cuaU0
+AVRDUDE_FLAGS += -P $(PORT)
AVRDUDE_FLAGS += -D -U
%.o: %.c