altos/stmf0: Add some common definitions for flash loaders
authorKeith Packard <keithp@keithp.com>
Fri, 16 Mar 2018 21:54:04 +0000 (14:54 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 16 Mar 2018 21:54:04 +0000 (14:54 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stmf0/Makefile.defs

index 3da42874620a92756d3eea2025d7ae8486e8c085..a0aa558bef5caff38e570c9bf856c0ed50fa53ac 100644 (file)
@@ -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