summaryrefslogtreecommitdiffstats
path: root/Ding.Makefile
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-04-24 10:10:10 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-04-24 10:10:10 +0800
commit5dc7c2d195f7c59a7f25464506a7fd9d01190cc1 (patch)
tree6e83a0eeb131a03cb7bec0284030d7a212e925b3 /Ding.Makefile
parent9bce9c092a47a3a3a9028be858053f17146dad20 (diff)
downloadavr-nrf24l01-driver-5dc7c2d195f7c59a7f25464506a7fd9d01190cc1.tar.gz
wip: tx-rx not working.
Diffstat (limited to 'Ding.Makefile')
-rw-r--r--Ding.Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ding.Makefile b/Ding.Makefile
index 6d6801a..d4b7e33 100644
--- a/Ding.Makefile
+++ b/Ding.Makefile
@@ -1,5 +1,6 @@
CC = avr-gcc
MCU = atmega328p
+PORT = /dev/cuaU0
TARGET = ding
SRC = ding.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