Refactor to use new protocol module and sipo.
[bertos.git] / boards / stm32-p103 / templates / stm32-p103_empty / stm32-p103_empty.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the stm32-p103_empty_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 stm32-p103_empty_DEBUG = 1
8
9 # Our target application
10 TRG += stm32-p103_empty
11
12 stm32-p103_empty_PREFIX = "arm-none-eabi-"
13
14 stm32-p103_empty_SUFFIX = ""
15
16 stm32-p103_empty_SRC_PATH = boards/stm32-p103/templates/stm32-p103_empty
17
18 stm32-p103_empty_HW_PATH = boards/stm32-p103
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_empty_USER_CSRC INSTEAD!
21 stm32-p103_empty_WIZARD_CSRC = \
22         bertos/cpu/cortex-m3/drv/timer_cm3.c \
23         bertos/drv/timer.c \
24         bertos/io/kfile.c \
25         bertos/mware/event.c \
26         bertos/mware/formatwr.c \
27         bertos/mware/hex.c \
28         bertos/struct/heap.c \
29         #
30
31 # Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_empty_USER_PCSRC INSTEAD!
32 stm32-p103_empty_WIZARD_PCSRC = \
33          \
34         #
35
36 # Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_empty_USER_CPPASRC INSTEAD!
37 stm32-p103_empty_WIZARD_CPPASRC = \
38          \
39         #
40
41 # Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_empty_USER_CXXSRC INSTEAD!
42 stm32-p103_empty_WIZARD_CXXSRC = \
43          \
44         #
45
46 # Files automatically generated by the wizard. DO NOT EDIT, USE stm32-p103_empty_USER_ASRC INSTEAD!
47 stm32-p103_empty_WIZARD_ASRC = \
48          \
49         #
50
51 stm32-p103_empty_CPPFLAGS = -D'CPU_FREQ=(72000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(stm32-p103_empty_HW_PATH) -I$(stm32-p103_empty_SRC_PATH) $(stm32-p103_empty_CPU_CPPFLAGS) $(stm32-p103_empty_USER_CPPFLAGS)
52
53 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
54 stm32-p103_empty_LDFLAGS = $(stm32-p103_empty_CPU_LDFLAGS) $(stm32-p103_empty_WIZARD_LDFLAGS) $(stm32-p103_empty_USER_LDFLAGS)
55
56 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
57 stm32-p103_empty_CPPAFLAGS = $(stm32-p103_empty_CPU_CPPAFLAGS) $(stm32-p103_empty_WIZARD_CPPAFLAGS) $(stm32-p103_empty_USER_CPPAFLAGS)
58
59 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
60 stm32-p103_empty_CSRC = $(stm32-p103_empty_CPU_CSRC) $(stm32-p103_empty_WIZARD_CSRC) $(stm32-p103_empty_USER_CSRC)
61
62 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
63 stm32-p103_empty_PCSRC = $(stm32-p103_empty_CPU_PCSRC) $(stm32-p103_empty_WIZARD_PCSRC) $(stm32-p103_empty_USER_PCSRC)
64
65 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
66 stm32-p103_empty_CPPASRC = $(stm32-p103_empty_CPU_CPPASRC) $(stm32-p103_empty_WIZARD_CPPASRC) $(stm32-p103_empty_USER_CPPASRC)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 stm32-p103_empty_CXXSRC = $(stm32-p103_empty_CPU_CXXSRC) $(stm32-p103_empty_WIZARD_CXXSRC) $(stm32-p103_empty_USER_CXXSRC)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 stm32-p103_empty_ASRC = $(stm32-p103_empty_CPU_ASRC) $(stm32-p103_empty_WIZARD_ASRC) $(stm32-p103_empty_USER_ASRC)
73
74 # CPU specific flags and options, defined in the CPU definition files.
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 stm32-p103_empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
77 stm32-p103_empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
78 stm32-p103_empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32F103RB__
79 stm32-p103_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_stm32.c bertos/cpu/cortex-m3/drv/clock_stm32.c 
80 stm32-p103_empty_PROGRAMMER_CPU = stm32
81 stm32-p103_empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/stm32f103rb_rom.ld
82 stm32-p103_empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
83 stm32-p103_empty_CPU = cortex-m3
84 stm32-p103_empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
85 stm32-p103_empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
86 stm32-p103_empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh
87
88 include $(stm32-p103_empty_SRC_PATH)/stm32-p103_empty_user.mk