zephyr/samples/drivers/led_pwm/boards/nucleo_u575zi_q.overlay
Francois Ramu 3cf2654141 samples: drivers: led pwm running on 2 pwm leds on nucleo_u575
Add the overlay file to run the samples/drivers/led_pwm
on the nucelo_u575zi_q board.
Two green leds are used on pc7 and pb7 corresponding to pwm
channels of timers3 and timers4.
The leds node has to be disabled to let the pin for the pwm nodes.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-02-20 09:47:18 +01:00

18 lines
286 B
Plaintext

/*
* Copyright (c) 2023 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
/* do not define the leds on the pc7 and pb7 but pwmleds */
leds {
status = "disabled";
};
};
&pwmleds {
/* NOTE: enable here because it is disabled by default */
status = "okay";
};