Commit c9f9e547 authored by Craig Barnes's avatar Craig Barnes
Browse files

Add device ID to deploy make target for stmhal.

parent 6ec835df
......@@ -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