[riot-notifications] [RIOT-OS/RIOT] pyterm: Add device timeout (#12270)

Martine Lenders notifications at github.com
Wed Sep 18 11:28:20 CEST 2019


> When pyterm is used on boards that use CDC-ACM stdio (ie. provide their own USB device), that device is not available immediately after flashing, […]

Does this also apply to resetting? If yes, this might become a problem with the `make test` if the `MAKE_TERM_STARTED_DELAY` environment variable isn't set properly.

https://github.com/RIOT-OS/RIOT/blob/7a818f0433d65a272fe1363c811318490ff29967/dist/pythonlibs/testrunner/spawn.py#L42-L43

> This solves the problem only for pyterm. Worse yet, it may still be racy if the bootloader used is occupying the same file name as the serial target. (That is the case on my board, but the race always went well, presumably because the USB reset caused by the flashing tool is immediate).

Given these problems, and the one I pointed out, I think I prefer the alternative you proposed. What does @cladmi think?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12270#issuecomment-532602834
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190918/9796ec9c/attachment.htm>


More information about the notifications mailing list