2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the arduino_context_switch_user.mk file instead.
6 # Constants automatically defined by the selected modules
9 # Our target application
10 TRG += arduino_context_switch
12 arduino_context_switch_PREFIX = "avr-"
14 arduino_context_switch_SUFFIX = ""
16 arduino_context_switch_SRC_PATH = boards/arduino/benchmark/arduino_context_switch
18 arduino_context_switch_HW_PATH = boards/arduino
20 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_CSRC INSTEAD!
21 arduino_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 \
31 bertos/kern/signal.c \
32 bertos/mware/event.c \
33 bertos/mware/formatwr.c \
35 bertos/struct/heap.c \
38 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_PCSRC INSTEAD!
39 arduino_context_switch_WIZARD_PCSRC = \
40 bertos/mware/formatwr.c \
43 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_CPPASRC INSTEAD!
44 arduino_context_switch_WIZARD_CPPASRC = \
45 bertos/cpu/avr/hw/switch_ctx_avr.S \
48 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_CXXSRC INSTEAD!
49 arduino_context_switch_WIZARD_CXXSRC = \
53 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_ASRC INSTEAD!
54 arduino_context_switch_WIZARD_ASRC = \
58 arduino_context_switch_CPPFLAGS = -D'CPU_FREQ=(16000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(arduino_context_switch_HW_PATH) -I$(arduino_context_switch_SRC_PATH) $(arduino_context_switch_CPU_CPPFLAGS) $(arduino_context_switch_USER_CPPFLAGS)
60 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
61 arduino_context_switch_LDFLAGS = $(arduino_context_switch_CPU_LDFLAGS) $(arduino_context_switch_WIZARD_LDFLAGS) $(arduino_context_switch_USER_LDFLAGS)
63 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
64 arduino_context_switch_CPPAFLAGS = $(arduino_context_switch_CPU_CPPAFLAGS) $(arduino_context_switch_WIZARD_CPPAFLAGS) $(arduino_context_switch_USER_CPPAFLAGS)
66 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
67 arduino_context_switch_CSRC = $(arduino_context_switch_CPU_CSRC) $(arduino_context_switch_WIZARD_CSRC) $(arduino_context_switch_USER_CSRC)
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 arduino_context_switch_PCSRC = $(arduino_context_switch_CPU_PCSRC) $(arduino_context_switch_WIZARD_PCSRC) $(arduino_context_switch_USER_PCSRC)
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 arduino_context_switch_CPPASRC = $(arduino_context_switch_CPU_CPPASRC) $(arduino_context_switch_WIZARD_CPPASRC) $(arduino_context_switch_USER_CPPASRC)
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 arduino_context_switch_CXXSRC = $(arduino_context_switch_CPU_CXXSRC) $(arduino_context_switch_WIZARD_CXXSRC) $(arduino_context_switch_USER_CXXSRC)
78 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
79 arduino_context_switch_ASRC = $(arduino_context_switch_CPU_ASRC) $(arduino_context_switch_WIZARD_ASRC) $(arduino_context_switch_USER_ASRC)
81 # CPU specific flags and options, defined in the CPU definition files.
82 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
83 arduino_context_switch_MCU = atmega328p
84 arduino_context_switch_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
85 arduino_context_switch_PROGRAMMER_CPU = atmega328p
86 arduino_context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
87 arduino_context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
88 arduino_context_switch_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
89 arduino_context_switch_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
91 include $(arduino_context_switch_SRC_PATH)/arduino_context_switch_user.mk