X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm-demo%2FMakefile;h=483d5784a493dc863994e296362b9ae397ab7678;hb=HEAD;hp=2c7e9df5bd74a8c9f132ee54466b5022b41383cf;hpb=eded084c6caa1f9423d690c8b45c8042f8355987;p=fw%2Faltos diff --git a/src/stm-demo/Makefile b/src/stm-demo/Makefile index 2c7e9df5..483d5784 100644 --- a/src/stm-demo/Makefile +++ b/src/stm-demo/Makefile @@ -9,6 +9,7 @@ INC = \ ao.h \ ao_arch.h \ ao_arch_funcs.h \ + ao_boot.h \ ao_pins.h \ ao_product.h @@ -22,14 +23,15 @@ ALTOS_SRC = \ ao_romconfig.c \ ao_cmd.c \ ao_task.c \ - ao_led.c \ + ao_led_stm.c \ ao_stdio.c \ ao_panic.c \ ao_timer.c \ - ao_serial_stm.c \ ao_lcd_stm.c \ ao_lcd_font.c \ ao_mutex.c \ + ao_storage.c \ + ao_m25.c \ ao_dma_stm.c \ ao_spi_stm.c \ ao_adc_stm.c \ @@ -42,7 +44,7 @@ PRODUCT=StmDemo-v0.0 PRODUCT_DEF=-DSTM_DEMO IDPRODUCT=0x000a -CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -g -Os +CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) PROG=stm-demo-$(VERSION) ELF=$(PROG).elf @@ -66,7 +68,7 @@ $(OBJ): $(INC) distclean: clean clean: - rm -f *.o stm-demo-*.elf + rm -f *.o *.elf *.ihx rm -f ao_product.h install: