Makefile: Add .pgm target to program the SM1000
authorsjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 24 Sep 2015 08:11:40 +0000 (08:11 +0000)
committersjlongland <sjlongland@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 24 Sep 2015 08:11:40 +0000 (08:11 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2355 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/stm32/Makefile

index bcd3b351d5a816fcdf1d446b7477dd81bb26736e..36ae78d1a53aaca50c4ca6d012b7bfe6a014c985 100644 (file)
@@ -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=\