Merge pull request #14432 from leandrolanzieri/pr/boards/arduino-nano-33-ble_remove_term-delay

boards/arduino-nano-33-ble: Remove term-delay logic
This commit is contained in:
Alexandre Abadie 2020-07-03 11:29:27 +02:00 committed by GitHub
commit ed4b60f659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,20 +12,9 @@ ifeq ($(PROGRAMMER),bossa)
BOSSA_ARDUINO_PREFLASH = yes
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
endif
term-delay:
sleep $(TERM_DELAY)
TESTRUNNER_CONNECT_DELAY ?= 2
$(call target-export-variables,test,TESTRUNNER_CONNECT_DELAY)