Changing CPU model to 1284
This commit is contained in:
parent
4f940c2648
commit
f6b4a91e71
1 changed files with 2 additions and 2 deletions
4
makefile
4
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
|
||||
|
|
Loading…
Reference in a new issue