Skip to content

Commit 5723de5

Browse files
nordic-seglgmarull
authored andcommitted
tests: zephyr: kernel: timer: Run test on renamed boards
Run timer_behavior test on nrf54lm20apdk and nrf54lv10apdk. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 52f4e92 commit 5723de5

File tree

9 files changed

+44
-0
lines changed

9 files changed

+44
-0
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@
942942
/tests/zephyr/drivers/timer/ @nrfconnect/ncs-low-level-test
943943
/tests/zephyr/drivers/uart/ @nrfconnect/ncs-low-level-test
944944
/tests/zephyr/drivers/watchdog/ @nrfconnect/ncs-low-level-test
945+
/tests/zephyr/kernel/timer/timer_behavior/ @nrfconnect/ncs-low-level-test
945946

946947
/tests/benchmarks/multicore/idle/*.rst @nrfconnect/ncs-si-bluebagel-doc
947948
/tests/benchmarks/multicore/idle_gpio/*.rst @nrfconnect/ncs-si-bluebagel-doc

scripts/ci/tags.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1519,3 +1519,8 @@ ci_tests_zephyr_drivers_clock_control:
15191519
files:
15201520
- nrf/tests/zephyr/drivers/clock_control/
15211521
- zephyr/tests/drivers/clock_control/
1522+
1523+
ci_tests_zephyr_kernel_timer_timer_behavior:
1524+
files:
1525+
- nrf/tests/zephyr/kernel/timer/timer_behavior/
1526+
- tests/zephyr/kernel/timer/timer_behavior/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
9+
project(timer_behavior)
10+
11+
FILE(GLOB app_sources ${ZEPHYR_BASE}/tests/kernel/timer/timer_behavior/src/*.c)
12+
target_sources(app PRIVATE ${app_sources})
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source "tests/kernel/timer/timer_behavior/Kconfig"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This sample extends the same-named Zephyr sample to verify it with Nordic development kits.
2+
3+
Source code and basic configuration files can be found in the corresponding folder structure in zephyr/tests/kernel/timer/timer_behavior.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=10000
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_SYS_CLOCK_TICKS_PER_SEC=10000
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_ZTEST=y
2+
CONFIG_CBPRINTF_FP_SUPPORT=y
3+
4+
# Make sure this is off. Otherwise a single 60-character line at
5+
# 115200 bauds would grab the printk lock and disable IRQs for more
6+
# than 5 ms screwing up timer latency statistics.
7+
CONFIG_PRINTK_SYNC=n
8+
CONFIG_GPIO=y
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
tests:
2+
nrf.extended.kernel.timer.timer:
3+
tags:
4+
- kernel
5+
- timer
6+
- ci_tests_zephyr_kernel_timer_timer_behavior
7+
platform_allow:
8+
- nrf54lm20apdk/nrf54lm20a/cpuapp
9+
- nrf54lv10apdk/nrf54lv10a/cpuapp
10+
integration_platforms:
11+
- nrf54lm20apdk/nrf54lm20a/cpuapp
12+
- nrf54lv10apdk/nrf54lv10a/cpuapp

0 commit comments

Comments
 (0)