Skip to content

Commit dd805e7

Browse files
nordic-pikrnordic-piks
authored andcommitted
tests: zephyr: drivers: pwm: Enable pwm_api on nrf54ls05dk
Enable pwm_api test on nrf54ls05dk Signed-off-by: Piotr Krzyzanowski <piotr.krzyzanowski@nordicsemi.no>
1 parent 3c39ccd commit dd805e7

5 files changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2026 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(pwm_api)
10+
11+
FILE(GLOB app_sources ${ZEPHYR_BASE}/tests/drivers/pwm/pwm_api/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/drivers/pwm/pwm_api/Kconfig"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/ {
2+
aliases {
3+
pwm-test = &pwm20;
4+
};
5+
};
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_PWM=y
2+
CONFIG_ZTEST=y
3+
CONFIG_TEST_USERSPACE=y
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
tests:
2+
nrf.extended.drivers.pwm.pwm_api:
3+
tags:
4+
- drivers
5+
- pwm
6+
- ci_tests_zephyr_drivers_pwm
7+
filter: dt_alias_exists("pwm-test")
8+
depends_on: pwm
9+
platform_allow:
10+
- nrf54ls05dk/nrf54ls05b/cpuapp
11+
integration_platforms:
12+
- nrf54ls05dk/nrf54ls05b/cpuapp

0 commit comments

Comments
 (0)