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