Merge branch 'master' into branch-1.9
[fw/altos] / src / stm32f1 / Makefile-raw.defs
diff --git a/src/stm32f1/Makefile-raw.defs b/src/stm32f1/Makefile-raw.defs
new file mode 100644 (file)
index 0000000..a3894ca
--- /dev/null
@@ -0,0 +1,13 @@
+ifndef TOPDIR
+TOPDIR=..
+endif
+
+include $(TOPDIR)/stm32f1/Makefile-stm32f1.defs
+
+LOADER=flash-loader/$(PROGNAME)-altos-flash-$(VERSION).elf
+MAKEBIN=$(TOPDIR)/../ao-tools/ao-makebin/ao-makebin
+FLASH_ADDR=0x08000000
+
+LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stm32f1 -Taltos-raw.ld -n
+
+.DEFAULT_GOAL=all