1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/arduino-nano-33-ble: Remove term-delay logic

This commit is contained in:
Leandro Lanzieri 2020-07-03 10:19:23 +02:00
parent 2ed76e2d45
commit d54031a7e6
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

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)