diff options
| author | Keith Packard <keithp@keithp.com> | 2018-09-11 00:08:17 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2018-10-13 08:22:50 -0700 |
| commit | 621d1529d6bc07a3f4bd27fb2d02d5b3161a3a6a (patch) | |
| tree | da8e1826c9b15d29735620aacd8ba5a2cb4c83f8 /src/stm32f4-disco/Makefile | |
| parent | b7a21bf6a086748b4907c0577eaa114445995783 (diff) | |
altos/stm32f4: Add STM32F413 disco board support
Discovery development board
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm32f4-disco/Makefile')
| -rw-r--r-- | src/stm32f4-disco/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/stm32f4-disco/Makefile b/src/stm32f4-disco/Makefile new file mode 100644 index 00000000..2d912b22 --- /dev/null +++ b/src/stm32f4-disco/Makefile @@ -0,0 +1,30 @@ +include ../stm32f4/Makefile-raw.defs + +ALTOS_SRC = \ + ao_interrupt.c \ + ao_panic.c \ + ao_timer.c + +CFLAGS = $(STM32F4_CFLAGS) + +PROG=stm32f4-disco-$(VERSION) +ELF=$(PROG).elf +IHX=$(PROG).ihx + +SRC=$(ALTOS_SRC) ao_disco.c +OBJ=$(SRC:.c=.o) +MAP=$(PROG).map + +all: $(ELF) $(IHX) + +$(ELF): Makefile $(OBJ) + $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJ) -Wl,-M=$(MAP) $(LIBS) + +distclean: clean + +clean: + rm -f *.o *.elf *.ihx + +install: + +uninstall: |
