From 751e9db3abfb83ed607edc1d278ae8b5ef502fcd Mon Sep 17 00:00:00 2001 From: Yuzhuo Liu Date: Mon, 6 Jul 2026 10:38:25 +0800 Subject: [PATCH 1/2] tests: drivers: counter: fix test fail issue Change the RTC prescaler to 10 so that the `short_relative_alarm` test case will not fail because the code execution time exceeds one counter tick when the original prescaler is 1(one counter tick is 33 us). Signed-off-by: Yuzhuo Liu --- .../counter_basic_api/boards/rtl87x2j_evb_rtl8762jth.overlay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/drivers/counter/counter_basic_api/boards/rtl87x2j_evb_rtl8762jth.overlay b/tests/drivers/counter/counter_basic_api/boards/rtl87x2j_evb_rtl8762jth.overlay index e3d860e6dca03..a15ffcd20dca5 100644 --- a/tests/drivers/counter/counter_basic_api/boards/rtl87x2j_evb_rtl8762jth.overlay +++ b/tests/drivers/counter/counter_basic_api/boards/rtl87x2j_evb_rtl8762jth.overlay @@ -95,6 +95,6 @@ }; &rtc_counter { - prescaler = <1>; + prescaler = <10>; status = "okay"; }; From 15f29e68f43e40eadd82691bbc2c5ae909087fb1 Mon Sep 17 00:00:00 2001 From: Yuzhuo Liu Date: Mon, 6 Jul 2026 14:22:35 +0800 Subject: [PATCH 2/2] samples: tracing: increase timeslice for rtl87x2j_evb/rtl8762jth Add a board-specific Kconfig fragment to raise TIMESLICE_SIZE from 10ms to 30ms, providing sufficient headroom for application code to execute between scheduling events. Signed-off-by: Yuzhuo Liu --- samples/subsys/tracing/sample.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/subsys/tracing/sample.yaml b/samples/subsys/tracing/sample.yaml index 584a17d4417c9..4cb3d579590d7 100644 --- a/samples/subsys/tracing/sample.yaml +++ b/samples/subsys/tracing/sample.yaml @@ -91,5 +91,6 @@ tests: extra_args: - CONF_FILE="prj_gpio.conf" - EXTRA_DTC_OVERLAY_FILE="gpio.overlay" + - platform:rtl87x2j_evb/rtl8762jth:EXTRA_CONF_FILE="boards/rtl87x2j_evb_rtl8762jth.conf" integration_platforms: - native_sim