summaryrefslogtreecommitdiff
path: root/src/cortexelf-v1/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-02 15:40:03 -0700
committerKeith Packard <keithp@keithp.com>2017-04-02 15:40:03 -0700
commit54c76d48924fecc2aeabbc352c553822a87f9d19 (patch)
treeee7b94cb02b306d33e2a81beadb6152afb53f05d /src/cortexelf-v1/Makefile
parent7b031d5a86213364196b67f7e3f92865da8adbf9 (diff)
cortexelf-v1: Use new memory map to access all flash and ram. Add fat.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cortexelf-v1/Makefile')
-rw-r--r--src/cortexelf-v1/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cortexelf-v1/Makefile b/src/cortexelf-v1/Makefile
index c74b0cce..02ef817e 100644
--- a/src/cortexelf-v1/Makefile
+++ b/src/cortexelf-v1/Makefile
@@ -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