Add some fuction to read block from sd using dmac.
[bertos.git] / boards / stm32VLDiscovery / 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/stm32VLDiscovery/templates/empty
17
18 empty_HW_PATH = boards/stm32VLDiscovery
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
21 empty_WIZARD_CSRC = \
22         bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
23         bertos/mware/event.c \
24         bertos/kern/sem.c \
25         bertos/cpu/cortex-m3/drv/timer_cm3.c \
26         bertos/struct/heap.c \
27         bertos/mware/formatwr.c \
28         bertos/drv/timer.c \
29         bertos/kern/kfile.c \
30         bertos/kern/proc.c \
31         bertos/mware/hex.c \
32         bertos/kern/signal.c \
33         #
34
35 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_PCSRC INSTEAD!
36 empty_WIZARD_PCSRC = \
37          \
38         #
39
40 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CPPASRC INSTEAD!
41 empty_WIZARD_CPPASRC = \
42          \
43         #
44
45 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CXXSRC INSTEAD!
46 empty_WIZARD_CXXSRC = \
47          \
48         #
49
50 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_ASRC INSTEAD!
51 empty_WIZARD_ASRC = \
52          \
53         #
54
55 empty_CPPFLAGS = -D'CPU_FREQ=(24000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
56
57 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
58 empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
59
60 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
61 empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
62
63 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
64 empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
65
66 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
67 empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
68
69 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
70 empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
71
72 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
73 empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
74
75 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
76 empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
77
78 # CPU specific flags and options, defined in the CPU definition files.
79 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
80 empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S 
81 empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
82 empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_STM32F100RB__
83 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 
84 empty_PROGRAMMER_CPU = stm32
85 empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
86 empty_CPU = cortex-m3
87 empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
88 empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
89 empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -T bertos/cpu/cortex-m3/scripts/stm32f100rb_rom.ld
90 empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-stm32.sh
91
92 include $(empty_SRC_PATH)/empty_user.mk