From 45f93d804446602c5202a90931cc97a4673ab2ab Mon Sep 17 00:00:00 2001 From: sjlongland Date: Thu, 24 Sep 2015 08:11:40 +0000 Subject: [PATCH] Makefile: Add .pgm target to program the SM1000 git-svn-id: https://svn.code.sf.net/p/freetel/code@2355 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/stm32/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codec2-dev/stm32/Makefile b/codec2-dev/stm32/Makefile index bcd3b351..36ae78d1 100644 --- a/codec2-dev/stm32/Makefile +++ b/codec2-dev/stm32/Makefile @@ -477,6 +477,10 @@ libstm32f4.a: $(CMSIS_OBJS) $(STM32F4LIB_OBJS) %.pgm: %.bin $(SUDO) dfu-util -d 0483:df11 -c 1 -i 0 -a 0 -s 0x08000000 -D $< +# Rule for programming the SM1000 +%.pgm: %.bin + $(SUDO) dfu-util -d 0483:df11 -c 1 -i 0 -a 0 -s 0x08000000 -D $< + #################################################### CODEC2_PROFILE_SRCS=\ -- 2.25.1