From df3be3b3cb0ef947e58cd6b7f38f8ba3ac9fffae Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 17 Jun 2025 08:38:42 +0800 Subject: Run at 3v3/8MHz. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 883a3cf..8f22e14 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ CFLAGS += -Os CFLAGS += -Wall CFLAGS += -mmcu=$(MCU) CFLAGS += -DBAUD=57600 -CFLAGS += -DF_CPU=16000000UL +CFLAGS += -DF_CPU=8000000UL CFLAGS += -DFPM_PWD=$(FPM_PWD) CFLAGS += -ffunction-sections -fdata-sections @@ -24,6 +24,7 @@ HEX_FLAGS += -j .text -j .data AVRDUDE_FLAGS = -p $(MCU) AVRDUDE_FLAGS += -c arduino AVRDUDE_FLAGS += -P $(PORT) +AVRDUDE_FLAGS += -b 57600 AVRDUDE_FLAGS += -D -U %.o: %.c -- cgit v1.2.3