boards: arm: stm32l073, stm32f091 stm32g474 nucleo board has pwm feature

This adds the pwm feature to the nucleo_f091rc and nucleo_l073rz
and change the pin for nucleo_g474re from STMicroelectronics.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-03-04 12:28:00 +01:00 committed by Anas Nashif
commit 08e3ce0ebc
6 changed files with 11 additions and 2 deletions

View file

@ -92,6 +92,8 @@ The Zephyr nucleo_f091rc board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| COUNTER | on-chip | rtc |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c controller |
@ -136,8 +138,9 @@ Default Zephyr Peripheral Mapping:
- SPI1 SCK/MISO/MOSI : PA5/PA6/PA7 (Arduino SPI)
- SPI2 SCK/MISO/MOSI : PB13/PB14/PB15
- USER_PB : PC13
- LD1 : PA5
- LD2 : PA5
- DAC_OUT1 : PA4
- PWM_2_CH1 : PA5 (might conflict with SPI1)
For mode details please refer to `STM32 Nucleo-64 board User Manual`_.

View file

@ -21,6 +21,7 @@ supported:
- adc
- dac
- dma
- pwm
testing:
ignore_tags:
- net

View file

@ -163,6 +163,7 @@ Default Zephyr Peripheral Mapping:
- SPI_3_SCK : PC10
- SPI_3_MISO : PC11
- SPI_3_MOSI : PC12
- PWM_2_CH1 : PA5 (might conflict with SPI1)
- PWM_3_CH1 : PB4
- USER_PB : PC13
- LD2 : PA5

View file

@ -122,7 +122,7 @@
pwm2: pwm {
status = "okay";
pinctrl-0 = <&tim2_ch3_pb10>;
pinctrl-0 = <&tim2_ch1_pa5>;
pinctrl-names = "default";
};
};

View file

@ -94,6 +94,8 @@ The Zephyr nucleo_l073rz board configuration supports the following hardware fea
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller |
@ -130,6 +132,7 @@ Default Zephyr Peripheral Mapping:
- USER_PB : PC13
- LD2 : PA5
- DAC : PA4
- PWM_2_CH1 : PA5 (might conflict with SPI1)
For mode details please refer to `STM32 Nucleo-64 board User Manual`_.

View file

@ -18,3 +18,4 @@ supported:
- watchdog
- adc
- dac
- pwm