cortexelf-v1: Use new memory map to access all flash and ram. Add fat.
[fw/altos] / src / cortexelf-v1 / Makefile
index c74b0cceaa03f89d2adaa4ead056e3791bd43785..02ef817e1718485deb36dd0c00ae3492b881332d 100644 (file)
@@ -4,6 +4,7 @@
 #
 
 include ../stm/Makefile.defs
+LDFLAGS=-L../stm -Wl,-Taltos-512.ld
 
 INC = \
        ao.h \
@@ -61,6 +62,8 @@ ALTOS_SRC = \
        ao_ps2.c \
        ao_console.c \
        ao_sdcard.c \
+       ao_bufio.c \
+       ao_fat.c \
        $(PROFILE) \
        $(SAMPLE_PROFILE) \
        $(STACK_GUARD)
@@ -80,7 +83,7 @@ OBJ=$(SRC:.c=.o)
 
 all: $(PROG) $(HEX)
 
-$(PROG): Makefile $(OBJ) altos.ld
+$(PROG): Makefile $(OBJ) altos-512.ld
        $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
 
 ../altitude-pa.h: make-altitude-pa