Merge branch 'dev'
[bertos.git] / boards / sam3x-ek / templates / sam3x-ek_empty / sam3x-ek_empty.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the sam3x-ek_empty_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 sam3x-ek_empty_DEBUG = 1
8
9 # Our target application
10 TRG += sam3x-ek_empty
11
12 sam3x-ek_empty_PREFIX = "arm-none-eabi-"
13
14 sam3x-ek_empty_SUFFIX = ""
15
16 sam3x-ek_empty_SRC_PATH = boards/sam3x-ek/templates/sam3x-ek_empty
17
18 sam3x-ek_empty_HW_PATH = boards/sam3x-ek
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CSRC INSTEAD!
21 sam3x-ek_empty_WIZARD_CSRC = \
22         bertos/cpu/cortex-m3/drv/timer_cm3.c \
23         bertos/drv/lcd_hx8347.c \
24         bertos/drv/timer.c \
25         bertos/mware/event.c \
26         bertos/mware/formatwr.c \
27         bertos/mware/hex.c \
28         #
29
30 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_PCSRC INSTEAD!
31 sam3x-ek_empty_WIZARD_PCSRC = \
32          \
33         #
34
35 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CPPASRC INSTEAD!
36 sam3x-ek_empty_WIZARD_CPPASRC = \
37          \
38         #
39
40 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_CXXSRC INSTEAD!
41 sam3x-ek_empty_WIZARD_CXXSRC = \
42          \
43         #
44
45 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_empty_USER_ASRC INSTEAD!
46 sam3x-ek_empty_WIZARD_ASRC = \
47          \
48         #
49
50 sam3x-ek_empty_CPPFLAGS = -D'CPU_FREQ=(84000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3x-ek_empty_HW_PATH) -I$(sam3x-ek_empty_SRC_PATH) $(sam3x-ek_empty_CPU_CPPFLAGS) $(sam3x-ek_empty_USER_CPPFLAGS)
51
52 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
53 sam3x-ek_empty_LDFLAGS = $(sam3x-ek_empty_CPU_LDFLAGS) $(sam3x-ek_empty_WIZARD_LDFLAGS) $(sam3x-ek_empty_USER_LDFLAGS)
54
55 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
56 sam3x-ek_empty_CPPAFLAGS = $(sam3x-ek_empty_CPU_CPPAFLAGS) $(sam3x-ek_empty_WIZARD_CPPAFLAGS) $(sam3x-ek_empty_USER_CPPAFLAGS)
57
58 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
59 sam3x-ek_empty_CSRC = $(sam3x-ek_empty_CPU_CSRC) $(sam3x-ek_empty_WIZARD_CSRC) $(sam3x-ek_empty_USER_CSRC)
60
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 sam3x-ek_empty_PCSRC = $(sam3x-ek_empty_CPU_PCSRC) $(sam3x-ek_empty_WIZARD_PCSRC) $(sam3x-ek_empty_USER_PCSRC)
63
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 sam3x-ek_empty_CPPASRC = $(sam3x-ek_empty_CPU_CPPASRC) $(sam3x-ek_empty_WIZARD_CPPASRC) $(sam3x-ek_empty_USER_CPPASRC)
66
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 sam3x-ek_empty_CXXSRC = $(sam3x-ek_empty_CPU_CXXSRC) $(sam3x-ek_empty_WIZARD_CXXSRC) $(sam3x-ek_empty_USER_CXXSRC)
69
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 sam3x-ek_empty_ASRC = $(sam3x-ek_empty_CPU_ASRC) $(sam3x-ek_empty_WIZARD_ASRC) $(sam3x-ek_empty_USER_ASRC)
72
73 # CPU specific flags and options, defined in the CPU definition files.
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 sam3x-ek_empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
76 sam3x-ek_empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
77 sam3x-ek_empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
78 sam3x-ek_empty_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
79 sam3x-ek_empty_PROGRAMMER_CPU = sam3
80 sam3x-ek_empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
81 sam3x-ek_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
82 sam3x-ek_empty_CPU = cortex-m3
83 sam3x-ek_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
84 sam3x-ek_empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
85 sam3x-ek_empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3x.sh
86
87 include $(sam3x-ek_empty_SRC_PATH)/sam3x-ek_empty_user.mk