altos: Fix up stm-flash output file name. Use discovery LED pins
[fw/altos] / src / stm-flash / Makefile
index fbc6603d791e8102a3fcde1591075336e4630f64..46bc61af4786ba13381fa3a5f5bb6b1514a16ea3 100644 (file)
@@ -17,6 +17,8 @@ INC = \
 #
 ALTOS_SRC = \
        ao_interrupt.c \
+       ao_boot_chain.c \
+       ao_boot_pin.c \
        ao_product.c \
        ao_romconfig.c \
        ao_task.c \
@@ -24,6 +26,7 @@ ALTOS_SRC = \
        ao_mutex.c \
        ao_usb_stm.c \
        ao_stdio.c \
+       ao_flash_stm.c \
        ao_cmd.c
 
 PRODUCT=StmFlash-v0.0
@@ -32,7 +35,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)