From f6b4a91e7197a6283383889d7e89f857b11fcf1b Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Tue, 19 Mar 2024 10:12:30 +0100 Subject: [PATCH] Changing CPU model to 1284 --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 83c90f7..ffcc0d0 100644 --- a/makefile +++ b/makefile @@ -5,8 +5,8 @@ CC = avr-gcc PROGRAMMER = usbasp # MCU -MCU = atmega328p -QEMU_MACHINE_NAME = uno +MCU = atmega1284p +QEMU_MACHINE_NAME = mega # Compiler flags CFLAGS = -std=c2x -Wall -Wno-array-bounds -mmcu=$(MCU) -DF_CPU=16000000UL -O3