Update planned FREQ, ARCH, MCU and fix superfluous whitespace
This commit is contained in:
6
Makefile
6
Makefile
@@ -18,9 +18,11 @@ ELFFILE := $(BINDIR)/core.elf
|
||||
LOGFILE := $(BINDIR)/core.log
|
||||
|
||||
VERBOSE := false
|
||||
#ARCH := m1284p
|
||||
ARCH := m32
|
||||
#FREQ := 7372800UL
|
||||
#FREQ := 18432000UL
|
||||
FREQ := 8000000UL
|
||||
#MCU := atmega1284p
|
||||
MCU := atmega32a
|
||||
ASP := usbasp
|
||||
CC := avr-gcc
|
||||
@@ -34,7 +36,7 @@ CPPFLAGS := -DF_CPU=$(FREQ) -I$(SRCDIR)
|
||||
CFLAGS := -mmcu=$(MCU) -Os -std=c99 -Wall -Wextra -Werror
|
||||
OCFLAGS := -j .text -j .data -O ihex
|
||||
LDFLAGS := -mmcu=$(MCU) -Wl,-u,vfprintf -lprintf_flt
|
||||
LDLIBS :=
|
||||
LDLIBS := -lm
|
||||
|
||||
# ==============================================================================
|
||||
# TARGET FILE LISTS (DERIVED FROM SOURCE TREE)
|
||||
|
||||
Reference in New Issue
Block a user