Skip to content

Commit c6cafb9

Browse files
committed
tests: boards: nrf: coresight_stm: Align test to STM driver
There were recent changes to nrf54h20dk and STM driver. Align test accordingly: - add Kconfig that boots Radio core, - update expected timing results. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 3d5e9cd commit c6cafb9

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ def test_STM_decoded(dut: DeviceAdapter):
275275

276276
app_constraints = STMLimits(
277277
# all values in us
278-
log_0_arg=1.8,
279-
log_1_arg=2.1,
280-
log_2_arg=2.0,
278+
log_0_arg=0.6,
279+
log_1_arg=0.6,
280+
log_2_arg=2.1,
281281
log_3_arg=2.1,
282282
log_str=4.5,
283283
tracepoint=0.5,
@@ -286,35 +286,35 @@ def test_STM_decoded(dut: DeviceAdapter):
286286
)
287287
rad_constraints = STMLimits(
288288
# all values in us
289-
log_0_arg=4.6,
290-
log_1_arg=5.0,
291-
log_2_arg=5.2,
292-
log_3_arg=5.6,
293-
log_str=6.3,
289+
log_0_arg=5.6,
290+
log_1_arg=5.8,
291+
log_2_arg=6.1,
292+
log_3_arg=6.4,
293+
log_str=7.1,
294294
tracepoint=0.5,
295295
tracepoint_d32=0.5,
296296
tolerance=0.5,
297297
)
298298
ppr_constraints = STMLimits(
299299
# all values in us
300-
log_0_arg=25.7,
301-
log_1_arg=27.1,
302-
log_2_arg=27.3,
303-
log_3_arg=30.4,
304-
log_str=65.7,
300+
log_0_arg=2.3,
301+
log_1_arg=2.0,
302+
log_2_arg=26.9,
303+
log_3_arg=27.5,
304+
log_str=68.3,
305305
tracepoint=0.55,
306306
tracepoint_d32=0.25,
307307
tolerance=0.5,
308308
)
309309
flpr_constraints = STMLimits(
310310
# all values in us
311-
log_0_arg=1.3,
312-
log_1_arg=1.6,
313-
log_2_arg=1.6,
314-
log_3_arg=1.7,
311+
log_0_arg=0.2,
312+
log_1_arg=0.2,
313+
log_2_arg=1.2,
314+
log_3_arg=1.2,
315315
log_str=3.0,
316-
tracepoint=0.5,
317-
tracepoint_d32=0.5,
316+
tracepoint=0.25,
317+
tracepoint_d32=0.25,
318318
tolerance=0.5,
319319
)
320320

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
CONFIG_LOG=y
2+
CONFIG_SOC_NRF54H20_CPURAD_ENABLE=y

0 commit comments

Comments
 (0)