Skip to content

Commit 21d0a3b

Browse files
mmahadevan108nashif
authored andcommitted
tests: pwm: Add support for SCTimer PWM on FRDM-MCXN947
Add overlay files to enable test of PWM over SCTimer. Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 488e4bb commit 21d0a3b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* Disable flexpwm node as it is mapped to pwm-0 alias which is picked up first by the test.
8+
* PWM signal is visible on J9-16.
9+
*/
10+
&flexpwm1_pwm0 {
11+
status = "disabled";
12+
};

tests/drivers/pwm/pwm_api/testcase.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ tests:
2525
extra_args: DTC_OVERLAY_FILE="boards/nrf54h20dk_nrf54h20_cpuapp_fast.overlay"
2626
platform_allow:
2727
- nrf54h20dk/nrf54h20/cpuapp
28+
drivers.pwm.frdm_mcxn947_mcxn947_cpu0_sctimer:
29+
extra_args: DTC_OVERLAY_FILE="boards/frdm_mcxn947_mcxn947_cpu0_sctimer.overlay"
30+
platform_allow:
31+
- frdm_mcxn947/mcxn947/cpu0
32+
- frdm_mcxn947/mcxn947/cpu0/qspi

0 commit comments

Comments
 (0)