Commit 5320bff3 authored by Damien George's avatar Damien George
Browse files

Merge pull request #557 from cjbarnes18/device_id_in_deploy

Add device ID to deploy make target for stmhal.
parents 349e4c4a c9f9e547
......@@ -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 $@"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment