Skip to content

Commit 05c4873

Browse files
committed
applications: nrf_desktop: nrf54h20: remove pwmleds DTS node
Removed the pwmleds DTS node to prevent the CONFIG_LED_PWM and CONFIG_CAF_LEDS_PWM Kconfig options from being enabled for the nrf54h20dk/nrf54h20/cpuapp board target of the nRF Desktop application. This change addresses the application runtime issues where PWM LEDs definitions in DTS were used by the CAF LEDs module instead of the GPIO definitions. Ref: NCSDK-35587 Signed-off-by: Kamil Piszczek <[email protected]>
1 parent 4192fe7 commit 05c4873

File tree

1 file changed

+9
-1
lines changed
  • applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp

1 file changed

+9
-1
lines changed

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/app_common.dtsi

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
#include "memory_map.dtsi"
88

99
/ {
10-
/* Redefine leds to fit CAF requirements. */
10+
/* Redefine leds to fit CAF requirements.
11+
* Remove the pwmleds DTS node to prevent the CONFIG_LED_PWM and CONFIG_CAF_LEDS_PWM Kconfig
12+
* options from being enabled.
13+
*/
14+
/delete-node/ pwmleds;
1115
/delete-node/ leds;
1216

1317
leds0 {
@@ -53,6 +57,10 @@
5357
label = "Green LED 3";
5458
};
5559
};
60+
61+
aliases {
62+
/delete-property/ pwm-led0;
63+
};
5664
};
5765

5866
/* Define the necessary aliases for the MCUboot slots that will be used by the DFU transports.

0 commit comments

Comments
 (0)