Update preset.
[bertos.git] / boards / arduino-mega / benchmark / arduino-mega_context_switch / arduino-mega_context_switch.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the arduino-mega_context_switch_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7
8
9 # Our target application
10 TRG += arduino-mega_context_switch
11
12 arduino-mega_context_switch_PREFIX = "/usr/bin/avr-"
13
14 arduino-mega_context_switch_SUFFIX = ""
15
16 arduino-mega_context_switch_SRC_PATH = boards/arduino-mega/benchmark/arduino-mega_context_switch
17
18 arduino-mega_context_switch_HW_PATH = boards/arduino-mega
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino-mega_context_switch_USER_CSRC INSTEAD!
21 arduino-mega_context_switch_WIZARD_CSRC = \
22         bertos/benchmark/context_switch.c \
23         bertos/cpu/avr/drv/ser_avr.c \
24         bertos/cpu/avr/drv/ser_mega.c \
25         bertos/cpu/avr/drv/timer_avr.c \
26         bertos/cpu/avr/drv/timer_mega.c \
27         bertos/drv/ser.c \
28         bertos/drv/timer.c \
29         bertos/io/kfile.c \
30         bertos/kern/proc.c \
31         bertos/kern/signal.c \
32         bertos/mware/event.c \
33         bertos/mware/formatwr.c \
34         bertos/mware/hex.c \
35         bertos/struct/heap.c \
36         #
37
38 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino-mega_context_switch_USER_PCSRC INSTEAD!
39 arduino-mega_context_switch_WIZARD_PCSRC = \
40         bertos/mware/formatwr.c \
41         #
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino-mega_context_switch_USER_CPPASRC INSTEAD!
44 arduino-mega_context_switch_WIZARD_CPPASRC = \
45         bertos/cpu/avr/hw/switch_ctx_avr.S \
46         #
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino-mega_context_switch_USER_CXXSRC INSTEAD!
49 arduino-mega_context_switch_WIZARD_CXXSRC = \
50          \
51         #
52
53 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino-mega_context_switch_USER_ASRC INSTEAD!
54 arduino-mega_context_switch_WIZARD_ASRC = \
55          \
56         #
57
58 arduino-mega_context_switch_CPPFLAGS = -D'CPU_FREQ=(16000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(arduino-mega_context_switch_HW_PATH) -I$(arduino-mega_context_switch_SRC_PATH) $(arduino-mega_context_switch_CPU_CPPFLAGS) $(arduino-mega_context_switch_USER_CPPFLAGS)
59
60 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
61 arduino-mega_context_switch_LDFLAGS = $(arduino-mega_context_switch_CPU_LDFLAGS) $(arduino-mega_context_switch_WIZARD_LDFLAGS) $(arduino-mega_context_switch_USER_LDFLAGS)
62
63 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
64 arduino-mega_context_switch_CPPAFLAGS = $(arduino-mega_context_switch_CPU_CPPAFLAGS) $(arduino-mega_context_switch_WIZARD_CPPAFLAGS) $(arduino-mega_context_switch_USER_CPPAFLAGS)
65
66 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
67 arduino-mega_context_switch_CSRC = $(arduino-mega_context_switch_CPU_CSRC) $(arduino-mega_context_switch_WIZARD_CSRC) $(arduino-mega_context_switch_USER_CSRC)
68
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 arduino-mega_context_switch_PCSRC = $(arduino-mega_context_switch_CPU_PCSRC) $(arduino-mega_context_switch_WIZARD_PCSRC) $(arduino-mega_context_switch_USER_PCSRC)
71
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 arduino-mega_context_switch_CPPASRC = $(arduino-mega_context_switch_CPU_CPPASRC) $(arduino-mega_context_switch_WIZARD_CPPASRC) $(arduino-mega_context_switch_USER_CPPASRC)
74
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 arduino-mega_context_switch_CXXSRC = $(arduino-mega_context_switch_CPU_CXXSRC) $(arduino-mega_context_switch_WIZARD_CXXSRC) $(arduino-mega_context_switch_USER_CXXSRC)
77
78 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
79 arduino-mega_context_switch_ASRC = $(arduino-mega_context_switch_CPU_ASRC) $(arduino-mega_context_switch_WIZARD_ASRC) $(arduino-mega_context_switch_USER_ASRC)
80
81 # CPU specific flags and options, defined in the CPU definition files.
82 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
83 arduino-mega_context_switch_MCU = atmega1280
84 arduino-mega_context_switch_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
85 arduino-mega_context_switch_PROGRAMMER_CPU = atmega1280
86 arduino-mega_context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
87 arduino-mega_context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
88 arduino-mega_context_switch_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
89 arduino-mega_context_switch_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
90
91 include $(arduino-mega_context_switch_SRC_PATH)/arduino-mega_context_switch_user.mk