LM3S1968: Add first example project.
[bertos.git] / boards / ek-lm3s1968 / examples / gps / gps.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the gps_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 gps_DEBUG = 1
8
9 # Our target application
10 TRG += gps
11
12 gps_PREFIX = "arm-none-eabi-"
13
14 gps_SUFFIX = ""
15
16 gps_SRC_PATH = boards/ek-lm3s1968/examples/gps
17
18 gps_HW_PATH = boards/ek-lm3s1968
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE gps_USER_CSRC INSTEAD!
21 gps_WIZARD_CSRC = \
22         bertos/kern/sem.c \
23         bertos/mware/formatwr.c \
24         bertos/net/nmea.c \
25         bertos/drv/kbd.c \
26         bertos/gfx/line.c \
27         bertos/drv/lcd_rit128x96.c \
28         bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
29         bertos/kern/kfile.c \
30         bertos/gfx/text_format.c \
31         bertos/struct/heap.c \
32         bertos/drv/ser.c \
33         bertos/mware/hex.c \
34         bertos/net/nmeap/src/nmeap01.c \
35         bertos/gfx/text.c \
36         bertos/cpu/cortex-m3/drv/timer_cm3.c \
37         bertos/drv/timer.c \
38         bertos/kern/signal.c \
39         bertos/kern/proc.c \
40         bertos/mware/event.c \
41         bertos/gfx/bitmap.c \
42         bertos/cpu/cortex-m3/drv/ser_lm3s.c \
43         bertos/mware/sprintf.c \
44         #
45
46 # Files automatically generated by the wizard. DO NOT EDIT, USE gps_USER_PCSRC INSTEAD!
47 gps_WIZARD_PCSRC = \
48          \
49         #
50
51 # Files automatically generated by the wizard. DO NOT EDIT, USE gps_USER_CPPASRC INSTEAD!
52 gps_WIZARD_CPPASRC = \
53          \
54         #
55
56 # Files automatically generated by the wizard. DO NOT EDIT, USE gps_USER_CXXSRC INSTEAD!
57 gps_WIZARD_CXXSRC = \
58          \
59         #
60
61 # Files automatically generated by the wizard. DO NOT EDIT, USE gps_USER_ASRC INSTEAD!
62 gps_WIZARD_ASRC = \
63          \
64         #
65
66 gps_CPPFLAGS = -D'CPU_FREQ=(50000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(gps_HW_PATH) -I$(gps_SRC_PATH) $(gps_CPU_CPPFLAGS) $(gps_USER_CPPFLAGS)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 gps_LDFLAGS = $(gps_CPU_LDFLAGS) $(gps_WIZARD_LDFLAGS) $(gps_USER_LDFLAGS)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 gps_CPPAFLAGS = $(gps_CPU_CPPAFLAGS) $(gps_WIZARD_CPPAFLAGS) $(gps_USER_CPPAFLAGS)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 gps_CSRC = $(gps_CPU_CSRC) $(gps_WIZARD_CSRC) $(gps_USER_CSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 gps_PCSRC = $(gps_CPU_PCSRC) $(gps_WIZARD_PCSRC) $(gps_USER_PCSRC)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 gps_CPPASRC = $(gps_CPU_CPPASRC) $(gps_WIZARD_CPPASRC) $(gps_USER_CPPASRC)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 gps_CXXSRC = $(gps_CPU_CXXSRC) $(gps_WIZARD_CXXSRC) $(gps_USER_CXXSRC)
85
86 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
87 gps_ASRC = $(gps_CPU_ASRC) $(gps_WIZARD_ASRC) $(gps_USER_ASRC)
88
89 # CPU specific flags and options, defined in the CPU definition files.
90 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
91 gps_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
92 gps_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
93 gps_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_LM3S1968__
94 gps_CPU_CSRC = bertos/cpu/cortex-m3/hw/init_lm3s.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 
95 gps_PROGRAMMER_CPU = lm3s
96 gps_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
97 gps_CPU = cortex-m3
98 gps_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
99 gps_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
100 gps_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/lm3s1968_rom.ld
101 gps_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-cortex.sh
102
103 include $(gps_SRC_PATH)/gps_user.mk