Skip to content

Commit 5618b0d

Browse files
committed
boards: arm: stm32: enable pinctrl driver
Enable the pin control driver on all STM32 based boards. The following script has been used to do this task: ``` from pathlib import Path import re for fpath in Path(".").glob("boards/arm/**/*_defconfig"): lines = open(fpath).readlines() is_stm32 = False for line in lines: if "CONFIG_SOC_SERIES_STM32" in line: is_stm32 = True break if not is_stm32: continue lines += ["\n", "# enable pin controller\n", "CONFIG_PINCTRL=y\n"] with open(fpath, "w") as f: f.writelines(lines) ``` Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent e69a0ed commit 5618b0d

File tree

111 files changed

+333
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+333
-0
lines changed

boards/arm/96b_aerocore2/96b_aerocore2_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ CONFIG_GPIO=y
2424

2525
# Enable Clocks
2626
CONFIG_CLOCK_CONTROL=y
27+
28+
# enable pin controller
29+
CONFIG_PINCTRL=y

boards/arm/96b_argonkey/96b_argonkey_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ CONFIG_CLOCK_CONTROL=y
2424
# console
2525
CONFIG_CONSOLE=y
2626
CONFIG_UART_CONSOLE=y
27+
28+
# enable pin controller
29+
CONFIG_PINCTRL=y

boards/arm/96b_avenger96/96b_avenger96_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ CONFIG_RAM_CONSOLE_BUFFER_SIZE=1024
2727

2828
# uart console (overrides remote proc console)
2929
CONFIG_UART_CONSOLE=n
30+
31+
# enable pin controller
32+
CONFIG_PINCTRL=y

boards/arm/96b_carbon/96b_carbon_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ CONFIG_GPIO=y
2323

2424
# Enable Clocks
2525
CONFIG_CLOCK_CONTROL=y
26+
27+
# enable pin controller
28+
CONFIG_PINCTRL=y

boards/arm/96b_neonkey/96b_neonkey_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ CONFIG_CLOCK_CONTROL=y
2424
# console
2525
CONFIG_CONSOLE=y
2626
CONFIG_UART_CONSOLE=y
27+
28+
# enable pin controller
29+
CONFIG_PINCTRL=y

boards/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ CONFIG_GPIO=y
2323

2424
# Enable Clocks
2525
CONFIG_CLOCK_CONTROL=y
26+
27+
# enable pin controller
28+
CONFIG_PINCTRL=y

boards/arm/96b_wistrio/96b_wistrio_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ CONFIG_CLOCK_CONTROL=y
2222
# console
2323
CONFIG_CONSOLE=y
2424
CONFIG_UART_CONSOLE=y
25+
26+
# enable pin controller
27+
CONFIG_PINCTRL=y

boards/arm/adafruit_feather_stm32f405/adafruit_feather_stm32f405_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ CONFIG_GPIO=y
2323

2424
# Enable Clocks
2525
CONFIG_CLOCK_CONTROL=y
26+
27+
# enable pin controller
28+
CONFIG_PINCTRL=y

boards/arm/b_l072z_lrwan1/b_l072z_lrwan1_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ CONFIG_PINMUX=y
2525

2626
# GPIO Controller
2727
CONFIG_GPIO=y
28+
29+
# enable pin controller
30+
CONFIG_PINCTRL=y

boards/arm/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ CONFIG_CLOCK_CONTROL=y
1818
# console
1919
CONFIG_CONSOLE=y
2020
CONFIG_UART_CONSOLE=y
21+
22+
# enable pin controller
23+
CONFIG_PINCTRL=y

0 commit comments

Comments
 (0)