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/dac_sam3.c \
24 bertos/cpu/cortex-m3/drv/i2c_sam3.c \
25 bertos/cpu/cortex-m3/drv/i2s_sam3.c \
26 bertos/cpu/cortex-m3/drv/sd_sam3.c \
27 bertos/cpu/cortex-m3/drv/timer_cm3.c \
28 bertos/cpu/cortex-m3/hw/switch_ctx_cm3.c \
31 bertos/drv/i2c_bitbang.c \
33 bertos/drv/lcd_hx8347.c \
38 bertos/fonts/luBS14.c \
40 bertos/fs/fatfs/diskio.c \
41 bertos/fs/fatfs/ff.c \
45 bertos/gfx/text_format.c \
49 bertos/io/kfile_block.c \
51 bertos/kern/signal.c \
52 bertos/mware/event.c \
53 bertos/mware/formatwr.c \
55 bertos/mware/sprintf.c \
56 bertos/struct/heap.c \
59 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_PCSRC INSTEAD!
60 sam3x-ek_codec_WIZARD_PCSRC = \
64 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CPPASRC INSTEAD!
65 sam3x-ek_codec_WIZARD_CPPASRC = \
69 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_CXXSRC INSTEAD!
70 sam3x-ek_codec_WIZARD_CXXSRC = \
74 # Files automatically generated by the wizard. DO NOT EDIT, USE sam3x-ek_codec_USER_ASRC INSTEAD!
75 sam3x-ek_codec_WIZARD_ASRC = \
79 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)
81 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
82 sam3x-ek_codec_LDFLAGS = $(sam3x-ek_codec_CPU_LDFLAGS) $(sam3x-ek_codec_WIZARD_LDFLAGS) $(sam3x-ek_codec_USER_LDFLAGS)
84 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
85 sam3x-ek_codec_CPPAFLAGS = $(sam3x-ek_codec_CPU_CPPAFLAGS) $(sam3x-ek_codec_WIZARD_CPPAFLAGS) $(sam3x-ek_codec_USER_CPPAFLAGS)
87 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
88 sam3x-ek_codec_CSRC = $(sam3x-ek_codec_CPU_CSRC) $(sam3x-ek_codec_WIZARD_CSRC) $(sam3x-ek_codec_USER_CSRC)
90 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
91 sam3x-ek_codec_PCSRC = $(sam3x-ek_codec_CPU_PCSRC) $(sam3x-ek_codec_WIZARD_PCSRC) $(sam3x-ek_codec_USER_PCSRC)
93 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
94 sam3x-ek_codec_CPPASRC = $(sam3x-ek_codec_CPU_CPPASRC) $(sam3x-ek_codec_WIZARD_CPPASRC) $(sam3x-ek_codec_USER_CPPASRC)
96 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
97 sam3x-ek_codec_CXXSRC = $(sam3x-ek_codec_CPU_CXXSRC) $(sam3x-ek_codec_WIZARD_CXXSRC) $(sam3x-ek_codec_USER_CXXSRC)
99 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
100 sam3x-ek_codec_ASRC = $(sam3x-ek_codec_CPU_ASRC) $(sam3x-ek_codec_WIZARD_ASRC) $(sam3x-ek_codec_USER_ASRC)
102 # CPU specific flags and options, defined in the CPU definition files.
103 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
104 sam3x-ek_codec_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
105 sam3x-ek_codec_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
106 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__
107 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
108 sam3x-ek_codec_PROGRAMMER_CPU = sam3
109 sam3x-ek_codec_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
110 sam3x-ek_codec_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
111 sam3x-ek_codec_CPU = cortex-m3
112 sam3x-ek_codec_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
113 sam3x-ek_codec_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
114 sam3x-ek_codec_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
116 include $(sam3x-ek_codec_SRC_PATH)/sam3x-ek_codec_user.mk