Skip to content

Commit 54b2f15

Browse files
committed
[nrf fromlist] samples: boards: nordic: coresight_stm: Fix nrfutil trace command
Latest version of nrfutil trace doesn't support setting uart baudrate. Remove --baudrate {baudrate_val} from command that executes nrfutil. Upstream PR #: 83939 Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 2c7f6ef commit 54b2f15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/boards/nordic/coresight_stm/pytest/test_stm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def _nrfutil_dictionary_from_serial(
110110
collect_time: float = 60.0,
111111
) -> None:
112112
UART_PATH = dut.device_config.serial
113-
UART_BAUDRATE = dut.device_config.baud
114113
dut.close()
115114

116115
logger.debug(f"Using serial: {UART_PATH}")
@@ -132,7 +131,7 @@ def _nrfutil_dictionary_from_serial(
132131
cmd = (
133132
"nrfutil trace stm --database-config "
134133
f"{config_str} "
135-
f"--input-serialport {UART_PATH} --baudrate {UART_BAUDRATE} "
134+
f"--input-serialport {UART_PATH} "
136135
f"--output-ascii {decoded_file_name}"
137136
)
138137
try:

0 commit comments

Comments
 (0)