diff options
Diffstat (limited to 'src/stm/Makefile-stm.defs')
| -rw-r--r-- | src/stm/Makefile-stm.defs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stm/Makefile-stm.defs b/src/stm/Makefile-stm.defs new file mode 100644 index 00000000..cce28f00 --- /dev/null +++ b/src/stm/Makefile-stm.defs @@ -0,0 +1,13 @@ +ifndef TOPDIR +TOPDIR=.. +endif + +include $(TOPDIR)/Makefile.defs + +vpath % $(TOPDIR)/stm:$(AO_VPATH) + +CC=$(ARM_CC) +LIBS=-L$(NEWLIB_NANO)/arm-none-eabi/lib/thumb/v7-m -lm -lc -lgcc + +STM_CFLAGS=-mlittle-endian -mcpu=cortex-m3 -mthumb \ + -I$(TOPDIR)/stm $(AO_CFLAGS) $(NEWLIB_CFLAGS) |
