From 2107faf5ee24bd3b776253be1654d57dc2340e34 Mon Sep 17 00:00:00 2001 From: Jelmer Tiete Date: Fri, 28 Jul 2017 23:02:56 -0400 Subject: [PATCH] rules: drop broken stlink util support 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. --- examples/rules.mk | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/rules.mk b/examples/rules.mk index 9aa27f3..cd85001 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -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 @@ -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