Skip to content

Commit 25ae44a

Browse files
Hi-Im-Davidrlubos
authored andcommitted
tests: zephyr: drivers: clock_control: Add nrf_clock_control
Runs on nrf7120 which has had support added for testing the auxpll. Signed-off-by: David Jewsbury <[email protected]>
1 parent f88a042 commit 25ae44a

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
cmake_minimum_required(VERSION 3.20.0)
8+
9+
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10+
project(nrf_clock_control)
11+
12+
FILE(GLOB app_sources ${ZEPHYR_BASE}/tests/drivers/clock_control/nrf_clock_control/src/*.c)
13+
target_sources(app PRIVATE ${app_sources})
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/drivers/clock_control/nrf_clock_control.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_ZTEST=y
2+
3+
CONFIG_CLOCK_CONTROL=y
4+
CONFIG_LOG=y
5+
CONFIG_CLOCK_CONTROL_LOG_LEVEL_DBG=y
6+
CONFIG_LOCAL_DOMAIN_DVFS_LIB_LOG_LEVEL_DBG=y
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
tests:
2+
nrf.extended.drivers.clock.nrf_clock_control:
3+
tags:
4+
- drivers
5+
- clock_control
6+
- ci_tests_zephyr_drivers_clock_control
7+
platform_allow:
8+
- nrf7120pdk/nrf7120/cpuapp

0 commit comments

Comments
 (0)