674fd0e80c6d62c41ffd74f6064087bf0b4f6274
[bertos.git] / boards / triface / examples / triface / triface.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the triface_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 triface_DEBUG = 1
8
9 # Our target application
10 TRG += triface
11
12 triface_PREFIX = "avr-"
13
14 triface_SUFFIX = ""
15
16 triface_SRC_PATH = boards/triface/examples/triface
17
18 triface_HW_PATH = boards/triface
19
20 ifeq ($(CPU), atmega1281)
21         triface_hfuse = 0x98
22         triface_lfuse = 0x3d
23         triface_efuse = 0x7f
24         triface_lock = 0x2f
25 else
26         triface_hfuse = 0x88
27         triface_lfuse = 0xff
28         triface_efuse = 0xff
29         triface_lock = 0x2f
30 endif
31
32
33 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CSRC INSTEAD!
34 triface_WIZARD_CSRC = \
35         bertos/io/kfile.c \
36         bertos/mware/readline.c \
37         bertos/mware/event.c \
38         bertos/net/keytag.c \
39         bertos/drv/sipo.c \
40         bertos/cpu/avr/drv/adc_avr.c \
41         bertos/struct/hashtable.c \
42         bertos/mware/formatwr.c \
43         bertos/mware/sprintf.c \
44         bertos/drv/buzzer.c \
45         bertos/drv/adc.c \
46         bertos/drv/timer.c \
47         bertos/cpu/avr/drv/timer_avr.c \
48         bertos/mware/parser.c \
49         bertos/cpu/avr/drv/ser_avr.c \
50         bertos/drv/ser.c \
51         bertos/mware/hex.c \
52         #
53
54 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_PCSRC INSTEAD!
55 triface_WIZARD_PCSRC = \
56         bertos/mware/sprintf.c \
57         bertos/mware/formatwr.c \
58         #
59
60 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CPPASRC INSTEAD!
61 triface_WIZARD_CPPASRC = \
62          \
63         #
64
65 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CXXSRC INSTEAD!
66 triface_WIZARD_CXXSRC = \
67          \
68         #
69
70 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_ASRC INSTEAD!
71 triface_WIZARD_ASRC = \
72          \
73         #
74
75 triface_CPPFLAGS = -D'CPU_FREQ=(14745600UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(triface_HW_PATH) -I$(triface_SRC_PATH) $(triface_CPU_CPPFLAGS) $(triface_USER_CPPFLAGS)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 triface_LDFLAGS = $(triface_CPU_LDFLAGS) $(triface_WIZARD_LDFLAGS) $(triface_USER_LDFLAGS)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 triface_CPPAFLAGS = $(triface_CPU_CPPAFLAGS) $(triface_WIZARD_CPPAFLAGS) $(triface_USER_CPPAFLAGS)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 triface_CSRC = $(triface_CPU_CSRC) $(triface_WIZARD_CSRC) $(triface_USER_CSRC)
85
86 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
87 triface_PCSRC = $(triface_CPU_PCSRC) $(triface_WIZARD_PCSRC) $(triface_USER_PCSRC)
88
89 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
90 triface_CPPASRC = $(triface_CPU_CPPASRC) $(triface_WIZARD_CPPASRC) $(triface_USER_CPPASRC)
91
92 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
93 triface_CXXSRC = $(triface_CPU_CXXSRC) $(triface_WIZARD_CXXSRC) $(triface_USER_CXXSRC)
94
95 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
96 triface_ASRC = $(triface_CPU_ASRC) $(triface_WIZARD_ASRC) $(triface_USER_ASRC)
97
98 # CPU specific flags and options, defined in the CPU definition files.
99 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
100 triface_MCU = atmega1281
101 triface_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
102 triface_PROGRAMMER_CPU = atmega1281
103 triface_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
104 triface_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
105 triface_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
106 triface_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
107
108 include $(triface_SRC_PATH)/triface_user.mk