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
# may need to prefix dfu-util with sudo
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