2 # Wizard autogenerated makefile.
3 # DO NOT EDIT, use the empty_user.mk file instead.
6 # Constants automatically defined by the selected modules
9 # Our target application
12 empty_PREFIX = "arm-none-eabi-"
16 empty_SRC_PATH = boards/sam3x-ek/templates/empty
18 empty_HW_PATH = boards/sam3x-ek
20 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CSRC INSTEAD!
22 bertos/drv/lcd_hx8347.c \
23 bertos/mware/event.c \
24 bertos/cpu/cortex-m3/drv/timer_cm3.c \
25 bertos/mware/formatwr.c \
30 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_PCSRC INSTEAD!
31 empty_WIZARD_PCSRC = \
35 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CPPASRC INSTEAD!
36 empty_WIZARD_CPPASRC = \
40 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_CXXSRC INSTEAD!
41 empty_WIZARD_CXXSRC = \
45 # Files automatically generated by the wizard. DO NOT EDIT, USE empty_USER_ASRC INSTEAD!
50 empty_CPPFLAGS = -D'CPU_FREQ=(84000000UL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$(empty_HW_PATH) -I$(empty_SRC_PATH) $(empty_CPU_CPPFLAGS) $(empty_USER_CPPFLAGS)
52 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
53 empty_LDFLAGS = $(empty_CPU_LDFLAGS) $(empty_WIZARD_LDFLAGS) $(empty_USER_LDFLAGS)
55 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
56 empty_CPPAFLAGS = $(empty_CPU_CPPAFLAGS) $(empty_WIZARD_CPPAFLAGS) $(empty_USER_CPPAFLAGS)
58 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
59 empty_CSRC = $(empty_CPU_CSRC) $(empty_WIZARD_CSRC) $(empty_USER_CSRC)
61 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
62 empty_PCSRC = $(empty_CPU_PCSRC) $(empty_WIZARD_PCSRC) $(empty_USER_PCSRC)
64 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
65 empty_CPPASRC = $(empty_CPU_CPPASRC) $(empty_WIZARD_CPPASRC) $(empty_USER_CPPASRC)
67 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
68 empty_CXXSRC = $(empty_CPU_CXXSRC) $(empty_WIZARD_CXXSRC) $(empty_USER_CXXSRC)
70 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
71 empty_ASRC = $(empty_CPU_ASRC) $(empty_WIZARD_ASRC) $(empty_USER_ASRC)
73 # CPU specific flags and options, defined in the CPU definition files.
74 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
75 empty_CPU_CPPASRC = bertos/cpu/cortex-m3/hw/crt_cm3.S bertos/cpu/cortex-m3/hw/vectors_cm3.S
76 empty_CPU_CPPAFLAGS = -g -gdwarf-2 -mthumb -mno-thumb-interwork
77 empty_CPU_CPPFLAGS = -O0 -g3 -gdwarf-2 -mthumb -mno-thumb-interwork -fno-strict-aliasing -fwrapv -fverbose-asm -Ibertos/cpu/cortex-m3/ -D__ARM_SAM3X8__
78 empty_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
79 empty_PROGRAMMER_CPU = sam3
80 empty_STOPFLASH_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
82 empty_STOPDEBUG_SCRIPT = bertos/prg_scripts/arm/stopopenocd.sh
83 empty_DEBUG_SCRIPT = bertos/prg_scripts/arm/debug.sh
84 empty_CPU_LDFLAGS = -mthumb -mno-thumb-interwork -nostartfiles -Wl,--no-warn-mismatch -Wl,-dT bertos/cpu/cortex-m3/scripts/sam3x8_rom.ld
85 empty_FLASH_SCRIPT = bertos/prg_scripts/arm/flash-sam3.sh
87 include $(empty_SRC_PATH)/empty_user.mk