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>
|
||
|---|---|---|
| .. | ||
| atsamd21_xpro.overlay | ||
| atsame54_xpro.overlay | ||
| atsamr21_xpro.overlay | ||
| disco_l475_iot1.overlay | ||
| nrf9160dk_nrf9160.conf | ||
| nrf9160dk_nrf9160.overlay | ||
| nrf52840dk_nrf52840.overlay | ||
| nucleo_f103rb.overlay | ||
| nucleo_f207zg.overlay | ||
| nucleo_f429zi.overlay | ||
| nucleo_g071rb.overlay | ||
| nucleo_g474re.overlay | ||
| nucleo_h723zg.conf | ||
| nucleo_h723zg.overlay | ||
| nucleo_l4r5zi.overlay | ||
| nucleo_l152re.overlay | ||
| nucleo_l552ze_q_ns.overlay | ||
| nucleo_l552ze_q.overlay | ||
| segger_rtt.overlay | ||
| stm32f3_disco.overlay | ||
| stm32l562e_dk_ns.overlay | ||
| stm32l562e_dk.overlay | ||