Skip to content
Commit d65b6bc1 authored by Lucas Tamborrino's avatar Lucas Tamborrino Committed by Anas Nashif
Browse files

twister: add flash-before option



Add option to flash board before attach serial.

Current implementation performs the following sequence:

1. Open serial port to listen to board log output
2. Flash device

In case of ESP32 where it uses the same serial port
for both operations, flashing needs to come first.

This PR adds a twister option named --flash-before
which enables the process above, allowing tests to be
performed properly.

Signed-off-by: default avatarLucas Tamborrino <lucas.tamborrino@espressif.com>
parent bcd1d193
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment