64e70d935a17bc16ca3dafbd25368dbb504ac1bf
[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 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CSRC INSTEAD!
33 triface_WIZARD_CSRC = \
34         bertos/cpu/avr/drv/adc_avr.c \
35         bertos/cpu/avr/drv/ser_avr.c \
36         bertos/cpu/avr/drv/ser_mega.c \
37         bertos/cpu/avr/drv/timer_avr.c \
38         bertos/cpu/avr/drv/timer_mega.c \
39         bertos/drv/adc.c \
40         bertos/drv/buzzer.c \
41         bertos/drv/ser.c \
42         bertos/drv/sipo.c \
43         bertos/drv/timer.c \
44         bertos/io/kfile.c \
45         bertos/mware/event.c \
46         bertos/mware/formatwr.c \
47         bertos/mware/hex.c \
48         bertos/mware/parser.c \
49         bertos/mware/readline.c \
50         bertos/mware/sprintf.c \
51         bertos/net/keytag.c \
52         bertos/struct/hashtable.c \
53         #
54
55 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_PCSRC INSTEAD!
56 triface_WIZARD_PCSRC = \
57         bertos/mware/formatwr.c \
58         bertos/mware/sprintf.c \
59         #
60
61 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CPPASRC INSTEAD!
62 triface_WIZARD_CPPASRC = \
63          \
64         #
65
66 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CXXSRC INSTEAD!
67 triface_WIZARD_CXXSRC = \
68          \
69         #
70
71 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_ASRC INSTEAD!
72 triface_WIZARD_ASRC = \
73          \
74         #
75
76 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)
77
78 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
79 triface_LDFLAGS = $(triface_CPU_LDFLAGS) $(triface_WIZARD_LDFLAGS) $(triface_USER_LDFLAGS)
80
81 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
82 triface_CPPAFLAGS = $(triface_CPU_CPPAFLAGS) $(triface_WIZARD_CPPAFLAGS) $(triface_USER_CPPAFLAGS)
83
84 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
85 triface_CSRC = $(triface_CPU_CSRC) $(triface_WIZARD_CSRC) $(triface_USER_CSRC)
86
87 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
88 triface_PCSRC = $(triface_CPU_PCSRC) $(triface_WIZARD_PCSRC) $(triface_USER_PCSRC)
89
90 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
91 triface_CPPASRC = $(triface_CPU_CPPASRC) $(triface_WIZARD_CPPASRC) $(triface_USER_CPPASRC)
92
93 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
94 triface_CXXSRC = $(triface_CPU_CXXSRC) $(triface_WIZARD_CXXSRC) $(triface_USER_CXXSRC)
95
96 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
97 triface_ASRC = $(triface_CPU_ASRC) $(triface_WIZARD_ASRC) $(triface_USER_ASRC)
98
99 # CPU specific flags and options, defined in the CPU definition files.
100 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
101 triface_MCU = atmega1281
102 triface_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
103 triface_PROGRAMMER_CPU = atmega1281
104 triface_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
105 triface_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
106 triface_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
107 triface_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
108
109 include $(triface_SRC_PATH)/triface_user.mk