X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm32f1%2FMakefile-stm32f1.defs;fp=src%2Fstm32f1%2FMakefile-stm32f1.defs;h=b84f7397e946bcd3c03fc4b2b6b49f1c04db3903;hb=c2b775a6cd8888f98f086b4b730edb31bb846f91;hp=0000000000000000000000000000000000000000;hpb=f856f20b31c542caeb5decbf3546c6a0242ab33d;p=fw%2Faltos diff --git a/src/stm32f1/Makefile-stm32f1.defs b/src/stm32f1/Makefile-stm32f1.defs new file mode 100644 index 00000000..b84f7397 --- /dev/null +++ b/src/stm32f1/Makefile-stm32f1.defs @@ -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)