zephyr/boards/arm/nucleo_l476rg
Gerard Marull-Paretas 4b9c3d7134 boards: arm: stm32: add pinctrl state name for UART peripheral
Add the pinctrl state name (default) for the UART/USART/LPUART
peripherals. Changes performed using the following Python script run
from the repository root:

```
from pathlib import Path
import re

for fpath in Path(".").glob("boards/arm/**/*.dts"):
    lines = open(fpath).readlines()

    is_stm32 = False
    for line in lines:
        if "stm32" in line:
            is_stm32 = True
            break

    if not is_stm32:
        continue

    with open(fpath, "w") as f:
        for line in lines:
            f.write(line)

            m = re.match(r"(\s+)pinctrl-0.*us?art.*", line)
            if m:
                f.write(m.group(1) + "pinctrl-names = \"default\";\n")
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-11-26 11:36:42 +01:00
..
doc boards: arm: nucleo_l476rg: add Arduino SPI support 2021-06-29 11:32:15 -04:00
support boards: arm: fix openocd.cfg for nucleo_l476rg 2018-11-06 16:17:21 -05:00
arduino_r3_connector.dtsi boards: arm: nucleo_l476rg arduino spi 2021-02-15 08:09:51 -05:00
board.cmake boards: arm: st, stm32: add jlink runner args 2019-04-19 13:56:28 -05:00
Kconfig.board kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.defconfig drivers: pwm: stm32: remove remaining Kconfig instances 2020-05-05 10:52:51 -05:00
nucleo_l476rg.dts boards: arm: stm32: add pinctrl state name for UART peripheral 2021-11-26 11:36:42 +01:00
nucleo_l476rg.yaml boards: arm: nucleo_l476rg arduino spi 2021-02-15 08:09:51 -05:00
nucleo_l476rg_defconfig boards: arm: stm32: enable pinctrl driver 2021-11-26 11:36:42 +01:00