-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: pwm: Add nrf54h20_cpuppr target to PWM test
Added nrf54h20dk_cpuppr target to pwm_api test. Signed-off-by: Michał Stasiak <[email protected]>
- Loading branch information
1 parent
054f89f
commit d7dec7c
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
tests/drivers/pwm/pwm_api/boards/nrf54h20dk_nrf54h20_cpuppr.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
pwm_default: pwm_default { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
}; | ||
}; | ||
pwm_sleep: pwm_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
&pwm130 { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_default>; | ||
pinctrl-1 = <&pwm_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; |
25 changes: 25 additions & 0 deletions
25
tests/drivers/pwm/pwm_api/sysbuild/vpr_launcher/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
pwm_default: pwm_default { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
}; | ||
}; | ||
pwm_sleep: pwm_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
&pwm130 { | ||
pinctrl-0 = <&pwm_default>; | ||
pinctrl-1 = <&pwm_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; | ||
Check warning on line 25 in tests/drivers/pwm/pwm_api/sysbuild/vpr_launcher/boards/nrf54h20dk_nrf54h20_cpuapp.overlay GitHub Actions / Run compliance checks on patch series (PR)MISSING_EOF_NEWLINE
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# nothing here |