From a5236a7ca09d634b26fd1745cbde844b0a8198e1 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 24 Nov 2024 20:16:23 +0800 Subject: Enable serial. --- rf_test/Send.Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rf_test/Send.Makefile') 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 -- cgit v1.2.3