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/mware/event.c \
24 bertos/struct/heap.c \
26 bertos/mware/formatwr.c \
27 bertos/cpu/avr/drv/timer_avr.c \
29 bertos/kern/signal.c \
31 bertos/cpu/avr/drv/ser_avr.c \
36 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_PCSRC INSTEAD!
37 arduino_context_switch_WIZARD_PCSRC = \
38 bertos/mware/formatwr.c \
41 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_CPPASRC INSTEAD!
42 arduino_context_switch_WIZARD_CPPASRC = \
43 bertos/cpu/avr/hw/switch_ctx_avr.S \
46 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_CXXSRC INSTEAD!
47 arduino_context_switch_WIZARD_CXXSRC = \
51 # Files automatically generated by the wizard. DO NOT EDIT, USE arduino_context_switch_USER_ASRC INSTEAD!
52 arduino_context_switch_WIZARD_ASRC = \
56 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)
58 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
59 arduino_context_switch_LDFLAGS = $(arduino_context_switch_CPU_LDFLAGS) $(arduino_context_switch_WIZARD_LDFLAGS) $(arduino_context_switch_USER_LDFLAGS)
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 arduino_context_switch_CPPAFLAGS = $(arduino_context_switch_CPU_CPPAFLAGS) $(arduino_context_switch_WIZARD_CPPAFLAGS) $(arduino_context_switch_USER_CPPAFLAGS)
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 arduino_context_switch_CSRC = $(arduino_context_switch_CPU_CSRC) $(arduino_context_switch_WIZARD_CSRC) $(arduino_context_switch_USER_CSRC)
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 arduino_context_switch_PCSRC = $(arduino_context_switch_CPU_PCSRC) $(arduino_context_switch_WIZARD_PCSRC) $(arduino_context_switch_USER_PCSRC)
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 arduino_context_switch_CPPASRC = $(arduino_context_switch_CPU_CPPASRC) $(arduino_context_switch_WIZARD_CPPASRC) $(arduino_context_switch_USER_CPPASRC)
73 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
74 arduino_context_switch_CXXSRC = $(arduino_context_switch_CPU_CXXSRC) $(arduino_context_switch_WIZARD_CXXSRC) $(arduino_context_switch_USER_CXXSRC)
76 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
77 arduino_context_switch_ASRC = $(arduino_context_switch_CPU_ASRC) $(arduino_context_switch_WIZARD_ASRC) $(arduino_context_switch_USER_ASRC)
79 # CPU specific flags and options, defined in the CPU definition files.
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 arduino_context_switch_MCU = atmega328p
82 arduino_context_switch_CPU_CPPFLAGS = -Os -Ibertos/cpu/avr/
83 arduino_context_switch_PROGRAMMER_CPU = atmega328p
84 arduino_context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/avr/stopflash.sh
85 arduino_context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/none.sh
86 arduino_context_switch_DEBUG_SCRIPT = bertos/prg_scripts/nodebug.sh
87 arduino_context_switch_FLASH_SCRIPT = bertos/prg_scripts/avr/flash.sh
89 include $(arduino_context_switch_SRC_PATH)/arduino_context_switch_user.mk