Skip to content

Commit bc06d85

Browse files
adamkondraciukkartben
authored andcommitted
tests: kernel: timer: Align timer tests to nRF54
The new Nordic platforms use GRTC instead of RTC as the system timer. Also the nrf54h20 CPUPPR target does not have enough memory to execute the `timer_behavior` test. Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
1 parent b1f9351 commit bc06d85

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/kernel/timer/timer_api/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct timer_data {
2828
*/
2929
#define INEXACT_MS_CONVERT ((CONFIG_SYS_CLOCK_TICKS_PER_SEC % MSEC_PER_SEC) != 0)
3030

31-
#if CONFIG_NRF_RTC_TIMER
31+
#if CONFIG_NRF_RTC_TIMER || CONFIG_NRF_GRTC_TIMER
3232
/* On Nordic SOCs one or both of the tick and busy-wait clocks may
3333
* derive from sources that have slews that sum to +/- 13%.
3434
*/

tests/kernel/timer/timer_behavior/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ tests:
1313
regex:
1414
- "RECORD:(?P<metrics>.*)"
1515
as_json: ['metrics']
16+
platform_exclude:
17+
- nrf54h20dk/nrf54h20/cpuppr
1618
kernel.timer.timer_behavior_external:
1719
tags:
1820
- kernel

0 commit comments

Comments
 (0)