apache / mynewt-newtmgr

Newt Manager (newtmgr) is the application tool that enables a user to communicate with and manage remote devices running the Mynewt OS
https://mynewt.apache.org/
Apache License 2.0
35 stars 77 forks source link

use the timeout from the command line #198

Closed Frank-Buss closed 1 year ago

Frank-Buss commented 1 year ago

This patch changes the hardcoded 3 seconds timeout to the timeout which is actually specified at the command line, or the default 10 seconds if nothing is specified. The 3 seconds was not enough to write a flash image, when the erase time needs longer, as it is the case with Zephyr, when the incrementally erase option is not enabled.