2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the triface_user.mk file instead.
6 # Constants automatically defined by the selected modules
9 # Our target application
12 triface_PREFIX = "avr-"
16 triface_SRC_PATH = boards/triface/examples/triface
18 triface_HW_PATH = boards/triface
20 ifeq ($(CPU), atmega1281)
33 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CSRC INSTEAD!
34 triface_WIZARD_CSRC = \
36 bertos/mware/readline.c \
37 bertos/mware/event.c \
40 bertos/cpu/avr/drv/adc_avr.c \
41 bertos/struct/hashtable.c \
42 bertos/mware/formatwr.c \
43 bertos/mware/sprintf.c \
47 bertos/cpu/avr/drv/timer_avr.c \
48 bertos/mware/parser.c \
49 bertos/cpu/avr/drv/ser_avr.c \
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 \
60 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CPPASRC INSTEAD!
61 triface_WIZARD_CPPASRC = \
65 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_CXXSRC INSTEAD!
66 triface_WIZARD_CXXSRC = \
70 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_USER_ASRC INSTEAD!
71 triface_WIZARD_ASRC = \
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)
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 triface_LDFLAGS = $(triface_CPU_LDFLAGS) $(triface_WIZARD_LDFLAGS) $(triface_USER_LDFLAGS)
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 triface_CPPAFLAGS = $(triface_CPU_CPPAFLAGS) $(triface_WIZARD_CPPAFLAGS) $(triface_USER_CPPAFLAGS)
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 triface_CSRC = $(triface_CPU_CSRC) $(triface_WIZARD_CSRC) $(triface_USER_CSRC)
86 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
87 triface_PCSRC = $(triface_CPU_PCSRC) $(triface_WIZARD_PCSRC) $(triface_USER_PCSRC)
89 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
90 triface_CPPASRC = $(triface_CPU_CPPASRC) $(triface_WIZARD_CPPASRC) $(triface_USER_CPPASRC)
92 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
93 triface_CXXSRC = $(triface_CPU_CXXSRC) $(triface_WIZARD_CXXSRC) $(triface_USER_CXXSRC)
95 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
96 triface_ASRC = $(triface_CPU_ASRC) $(triface_WIZARD_ASRC) $(triface_USER_ASRC)
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
108 include $(triface_SRC_PATH)/triface_user.mk