Skip to content

Commit

Permalink
Adding make all_rev goal
Browse files Browse the repository at this point in the history
  • Loading branch information
blckmn committed Jun 25, 2022
1 parent 916ccf3 commit 413d23c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -573,10 +573,11 @@ TARGETS_REVISION = $(addsuffix _rev,$(VALID_TARGETS))
$(TARGETS_REVISION):
$(V0) $(MAKE) hex_rev TARGET=$(subst _rev,,$@)

hex_rev:
$(V0) $(MAKE) -j $(TARGET_HEX)
hex_rev: hex
$(V0) mv -f $(TARGET_HEX) $(TARGET_HEX_REV)

all_rev: $(addsuffix _rev,$(CI_TARGETS))

unbrick_$(TARGET): $(TARGET_HEX)
$(V0) stty -F $(SERIAL_DEVICE) raw speed 115200 -crtscts cs8 -parenb -cstopb -ixon
$(V0) stm32flash -w $(TARGET_HEX) -v -g 0x0 -b 115200 $(SERIAL_DEVICE)
Expand Down

0 comments on commit 413d23c

Please sign in to comment.