lm3s1968: add "empty" preset template.
[bertos.git] / boards / ek-lm3s1968 / 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/ek-lm3s1968/templates/empty
17
18 empty_HW_PATH = boards/ek-lm3s1968
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
21 empty_WIZARD_CSRC = \
22         bertos/drv/kbd.c \
23         bertos/struct/heap.c \
24         bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
25         bertos/mware/event.c \
26         bertos/gfx/bitmap.c \
27         bertos/kern/sem.c \
28         bertos/drv/lcd_rit128x96.c \
29         bertos/cpu/cortex-m3/drv/timer_cm3.c \
30         bertos/drv/timer.c \
31         bertos/cpu/cortex-m3/drv/ssi_lm3s.c \
32         bertos/mware/formatwr.c \
33         bertos/gfx/line.c \
34         bertos/cpu/cortex-m3/drv/ser_lm3s.c \
35         bertos/fonts/luBS14.c \
36         bertos/kern/kfile.c \
37         bertos/kern/proc.c \
38         bertos/drv/ser.c \
39         bertos/mware/hex.c \
40         bertos/kern/signal.c \
41         #
42
43 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_PCSRC INSTEAD!
44 empty_WIZARD_PCSRC = \
45          \
46         #
47
48 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CPPASRC INSTEAD!
49 empty_WIZARD_CPPASRC = \
50          \
51         #
52
53 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CXXSRC INSTEAD!
54 empty_WIZARD_CXXSRC = \
55          \
56         #
57
58 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_ASRC INSTEAD!
59 empty_WIZARD_ASRC = \
60          \
61         #
62
63 empty_CPPFLAGS = -D'CPU_FREQ=(50000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
64
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_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 empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
89 empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
90 empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_LM3S1968__
91 empty_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_cm3.c bertos/cpu/cortex-m3/drv/irq_cm3.c bertos/cpu/cortex-m3/drv/gpio_lm3s.c bertos/cpu/cortex-m3/drv/clock_lm3s.c 
92 empty_PROGRAMMER_CPU = lm3s
93 empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
94 empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
95 empty_CPU = cortex-m3
96 empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
97 empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
98 empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-lm3s.sh
99
100 include $(empty_SRC_PATH)/empty_user.mk