zephyr/doc/develop
Dmitrii Golovanov f31aab58d5 twister: Add configurable flashing timeout
Use explicit flash command execution timeout at DeviceHandler
instead of the hardcoded value of 60 sec.

When a HW platform executes test cases right after the flash command,
the test case remaining timeout is affected by how much time the flash
operation consumes. Some simulation platforms need to spend significant
amount of time on each 'flash' cycle, usually adding the same delay on
each test case.

This improvement adds two new command line options and device map fields:

  --device-flash-timeout - for the flash operation timeout
  ('flash-timeout' device map field).

  --device-flash-with-test - to indicate that the platform flash
  command also runs a test case, so the overall timeout should be
  calculated as a sum of the flash timeout and the current test case
  timeout to receive all console output from the platform
  ('flash-with-test' device map field).

The device map field values override command line values for the
particular platform where configured.

Default behavior is backward compatible: flash operation fixed timeout
is 60 sec. not including the test case timeout.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2023-04-08 18:37:33 +02:00
..
api include/drivers: Add RTC API header and handlers 2023-04-04 17:03:38 +02:00
application doc: application: development: Organize debugging 2023-04-04 13:35:03 +02:00
flash_debug scripts: runners: bossac: Enable BOSSAC to run on Windows (native) 2023-03-06 13:17:09 -08:00
getting_started doc: Update installation instructions for Zephyr SDK 0.16.0 2023-03-16 21:04:30 +09:00
languages doc: Clarify C++ standards support 2023-03-01 19:42:32 -05:00
optimizations
sca doc: document the Static Code Analysis (SCA) tool infrastructure 2023-01-27 20:28:58 +09:00
test twister: Add configurable flashing timeout 2023-04-08 18:37:33 +02:00
toolchains doc: Update installation instructions for Zephyr SDK 0.16.0 2023-03-16 21:04:30 +09:00
tools doc: develop: tools: drop platformio docs 2022-12-22 13:45:52 +01:00
west doc: develop: west: sign: Add details on extending signing 2023-03-29 15:53:50 +00:00
beyond-GSG.rst doc: fix incorrect usage of envvar role 2022-08-23 10:15:34 +02:00
env_vars.rst doc: fix incorrect usage of envvar role 2022-08-23 10:15:34 +02:00
index.rst doc: document the Static Code Analysis (SCA) tool infrastructure 2023-01-27 20:28:58 +09:00
modules.rst doc: add snippets documentation 2023-03-26 16:12:41 +02:00