From: sjlongland Date: Thu, 24 Sep 2015 08:11:40 +0000 (+0000) Subject: Makefile: Add .pgm target to program the SM1000 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=45f93d804446602c5202a90931cc97a4673ab2ab;p=freetel-svn-tracking.git 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 --- 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=\