tests: drivers: pwm for stm32l073 and stm32f091 nucleo boards
The overlay are defined to run the tests/drivers pwm_api on the nucleo_l073rz,nucleo_f091rc. Note than pwm pb10 is for DTS definition purpose Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
2620c53771
commit
71f20d8b3e
2 changed files with 32 additions and 0 deletions
16
tests/drivers/pwm/pwm_api/boards/nucleo_f091rc.overlay
Normal file
16
tests/drivers/pwm/pwm_api/boards/nucleo_f091rc.overlay
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2021 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&timers2 {
|
||||
st,prescaler = <10000>;
|
||||
status = "okay";
|
||||
|
||||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch3_pb10>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
16
tests/drivers/pwm/pwm_api/boards/nucleo_l073rz.overlay
Normal file
16
tests/drivers/pwm/pwm_api/boards/nucleo_l073rz.overlay
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright (c) 2021 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&timers2 {
|
||||
st,prescaler = <10000>;
|
||||
status = "okay";
|
||||
|
||||
pwm2: pwm {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&tim2_ch3_pb10>;
|
||||
pinctrl-names = "default";
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue