Properly add hex file building to '<target>_flash'.

This commit is contained in:
mikeller 2019-07-03 01:51:43 +12:00
parent 07097431d2
commit e65bc6cb13
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