Merge branch 'master' into branch-1.9
[fw/altos] / src / stm32f1 / Makefile-stm32f1.defs
diff --git a/src/stm32f1/Makefile-stm32f1.defs b/src/stm32f1/Makefile-stm32f1.defs
new file mode 100644 (file)
index 0000000..b84f739
--- /dev/null
@@ -0,0 +1,12 @@
+ifndef TOPDIR
+TOPDIR=..
+endif
+
+include $(TOPDIR)/Makefile.defs
+
+vpath % $(TOPDIR)/stm32f1:$(AO_VPATH)
+
+CC=$(ARM_CC)
+
+STM32F1_CFLAGS=-mlittle-endian -mcpu=cortex-m3 -mthumb \
+       -I$(TOPDIR)/stm32f1 $(AO_CFLAGS) $(PICOLIBC_CFLAGS)