mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make/usb_board_reset: define {preflash,term}-delay when necessary
This commit is contained in:
parent
19ce68dd2e
commit
f25731e88a
@ -28,8 +28,12 @@ RESET ?= $(PREFLASHER) $(RESETFFLASG)
|
||||
TESTRUNNER_CONNECT_DELAY ?= $(TERM_DELAY)
|
||||
$(call target-export-variables,test,TESTRUNNER_CONNECT_DELAY)
|
||||
|
||||
ifneq (,$(filter flash flash-only,$(MAKECMDGOALS)))
|
||||
preflash-delay: preflash
|
||||
sleep $(PREFLASH_DELAY)
|
||||
endif
|
||||
|
||||
ifneq (,$(filter term,$(MAKECMDGOALS)))
|
||||
term-delay: $(TERMDELAYDEPS)
|
||||
sleep $(TERM_DELAY)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user