working prototype

This commit is contained in:
2020-08-30 05:20:18 +02:00
parent 3056c3fd11
commit 31c1e30b67
4 changed files with 72 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
TARGET = main.elf
FILES = main fifo uart yaMBSiavr
FILES = main yaMBSiavr
MCU = atxmega32a4
PROGC = x32a4
CC = avr-gcc
@@ -7,7 +7,7 @@ TOOL = atmelice_pdi
BUILDDIR = build
DEFINES = -DF_CPU=32000000UL
DEFINES = -DF_CPU=32000000UL -DBOARDTYPE=9ch_pt100
CFLAGS =-mmcu=$(MCU) -O2 -Wall $(DEFINES) -std=c99 -ffunction-sections -fdata-sections
LDFLAGS =-mmcu=$(MCU) -Wl,--gc-sections