Skip to content

Commit 5c52df6

Browse files
[test] enable uart flow control in power virus test
Signed-off-by: Timothy Trippel <[email protected]>
1 parent 14ff715 commit 5c52df6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sw/device/tests/power_virus_systemtest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include "uart_regs.h" // Generated.
4646

4747
OTTF_DEFINE_TEST_CONFIG(.enable_concurrency = true,
48+
.enable_uart_flow_control = true,
4849
.can_clobber_uart = false, );
4950

5051
/**

sw/host/tests/chip/power_virus/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ fn main() -> Result<()> {
6969
opts.init.init_logging();
7070
let transport = opts.init.init_target()?;
7171
let uart = transport.uart("console")?;
72+
uart.set_flow_control(true)?;
7273
let _ = UartConsole::wait_for(&*uart, r"Running [^\r\n]*", opts.timeout)?;
7374

7475
execute_test!(power_virus_systemtest, &opts, &transport);

0 commit comments

Comments
 (0)