Add sam3x codec example projec (beta version).
[bertos.git] / boards / sam3x-ek / examples / sam3x-ek_codec / sam3x-ek_codec.mk
1 #
2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the sam3x-ek_codec_user.mk file instead.
4 #
5
6 # Constants automatically defined by the selected modules
7 sam3x-ek_codec_DEBUG = 1
8
9 # Our target application
10 TRG += sam3x-ek_codec
11
12 sam3x-ek_codec_PREFIX = "arm-none-eabi-"
13
14 sam3x-ek_codec_SUFFIX = ""
15
16 sam3x-ek_codec_SRC_PATH = boards/sam3x-ek/examples/sam3x-ek_codec
17
18 sam3x-ek_codec_HW_PATH = boards/sam3x-ek
19
20 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CSRC INSTEAD!
21 sam3x-ek_codec_WIZARD_CSRC = \
22         bertos/cpu/cortex-m3/drv/adc_sam3.c \
23         bertos/cpu/cortex-m3/drv/i2c_sam3.c \
24         bertos/cpu/cortex-m3/drv/timer_cm3.c \
25         bertos/cpu/cortex-m3/drv/dmac_sam3.c \
26         bertos/drv/adc.c \
27         bertos/drv/eeprom.c \
28         bertos/drv/i2c.c \
29         bertos/drv/i2c_bitbang.c \
30         bertos/drv/lcd_hx8347.c \
31         bertos/drv/sd.c \
32         bertos/drv/timer.c \
33         bertos/drv/wm8731.c \
34         bertos/fs/fat.c \
35         bertos/fs/fatfs/diskio.c \
36         bertos/fs/fatfs/ff.c \
37         bertos/io/kblock.c \
38         bertos/io/kfile.c \
39         bertos/io/kfile_block.c \
40         bertos/mware/event.c \
41         bertos/mware/formatwr.c \
42         bertos/mware/hex.c \
43         #
44
45 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_PCSRC INSTEAD!
46 sam3x-ek_codec_WIZARD_PCSRC = \
47          \
48         #
49
50 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CPPASRC INSTEAD!
51 sam3x-ek_codec_WIZARD_CPPASRC = \
52          \
53         #
54
55 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CXXSRC INSTEAD!
56 sam3x-ek_codec_WIZARD_CXXSRC = \
57          \
58         #
59
60 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_ASRC INSTEAD!
61 sam3x-ek_codec_WIZARD_ASRC = \
62          \
63         #
64
65 sam3x-ek_codec_CPPFLAGS = -D'CPU_FREQ=(73728000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3x-ek_codec_HW_PATH) -I$(sam3x-ek_codec_SRC_PATH) $(sam3x-ek_codec_CPU_CPPFLAGS) $(sam3x-ek_codec_USER_CPPFLAGS)
66 #sam3x-ek_codec_CPPFLAGS = -D'CPU_FREQ=(84000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(sam3x-ek_codec_HW_PATH) -I$(sam3x-ek_codec_SRC_PATH) $(sam3x-ek_codec_CPU_CPPFLAGS) $(sam3x-ek_codec_USER_CPPFLAGS)
67
68 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
69 sam3x-ek_codec_LDFLAGS = $(sam3x-ek_codec_CPU_LDFLAGS) $(sam3x-ek_codec_WIZARD_LDFLAGS) $(sam3x-ek_codec_USER_LDFLAGS)
70
71 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
72 sam3x-ek_codec_CPPAFLAGS = $(sam3x-ek_codec_CPU_CPPAFLAGS) $(sam3x-ek_codec_WIZARD_CPPAFLAGS) $(sam3x-ek_codec_USER_CPPAFLAGS)
73
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 sam3x-ek_codec_CSRC = $(sam3x-ek_codec_CPU_CSRC) $(sam3x-ek_codec_WIZARD_CSRC) $(sam3x-ek_codec_USER_CSRC)
76
77 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
78 sam3x-ek_codec_PCSRC = $(sam3x-ek_codec_CPU_PCSRC) $(sam3x-ek_codec_WIZARD_PCSRC) $(sam3x-ek_codec_USER_PCSRC)
79
80 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
81 sam3x-ek_codec_CPPASRC = $(sam3x-ek_codec_CPU_CPPASRC) $(sam3x-ek_codec_WIZARD_CPPASRC) $(sam3x-ek_codec_USER_CPPASRC)
82
83 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
84 sam3x-ek_codec_CXXSRC = $(sam3x-ek_codec_CPU_CXXSRC) $(sam3x-ek_codec_WIZARD_CXXSRC) $(sam3x-ek_codec_USER_CXXSRC)
85
86 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
87 sam3x-ek_codec_ASRC = $(sam3x-ek_codec_CPU_ASRC) $(sam3x-ek_codec_WIZARD_ASRC) $(sam3x-ek_codec_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 sam3x-ek_codec_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
92 sam3x-ek_codec_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
93 sam3x-ek_codec_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
94 sam3x-ek_codec_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
95 sam3x-ek_codec_PROGRAMMER_CPU = sam3
96 sam3x-ek_codec_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
97 sam3x-ek_codec_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
98 sam3x-ek_codec_CPU = cortex-m3
99 sam3x-ek_codec_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
100 sam3x-ek_codec_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
101 sam3x-ek_codec_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
102
103 include $(sam3x-ek_codec_SRC_PATH)/sam3x-ek_codec_user.mk