projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add clear hook. Refactor.
[bertos.git]
/
app
/
triface
/
triface.mk
diff --git
a/app/triface/triface.mk
b/app/triface/triface.mk
old mode 100755
(executable)
new mode 100644
(file)
index
990a68e
..
245df81
--- a/
app/triface/triface.mk
+++ b/
app/triface/triface.mk
@@
-3,39
+3,54
@@
# Copyright 2006 Develer S.r.l. (http://www.develer.com/)
# All rights reserved.
#
# Copyright 2006 Develer S.r.l. (http://www.develer.com/)
# All rights reserved.
#
-# Makefile fragment for DevLib
demo
application.
+# Makefile fragment for DevLib
triface
application.
#
# Author: Bernardo Innocenti <bernie@develer.com>
#
#
# Author: Bernardo Innocenti <bernie@develer.com>
#
-# $Log$
-# Revision 1.1 2006/05/18 00:41:47 bernie
-# New triface devlib application.
-#
#
# Set to 1 for debug builds
#
# Set to 1 for debug builds
-
demo
_DEBUG = 1
+
triface
_DEBUG = 1
# Our target application
TRG += triface
# Our target application
TRG += triface
+triface_hfuse = 0x88
+triface_lfuse = 0xff
+triface_efuse = 0xff
+triface_lock = 0x2f
triface_CSRC = \
app/triface/triface.c \
triface_CSRC = \
app/triface/triface.c \
+ app/triface/protocol.c \
+ app/triface/hw/hw_adc.c \
drv/timer.c \
drv/ser.c \
drv/timer.c \
drv/ser.c \
- drv/ser_avr.c \
+ cpu/avr/drv/ser_avr.c \
+ cpu/avr/drv/sipo.c \
mware/formatwr.c \
mware/hex.c \
mware/formatwr.c \
mware/hex.c \
+ mware/hashtable.c \
+ mware/readline.c \
+ mware/parser.c \
+ mware/event.c \
+ kern/kfile.c \
+ net/keytag.c \
+ drv/buzzer.c \
+ #
+
+triface_PCSRC += mware/formatwr.c
+
-# drv/buzzer.c
+triface_CFLAGS = -O2 -D'ARCH=0' -fno-strict-aliasing -Iapp/triface -Iapp/triface/hw -Icpu/avr
+triface_LDFLAGS = -Wl
-triface_
CFLAGS = -Os -D'ARCH=0' -Iapp/triface/hw -Iapp/triface
-triface_
MCU = atmega128
+triface_
MCU = atmega64
+triface_
CROSS = avr-
# Debug stuff
ifeq ($(triface_DEBUG),1)
triface_CFLAGS += -D_DEBUG
# Debug stuff
ifeq ($(triface_DEBUG),1)
triface_CFLAGS += -D_DEBUG
-
#
triface_PCSRC += drv/kdebug.c
+
triface_PCSRC += drv/kdebug.c
endif
endif