2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the sam3x-ek_codec_user.mk file instead.
6 # Constants automatically defined by the selected modules
7 sam3x-ek_codec_DEBUG = 1
9 # Our target application
12 sam3x-ek_codec_PREFIX = "arm-none-eabi-"
14 sam3x-ek_codec_SUFFIX = ""
16 sam3x-ek_codec_SRC_PATH = boards/sam3x-ek/examples/sam3x-ek_codec
18 sam3x-ek_codec_HW_PATH = boards/sam3x-ek
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 \
29 bertos/drv/i2c_bitbang.c \
30 bertos/drv/lcd_hx8347.c \
35 bertos/fs/fatfs/diskio.c \
36 bertos/fs/fatfs/ff.c \
39 bertos/io/kfile_block.c \
40 bertos/mware/event.c \
41 bertos/mware/formatwr.c \
45 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_PCSRC INSTEAD!
46 sam3x-ek_codec_WIZARD_PCSRC = \
50 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CPPASRC INSTEAD!
51 sam3x-ek_codec_WIZARD_CPPASRC = \
55 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CXXSRC INSTEAD!
56 sam3x-ek_codec_WIZARD_CXXSRC = \
60 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_ASRC INSTEAD!
61 sam3x-ek_codec_WIZARD_ASRC = \
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)
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)
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)
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)
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)
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)
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)
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)
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
103 include $(sam3x-ek_codec_SRC_PATH)/sam3x-ek_codec_user.mk