Skip to content

Commit

Permalink
rules: drop broken stlink util support
Browse files Browse the repository at this point in the history
There was an attempt at providing support for the texane/stlink utility.
It has been broken for a long time, referring to missing scripts.
Remove it as clearly unused.
  • Loading branch information
JelmerT authored and karlp committed Aug 25, 2017
1 parent 1f322c1 commit 2107faf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions examples/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ styleclean: $(STYLECHECKFILES:=.styleclean)
@printf " FLASH $<\n"
$(STFLASH) write $(*).bin 0x8000000

ifeq ($(STLINK_PORT),)
ifeq ($(BMP_PORT),)
ifeq ($(OOCD_FILE),)
%.flash: %.elf
Expand All @@ -257,14 +256,6 @@ else
-x $(EXAMPLES_SCRIPT_DIR)/black_magic_probe_flash.scr \
$(*).elf
endif
else
%.flash: %.elf
@printf " GDB $(*).elf (flash)\n"
$(GDB) --batch \
-ex 'target extended-remote $(STLINK_PORT)' \
-x $(EXAMPLES_SCRIPT_DIR)/stlink_flash.scr \
$(*).elf
endif

.PHONY: images clean stylecheck styleclean elf bin hex srec list

Expand Down

0 comments on commit 2107faf

Please # to comment.