2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the context_switch_user.mk file instead.
6 # Constants automatically defined by the selected modules
9 # Our target application
12 context_switch_PREFIX = "arm-none-eabi-"
14 context_switch_SUFFIX = ""
16 context_switch_SRC_PATH = boards/ek-lpc-p2378/benchmark/context_switch
18 context_switch_HW_PATH = boards/ek-lpc-p2378
20 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CSRC INSTEAD!
21 context_switch_WIZARD_CSRC = \
22 bertos/benchmark/context_switch.c \
23 bertos/kern/signal.c \
25 bertos/cpu/arm/drv/timer_lpc2.c \
26 bertos/mware/formatwr.c \
27 bertos/struct/heap.c \
28 bertos/cpu/arm/drv/ser_arm.c \
29 bertos/cpu/arm/drv/timer_arm.c \
31 bertos/mware/event.c \
33 bertos/cpu/arm/drv/ser_lpc2.c \
38 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_PCSRC INSTEAD!
39 context_switch_WIZARD_PCSRC = \
43 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CPPASRC INSTEAD!
44 context_switch_WIZARD_CPPASRC = \
45 bertos/cpu/arm/hw/switch_ctx_arm.S \
48 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_CXXSRC INSTEAD!
49 context_switch_WIZARD_CXXSRC = \
53 # Files automatically generated by the wizard. DO NOT EDIT, USE context_switch_USER_ASRC INSTEAD!
54 context_switch_WIZARD_ASRC = \
58 context_switch_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(context_switch_HW_PATH) -I$(context_switch_SRC_PATH) $(context_switch_CPU_CPPFLAGS) $(context_switch_USER_CPPFLAGS)
60 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
61 context_switch_LDFLAGS = $(context_switch_CPU_LDFLAGS) $(context_switch_WIZARD_LDFLAGS) $(context_switch_USER_LDFLAGS)
63 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
64 context_switch_CPPAFLAGS = $(context_switch_CPU_CPPAFLAGS) $(context_switch_WIZARD_CPPAFLAGS) $(context_switch_USER_CPPAFLAGS)
66 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
67 context_switch_CSRC = $(context_switch_CPU_CSRC) $(context_switch_WIZARD_CSRC) $(context_switch_USER_CSRC)
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 context_switch_PCSRC = $(context_switch_CPU_PCSRC) $(context_switch_WIZARD_PCSRC) $(context_switch_USER_PCSRC)
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 context_switch_CPPASRC = $(context_switch_CPU_CPPASRC) $(context_switch_WIZARD_CPPASRC) $(context_switch_USER_CPPASRC)
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 context_switch_CXXSRC = $(context_switch_CPU_CXXSRC) $(context_switch_WIZARD_CXXSRC) $(context_switch_USER_CXXSRC)
78 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
79 context_switch_ASRC = $(context_switch_CPU_ASRC) $(context_switch_WIZARD_ASRC) $(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 context_switch_CPU_CPPASRC = bertos/cpu/arm/hw/crt_arm7tdmi.S bertos/cpu/arm/hw/vectors_lpc2.S
84 context_switch_CPU_CPPAFLAGS = -g -gdwarf-2
85 context_switch_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -fverbose-asm -Ibertos/cpu/arm/ -D__ARM_LPC2378__
86 context_switch_CPU_CSRC = bertos/cpu/arm/hw/init_lpc2.c bertos/cpu/arm/drv/vic_lpc2.c
87 context_switch_PROGRAMMER_CPU = lpc2378
88 context_switch_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
89 context_switch_CPU = arm7tdmi
90 context_switch_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
91 context_switch_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
92 context_switch_CPU_LDFLAGS = -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/arm/scripts/lpc2378.ld
93 context_switch_FLASH_SCRIPT = bertos/prg_scripts/arm/flash.sh
95 include $(context_switch_SRC_PATH)/context_switch_user.mk