Add SAM3N-EK board and example preset.
[bertos.git] / boards / sam3n-ek / examples / display / display.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the display_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 display_DEBUG = 1
8
9 # Our target application
10 TRG += display
11
12 display_PREFIX = "arm-none-eabi-"
13
14 display_SUFFIX = ""
15
16 display_SRC_PATH = boards/sam3n-ek/examples/display
17
18 display_HW_PATH = boards/sam3n-ek
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE display_USER_CSRC INSTEAD!
21 display_WIZARD_CSRC = \
22         bertos/struct/heap.c \
23         bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
24         bertos/mware/event.c \
25         bertos/gfx/bitmap.c \
26         bertos/gfx/text.c \
27         bertos/drv/lcd_ili9225.c \
28         bertos/cpu/cortex-m3/drv/timer_cm3.c \
29         bertos/drv/timer.c \
30         bertos/io/kfile.c \
31         bertos/mware/formatwr.c \
32         bertos/mware/sprintf.c \
33         bertos/gfx/line.c \
34         bertos/gfx/text_format.c \
35         bertos/drv/kbd.c \
36         bertos/fonts/luBS14.c \
37         bertos/kern/signal.c \
38         bertos/kern/proc.c \
39         bertos/mware/hex.c \
40         bertos/gui/menu.c \
41         #
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE display_USER_PCSRC INSTEAD!
44 display_WIZARD_PCSRC = \
45          \
46         #
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE display_USER_CPPASRC INSTEAD!
49 display_WIZARD_CPPASRC = \
50          \
51         #
52
53 # Files automatically generated by the wizard. DO NOT EDIT, USE display_USER_CXXSRC INSTEAD!
54 display_WIZARD_CXXSRC = \
55          \
56         #
57
58 # Files automatically generated by the wizard. DO NOT EDIT, USE display_USER_ASRC INSTEAD!
59 display_WIZARD_ASRC = \
60          \
61         #
62
63 display_CPPFLAGS = -D'CPU_FREQ=(48000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(display_HW_PATH) -I$(display_SRC_PATH) $(display_CPU_CPPFLAGS) $(display_USER_CPPFLAGS)
64
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 display_LDFLAGS = $(display_CPU_LDFLAGS) $(display_WIZARD_LDFLAGS) $(display_USER_LDFLAGS)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 display_CPPAFLAGS = $(display_CPU_CPPAFLAGS) $(display_WIZARD_CPPAFLAGS) $(display_USER_CPPAFLAGS)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 display_CSRC = $(display_CPU_CSRC) $(display_WIZARD_CSRC) $(display_USER_CSRC)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 display_PCSRC = $(display_CPU_PCSRC) $(display_WIZARD_PCSRC) $(display_USER_PCSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 display_CPPASRC = $(display_CPU_CPPASRC) $(display_WIZARD_CPPASRC) $(display_USER_CPPASRC)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 display_CXXSRC = $(display_CPU_CXXSRC) $(display_WIZARD_CXXSRC) $(display_USER_CXXSRC)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 display_ASRC = $(display_CPU_ASRC) $(display_WIZARD_ASRC) $(display_USER_ASRC)
85
86 # CPU specific flags and options, defined in the CPU definition files.
87 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
88 display_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
89 display_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
90 display_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3N4__
91 display_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 
92 display_PROGRAMMER_CPU = sam3
93 display_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/sam3n4_rom.ld
94 display_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
95 display_CPU = cortex-m3
96 display_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
97 display_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
98 display_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
99
100 include $(display_SRC_PATH)/display_user.mk