altos/stm-flash: Check target flash address against AO_BOOT_APPLICATION_BASE
[fw/altos] / src / stm-flash / Makefile
index 3c7b4966c03ac9e48f05cee3aab001ea9035b0a3..a4dd5ab8f452e192a155caa0a6148d88080bccca 100644 (file)
@@ -17,15 +17,14 @@ INC = \
 #
 ALTOS_SRC = \
        ao_interrupt.c \
+       ao_boot_chain.c \
+       ao_boot_pin.c \
        ao_product.c \
-       ao_romconfig.c \
-       ao_task.c \
+       ao_notask.c \
        ao_timer.c \
-       ao_mutex.c \
        ao_usb_stm.c \
        ao_stdio.c \
-       ao_flash_stm.c \
-       ao_cmd.c
+       ao_flash_stm.c
 
 PRODUCT=StmFlash-v0.0
 PRODUCT_DEF=-DSTM_FLASH
@@ -33,7 +32,7 @@ IDPRODUCT=0x000a
 
 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -Os
 
-PROG=stm-flash
+PROG=stm-flash-$(VERSION).elf
 
 SRC=$(ALTOS_SRC) ao_stm_flash.c
 OBJ=$(SRC:.c=.o)