diff options
author | Craig Barnes <craig.barnes@member.fsf.org> | 2014-05-03 19:51:47 +0100 |
---|---|---|
committer | Craig Barnes <craig.barnes@member.fsf.org> | 2014-05-03 19:51:47 +0100 |
commit | c9f9e547d645bb2d9f7130e2148ddca31b19551e (patch) | |
tree | fbabedc7740302f688d2f7b8070352dde1aff81b | |
parent | 6ec835dfef90a2f940a24b126cba8e3d8ede1ef2 (diff) |
Add device ID to deploy make target for stmhal.
-rw-r--r-- | stmhal/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index 4cd33b958..e27dd7b6c 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -25,6 +25,7 @@ CC3K_DIR=cc3k DFU=../tools/dfu.py # may need to prefix dfu-util with sudo DFU_UTIL=dfu-util +DEVICE=0483:df11 CROSS_COMPILE = arm-none-eabi- @@ -201,7 +202,7 @@ all: $(BUILD)/firmware.dfu deploy: $(BUILD)/firmware.dfu $(ECHO) "Writing $< to the board" - $(Q)$(DFU_UTIL) -a 0 -D $< + $(Q)$(DFU_UTIL) -a 0 -d $(DEVICE) -D $< $(BUILD)/firmware.dfu: $(BUILD)/firmware.elf $(ECHO) "Create $@" |