boards/arduino-nano-33-ble: Remove term-delay logic
This commit is contained in:
parent
2ed76e2d45
commit
d54031a7e6
@ -12,20 +12,9 @@ ifeq ($(PROGRAMMER),bossa)
|
|||||||
BOSSA_ARDUINO_PREFLASH = yes
|
BOSSA_ARDUINO_PREFLASH = yes
|
||||||
PREFLASH_DELAY = 1
|
PREFLASH_DELAY = 1
|
||||||
|
|
||||||
ifneq (,$(filter reset flash flash-only, $(MAKECMDGOALS)))
|
|
||||||
# Add 2 seconds delay before opening terminal: this is required when opening
|
|
||||||
# the terminal right after flashing. In this case, the stdio over USB needs
|
|
||||||
# some time after reset before being ready.
|
|
||||||
TERM_DELAY = 2
|
|
||||||
TERMDEPS += term-delay
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(RIOTMAKE)/tools/bossa.inc.mk
|
include $(RIOTMAKE)/tools/bossa.inc.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
term-delay:
|
|
||||||
sleep $(TERM_DELAY)
|
|
||||||
|
|
||||||
TESTRUNNER_CONNECT_DELAY ?= 2
|
TESTRUNNER_CONNECT_DELAY ?= 2
|
||||||
$(call target-export-variables,test,TESTRUNNER_CONNECT_DELAY)
|
$(call target-export-variables,test,TESTRUNNER_CONNECT_DELAY)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user