-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Lucas Tamborrino <[email protected]>
- Loading branch information
1 parent
f336026
commit 73212d7
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,3 +61,6 @@ sequence: | |
"flash_with_test": | ||
type: bool | ||
required: false | ||
"flash_before": | ||
type: bool | ||
required: false |