Add emply templates for sam3n board.
[bertos.git] / boards / sam3n-ek / templates / empty / empty.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the empty_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 empty_DEBUG = 1
8
9 # Our target application
10 TRG += empty
11
12 empty_PREFIX = "arm-none-eabi-"
13
14 empty_SUFFIX = ""
15
16 empty_SRC_PATH = boards/sam3n-ek/templates/empty
17
18 empty_HW_PATH = boards/sam3n-ek
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
21 empty_WIZARD_CSRC = \
22         bertos/mware/event.c \
23         bertos/gfx/bitmap.c \
24         bertos/gfx/text.c \
25         bertos/drv/lcd_ili9225.c \
26         bertos/cpu/cortex-m3/drv/timer_cm3.c \
27         bertos/drv/timer.c \
28         bertos/mware/formatwr.c \
29         bertos/mware/sprintf.c \
30         bertos/gfx/line.c \
31         bertos/gfx/text_format.c \
32         bertos/drv/kbd.c \
33         bertos/fonts/luBS14.c \
34         bertos/mware/hex.c \
35         #
36
37 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_PCSRC INSTEAD!
38 empty_WIZARD_PCSRC = \
39          \
40         #
41
42 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CPPASRC INSTEAD!
43 empty_WIZARD_CPPASRC = \
44          \
45         #
46
47 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CXXSRC INSTEAD!
48 empty_WIZARD_CXXSRC = \
49          \
50         #
51
52 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_ASRC INSTEAD!
53 empty_WIZARD_ASRC = \
54          \
55         #
56
57 empty_CPPFLAGS = -D'CPU_FREQ=(48000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
58
59 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
60 empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
61
62 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
63 empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
64
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
79
80 # CPU specific flags and options, defined in the CPU definition files.
81 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
82 empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
83 empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
84 empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3N4__
85 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 
86 empty_PROGRAMMER_CPU = sam3
87 empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
88 empty_CPU = cortex-m3
89 empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
90 empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
91 empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/sam3n4_rom.ld
92 empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
93
94 include $(empty_SRC_PATH)/empty_user.mk