Properly add hex file building to '<target>_flash'.
This commit is contained in:
parent
07097431d2
commit
e65bc6cb13
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue