2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the sam3n-ek_kernel_footprint_user.mk file instead.
6 # Constants automatically defined by the selected modules
9 # Our target application
10 TRG += sam3n-ek_kernel_footprint
12 sam3n-ek_kernel_footprint_PREFIX = "arm-none-eabi-"
14 sam3n-ek_kernel_footprint_SUFFIX = ""
16 sam3n-ek_kernel_footprint_SRC_PATH = boards/sam3n-ek/benchmark/sam3n-ek_kernel_footprint
18 sam3n-ek_kernel_footprint_HW_PATH = boards/sam3n-ek
20 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_kernel_footprint_USER_CSRC INSTEAD!
21 sam3n-ek_kernel_footprint_WIZARD_CSRC = \
22 bertos/benchmark/kernel_footprint.c \
23 bertos/cpu/cortex-m3/drv/timer_cm3.c \
24 bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
29 bertos/kern/signal.c \
30 bertos/mware/event.c \
31 bertos/mware/formatwr.c \
33 bertos/struct/heap.c \
36 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_kernel_footprint_USER_PCSRC INSTEAD!
37 sam3n-ek_kernel_footprint_WIZARD_PCSRC = \
41 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_kernel_footprint_USER_CPPASRC INSTEAD!
42 sam3n-ek_kernel_footprint_WIZARD_CPPASRC = \
46 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_kernel_footprint_USER_CXXSRC INSTEAD!
47 sam3n-ek_kernel_footprint_WIZARD_CXXSRC = \
51 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3n-ek_kernel_footprint_USER_ASRC INSTEAD!
52 sam3n-ek_kernel_footprint_WIZARD_ASRC = \
56 sam3n-ek_kernel_footprint_CPPFLAGS = -D'CPU_FREQ=(48000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3n-ek_kernel_footprint_HW_PATH) -I$(sam3n-ek_kernel_footprint_SRC_PATH) $(sam3n-ek_kernel_footprint_CPU_CPPFLAGS) $(sam3n-ek_kernel_footprint_USER_CPPFLAGS)
58 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
59 sam3n-ek_kernel_footprint_LDFLAGS = $(sam3n-ek_kernel_footprint_CPU_LDFLAGS) $(sam3n-ek_kernel_footprint_WIZARD_LDFLAGS) $(sam3n-ek_kernel_footprint_USER_LDFLAGS)
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 sam3n-ek_kernel_footprint_CPPAFLAGS = $(sam3n-ek_kernel_footprint_CPU_CPPAFLAGS) $(sam3n-ek_kernel_footprint_WIZARD_CPPAFLAGS) $(sam3n-ek_kernel_footprint_USER_CPPAFLAGS)
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 sam3n-ek_kernel_footprint_CSRC = $(sam3n-ek_kernel_footprint_CPU_CSRC) $(sam3n-ek_kernel_footprint_WIZARD_CSRC) $(sam3n-ek_kernel_footprint_USER_CSRC)
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 sam3n-ek_kernel_footprint_PCSRC = $(sam3n-ek_kernel_footprint_CPU_PCSRC) $(sam3n-ek_kernel_footprint_WIZARD_PCSRC) $(sam3n-ek_kernel_footprint_USER_PCSRC)
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 sam3n-ek_kernel_footprint_CPPASRC = $(sam3n-ek_kernel_footprint_CPU_CPPASRC) $(sam3n-ek_kernel_footprint_WIZARD_CPPASRC) $(sam3n-ek_kernel_footprint_USER_CPPASRC)
73 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
74 sam3n-ek_kernel_footprint_CXXSRC = $(sam3n-ek_kernel_footprint_CPU_CXXSRC) $(sam3n-ek_kernel_footprint_WIZARD_CXXSRC) $(sam3n-ek_kernel_footprint_USER_CXXSRC)
76 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
77 sam3n-ek_kernel_footprint_ASRC = $(sam3n-ek_kernel_footprint_CPU_ASRC) $(sam3n-ek_kernel_footprint_WIZARD_ASRC) $(sam3n-ek_kernel_footprint_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 sam3n-ek_kernel_footprint_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
82 sam3n-ek_kernel_footprint_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
83 sam3n-ek_kernel_footprint_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3N4__
84 sam3n-ek_kernel_footprint_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/clock_sam3.c
85 sam3n-ek_kernel_footprint_PROGRAMMER_CPU = sam3n
86 sam3n-ek_kernel_footprint_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3n4_rom.ld
87 sam3n-ek_kernel_footprint_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
88 sam3n-ek_kernel_footprint_CPU = cortex-m3
89 sam3n-ek_kernel_footprint_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
90 sam3n-ek_kernel_footprint_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
91 sam3n-ek_kernel_footprint_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
93 include $(sam3n-ek_kernel_footprint_SRC_PATH)/sam3n-ek_kernel_footprint_user.mk