Add bootloader example for sam3.
[bertos.git] / boards / sam3x-ek / examples / sam3x-ek_sd_bootloader / sam3x-ek_sd_bootloader_user.mk
diff --git a/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/sam3x-ek_sd_bootloader_user.mk b/boards/sam3x-ek/examples/sam3x-ek_sd_bootloader/sam3x-ek_sd_bootloader_user.mk
new file mode 100644 (file)
index 0000000..d6fced7
--- /dev/null
@@ -0,0 +1,47 @@
+#
+# User makefile.
+# Edit this file to change compiler options and related stuff.
+#
+
+# Programmer interface configuration, see http://dev.bertos.org/wiki/ProgrammerInterface for help
+sam3x-ek_sd_bootloader_PROGRAMMER_TYPE = none
+sam3x-ek_sd_bootloader_PROGRAMMER_PORT = none
+
+# Files included by the user.
+sam3x-ek_sd_bootloader_USER_CSRC = \
+       $(sam3x-ek_sd_bootloader_SRC_PATH)/main.c \
+       bertos/cpu/cortex-m3/drv/dmac_sam3.c \
+       bertos/cpu/cortex-m3/drv/hsmci_sam3.c \
+       bertos/cpu/cortex-m3/io/sam3_chipid.c \
+       #
+
+# Files included by the user.
+sam3x-ek_sd_bootloader_USER_PCSRC = \
+       #
+
+# Files included by the user.
+sam3x-ek_sd_bootloader_USER_CPPASRC = \
+       #
+
+# Files included by the user.
+sam3x-ek_sd_bootloader_USER_CXXSRC = \
+       #
+
+# Files included by the user.
+sam3x-ek_sd_bootloader_USER_ASRC = \
+       #
+
+# Flags included by the user.
+sam3x-ek_sd_bootloader_USER_LDFLAGS = \
+       #
+
+# Flags included by the user.
+sam3x-ek_sd_bootloader_USER_CPPAFLAGS = \
+       #
+
+# Flags included by the user.
+sam3x-ek_sd_bootloader_USER_CPPFLAGS = \
+       -fno-strict-aliasing \
+       -fwrapv \
+       -Os \
+       #