summaryrefslogtreecommitdiffstats
path: root/rf_test/Send.Makefile
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-11-24 20:16:23 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-11-24 20:16:23 +0800
commita5236a7ca09d634b26fd1745cbde844b0a8198e1 (patch)
tree2b291e46bceda3eb1a48f2a6501a5b9ffed183f0 /rf_test/Send.Makefile
parentd4ff43c1793e7025a70b2e0b4afeb53c32ad9361 (diff)
downloadsmart-home-a5236a7ca09d634b26fd1745cbde844b0a8198e1.tar.gz
Enable serial.
Diffstat (limited to 'rf_test/Send.Makefile')
-rw-r--r--rf_test/Send.Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/rf_test/Send.Makefile b/rf_test/Send.Makefile
index c8c6b15..3fa9329 100644
--- a/rf_test/Send.Makefile
+++ b/rf_test/Send.Makefile
@@ -2,13 +2,14 @@ CC = avr-gcc
MCU = atmega328p
TARGET = send
-SRC = rfm.c send.c
+SRC = rfm.c send.c serial.c
OBJ = $(SRC:.c=.o)
CFLAGS = -std=gnu99
CFLAGS += -Os
CFLAGS += -Wall
CFLAGS += -mmcu=$(MCU)
+CFLAGS += -DF_BAUD=115200
CFLAGS += -DF_CPU=16000000UL
CFLAGS += -ffunction-sections -fdata-sections