Skip to content

Commit

Permalink
Target to copy firmware to bin.
Browse files Browse the repository at this point in the history
  • Loading branch information
mar0x committed Dec 9, 2021
1 parent 0d21c5e commit 6c6d4f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ $(1)-upload-dfu: $(1)-$(2)-upload-dfu
$(1)-$(2)-upload-dfu:
$(MAKE) -f $(MAKEFILE_PATH) BOARD=$(1) MCU=$(2) upload-dfu


.PHONY: $(1)-bin $(1)-$(2)-bin
$(1)-bin: $(1)-$(2)-bin

$(1)-$(2)-bin: $(1)/$(2)/$(1)-$(2).hex
cp $$< bin/$(1)-$(2).ihex

endef


Expand Down

0 comments on commit 6c6d4f7

Please sign in to comment.