Properly add hex file building to '<target>_flash'. (#8530)

Properly add hex file building to '<target>_flash'.
This commit is contained in:
Michael Keller 2019-07-04 09:12:31 +12:00 committed by GitHub
commit 5ba4fa3793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ TARGETS_FLASH = $(addsuffix _flash,$(VALID_TARGETS) )
## <TARGET>_flash : build and flash a target
$(TARGETS_FLASH):
$(V0) $(MAKE) -j hex TARGET=$(subst _flash,,$@)
$(V0) $(MAKE) binary hex TARGET=$(subst _flash,,$@)
ifneq (,$(findstring /dev/ttyUSB,$(SERIAL_DEVICE)))
$(V0) $(MAKE) tty_flash TARGET=$(subst _flash,,$@)
else