diff --git a/samples/basic/blinky_pwm/boards/nucleo_l4r5zi.overlay b/samples/basic/blinky_pwm/boards/nucleo_l4r5zi.overlay index a0192785994f..acfca5fc91ec 100644 --- a/samples/basic/blinky_pwm/boards/nucleo_l4r5zi.overlay +++ b/samples/basic/blinky_pwm/boards/nucleo_l4r5zi.overlay @@ -8,6 +8,10 @@ status = "okay"; }; +&timers1 { + st,prescaler = <10000>; +}; + &pwm1 { status = "okay"; }; diff --git a/samples/drivers/led/pwm/boards/nucleo_l4r5zi.overlay b/samples/drivers/led/pwm/boards/nucleo_l4r5zi.overlay new file mode 100644 index 000000000000..4f5e0831efbb --- /dev/null +++ b/samples/drivers/led/pwm/boards/nucleo_l4r5zi.overlay @@ -0,0 +1,23 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright (c) 2022 STMicroelectronics + */ + +/ { + leds { + status = "disabled"; + }; +}; + +&pwmleds { + status = "okay"; +}; + +&timers1 { + st,prescaler = <10000>; +}; + +&pwm1 { + status = "okay"; +};