summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-03-16 14:54:04 -0700
committerKeith Packard <keithp@keithp.com>2018-03-16 14:54:04 -0700
commitbd0021d431165a6c896a6022691a447e27fd555e (patch)
treef3f74fe22181c7a13942cd123a0e64ef0d02a685
parent4894d965d73231b5c74810d826c7c97fa1bd7803 (diff)
altos/stmf0: Add some common definitions for flash loaders
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/stmf0/Makefile.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stmf0/Makefile.defs b/src/stmf0/Makefile.defs
index 3da42874..a0aa558b 100644
--- a/src/stmf0/Makefile.defs
+++ b/src/stmf0/Makefile.defs
@@ -4,6 +4,10 @@ endif
include $(TOPDIR)/stmf0/Makefile-stmf0.defs
+LOADER=flash-loader/$(PROGNAME)-altos-flash-$(VERSION).elf
+MAKEBIN=$(TOPDIR)/../ao-tools/ao-makebin/ao-makebin
+FLASH_ADDR=0x08000000
+
LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stmf0 -Wl,-Taltos.ld -n
.DEFAULT_GOAL=all