From 0cc448e2b2ce462408ea79c3fac7da3ac56a8372 Mon Sep 17 00:00:00 2001 From: mikeller Date: Sat, 29 Jun 2019 18:38:35 +1200 Subject: [PATCH] Make 'make _flash' build the hex file as well. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2d80ad773..8e64bfbb9 100644 --- a/Makefile +++ b/Makefile @@ -468,11 +468,10 @@ TARGETS_FLASH = $(addsuffix _flash,$(VALID_TARGETS) ) ## _flash : build and flash a target $(TARGETS_FLASH): -ifneq (,$(findstring /dev/ttyUSB,$(SERIAL_DEVICE))) $(V0) $(MAKE) -j hex TARGET=$(subst _flash,,$@) +ifneq (,$(findstring /dev/ttyUSB,$(SERIAL_DEVICE))) $(V0) $(MAKE) tty_flash TARGET=$(subst _flash,,$@) else - $(V0) $(MAKE) -j binary TARGET=$(subst _flash,,$@) $(V0) $(MAKE) dfu_flash TARGET=$(subst _flash,,$@) endif