3cf2654141
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>
18 lines
286 B
Plaintext
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";
|
|
};
|