Skip to content

Commit d91bad7

Browse files
nordic-baminordicjm
authored andcommitted
tests: drivers: pwm: Fix PWM events test
Fix incorrect DTS led assignemnt for ls05 Signed-off-by: Bartosz Miller <[email protected]>
1 parent 54dfbc5 commit d91bad7

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

tests/drivers/pwm/pwm_events/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ tst_timer: &timer131 {
1717
sink-channels = <1>;
1818
status = "okay";
1919
};
20+
21+
pwm_led: &led2 {
22+
status = "okay";
23+
};

tests/drivers/pwm/pwm_events/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ tst_timer: &timer20 {
1515
&dppic20 {
1616
status = "okay";
1717
};
18+
19+
pwm_led: &led2 {
20+
status = "okay";
21+
};

tests/drivers/pwm/pwm_events/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ tst_timer: &timer20 {
1515
&dppic20 {
1616
status = "okay";
1717
};
18+
19+
pwm_led: &led2 {
20+
status = "okay";
21+
};

tests/drivers/pwm/pwm_events/boards/nrf54ls05dk_nrf54ls05b_cpuapp.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ tst_timer: &timer20 {
1515
&dppic20 {
1616
status = "okay";
1717
};
18+
19+
pwm_led: &led0 {
20+
status = "okay";
21+
};

tests/drivers/pwm/pwm_events/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <nrfx_timer.h>
1111
#include <helpers/nrfx_gppi.h>
1212

13-
#define PWM_OUTPUT_PIN NRF_DT_GPIOS_TO_PSEL(DT_NODELABEL(led2), gpios)
13+
#define PWM_OUTPUT_PIN NRF_DT_GPIOS_TO_PSEL(DT_NODELABEL(pwm_led), gpios)
1414

1515
#define SLEEP_TIME_MS 500
1616

0 commit comments

Comments
 (0)