summaryrefslogtreecommitdiff
path: root/avr/Tupfile
diff options
context:
space:
mode:
authorLeo C2014-08-12 12:35:28 +0200
committerLeo C2014-08-12 12:35:28 +0200
commitd684c21619905153eff68c43927207248925f6c2 (patch)
treec4bfb04a20512679103c6ad39fd9885dea6d9e76 /avr/Tupfile
parent9b6b4b31e8cb284ad6a68fe16d458e36bbfb46fa (diff)
downloadz180-stamp-d684c21619905153eff68c43927207248925f6c2.zip
New U-Boot like AVR main program.
Uses U-Boot source code taken from: git://git.denx.de/u-boot.git
Diffstat (limited to 'avr/Tupfile')
-rw-r--r--avr/Tupfile17
1 files changed, 12 insertions, 5 deletions
diff --git a/avr/Tupfile b/avr/Tupfile
index a90b7b5..d90f225 100644
--- a/avr/Tupfile
+++ b/avr/Tupfile
@@ -1,15 +1,22 @@
include_rules
-PROG = z180-stamp-avr
-SRC = z180-stamp-avr.c serial.c z80-if.c
-SRC_Z = ../z180/hdrom.c
+PROG = stamp-bootc
+SRC = bootc.c
+SRC += cli.c cli_readline.c command.c command_tbl.c
+SRC += cmd_help.c cmd_echo.c
+SRC += env.c xmalloc.c
+SRC += timer.c con-utils.c serial.c
+SRC += z80-if.c
+
+#SRC_Z = ../z180/hdrom.c
+
#TARGETS = $(PROG).elf
MCU_TARGET = atmega1281
F_CPU = 18432000UL
DEFS = -DF_CPU=$(F_CPU) -DBAUD=115200UL
-INCLUDES += ../z180
+#INCLUDES += ../z180
###############################################################################
@@ -34,7 +41,7 @@ endif
CFLAGS = -g -Os
CFLAGS += -mmcu=$(MCU_TARGET)
CFLAGS += -std=gnu99
-CFLAGS += -Wall -Wextra -Wimplicit-function-declaration
+CFLAGS += -Wall -Wextra
CFLAGS += -Wredundant-decls
#CFLAGS += -fno-common -ffunction-sections -fdata-sections
#CFLAGS += -I $(INCLUDES)