diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-04-24 09:36:51 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-04-24 09:36:51 +0800 |
| commit | 4bd8f90cb08f15403125fdeef175a3800b9dabd5 (patch) | |
| tree | 00d81680fc133998c916a2b1431c3ec90099e0af /lock/Fend.Makefile | |
| parent | 46454fc1b4194d34a40b87be4c0bb526c06fd15a (diff) | |
| download | smart-home-4bd8f90cb08f15403125fdeef175a3800b9dabd5.tar.gz | |
Fix recv index bug.
Diffstat (limited to 'lock/Fend.Makefile')
| -rw-r--r-- | lock/Fend.Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lock/Fend.Makefile b/lock/Fend.Makefile index a525854..e478e47 100644 --- a/lock/Fend.Makefile +++ b/lock/Fend.Makefile @@ -1,5 +1,6 @@ CC = avr-gcc MCU = atmega328p +PORT = /dev/cuaU1 TARGET = fend SRC = fend.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 |
