2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the triface_kernel_user.mk file instead.
6 # Constants automatically defined by the selected modules
7 triface_kernel_DEBUG = 1
9 # Our target application
12 triface_kernel_PREFIX = "/usr/bin/avr-"
14 triface_kernel_SUFFIX = ""
16 triface_kernel_SRC_PATH = boards/triface/templates/triface_kernel
18 triface_kernel_HW_PATH = boards/triface
20 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_kernel_USER_CSRC INSTEAD!
21 triface_kernel_WIZARD_CSRC = \
22 bertos/cpu/avr/drv/ser_avr.c \
23 bertos/cpu/avr/drv/ser_mega.c \
24 bertos/cpu/avr/drv/timer_avr.c \
25 bertos/cpu/avr/drv/timer_mega.c \
29 bertos/kern/monitor.c \
32 bertos/kern/signal.c \
33 bertos/mware/event.c \
34 bertos/mware/formatwr.c \
36 bertos/struct/heap.c \
39 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_kernel_USER_PCSRC INSTEAD!
40 triface_kernel_WIZARD_PCSRC = \
41 bertos/mware/formatwr.c \
44 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_kernel_USER_CPPASRC INSTEAD!
45 triface_kernel_WIZARD_CPPASRC = \
46 bertos/cpu/avr/hw/switch_ctx_avr.S \
49 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_kernel_USER_CXXSRC INSTEAD!
50 triface_kernel_WIZARD_CXXSRC = \
54 # Files automatically generated by the wizard. DO NOT EDIT, USE triface_kernel_USER_ASRC INSTEAD!
55 triface_kernel_WIZARD_ASRC = \
59 triface_kernel_CPPFLAGS = -D'CPU_FREQ=(14745600UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(triface_kernel_HW_PATH) -I$(triface_kernel_SRC_PATH) $(triface_kernel_CPU_CPPFLAGS) $(triface_kernel_USER_CPPFLAGS)
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 triface_kernel_LDFLAGS = $(triface_kernel_CPU_LDFLAGS) $(triface_kernel_WIZARD_LDFLAGS) $(triface_kernel_USER_LDFLAGS)
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 triface_kernel_CPPAFLAGS = $(triface_kernel_CPU_CPPAFLAGS) $(triface_kernel_WIZARD_CPPAFLAGS) $(triface_kernel_USER_CPPAFLAGS)
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 triface_kernel_CSRC = $(triface_kernel_CPU_CSRC) $(triface_kernel_WIZARD_CSRC) $(triface_kernel_USER_CSRC)
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 triface_kernel_PCSRC = $(triface_kernel_CPU_PCSRC) $(triface_kernel_WIZARD_PCSRC) $(triface_kernel_USER_PCSRC)
73 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
74 triface_kernel_CPPASRC = $(triface_kernel_CPU_CPPASRC) $(triface_kernel_WIZARD_CPPASRC) $(triface_kernel_USER_CPPASRC)
76 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
77 triface_kernel_CXXSRC = $(triface_kernel_CPU_CXXSRC) $(triface_kernel_WIZARD_CXXSRC) $(triface_kernel_USER_CXXSRC)
79 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
80 triface_kernel_ASRC = $(triface_kernel_CPU_ASRC) $(triface_kernel_WIZARD_ASRC) $(triface_kernel_USER_ASRC)
82 # CPU specific flags and options, defined in the CPU definition files.
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 triface_kernel_MCU = atmega1281
85 triface_kernel_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
86 triface_kernel_PROGRAMMER_CPU = atmega1281
87 triface_kernel_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
88 triface_kernel_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
89 triface_kernel_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
90 triface_kernel_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
92 include $(triface_kernel_SRC_PATH)/triface_kernel_user.mk