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=1311eba0bbe32bc1759a3b11b00c78774843383c;hp=0000000000000000000000000000000000000000;hpb=7b2588ee723827b9be2a2d5f287afb1b5d351b23;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)