kconfig: Global whitespace/consistency cleanup
Clean up space errors and use a consistent style throughout the Kconfig files. This makes reading the Kconfig files more distraction-free, helps with grepping, and encourages the same style getting copied around everywhere (meaning another pass hopefully won't be needed). Go for the most common style: - Indent properties with a single tab, including for choices. Properties on choices work exactly the same syntactically as properties on symbols, so not sure how the no-indentation thing happened. - Indent help texts with a tab followed by two spaces - Put a space between 'config' and the symbol name, not a tab. This also helps when grepping for definitions. - Do '# A comment' instead of '#A comment' I tweaked Kconfiglib a bit to find most of the stuff. Some help texts were reflowed to 79 columns with 'gq' in Vim as well, though not all, because I was afraid I'd accidentally mess up formatting. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
9555f82d28
commit
975de21858
197 changed files with 657 additions and 658 deletions
|
@ -18,14 +18,14 @@ if CLOCK_CONTROL
|
|||
config CLOCK_CONTROL_STM32_CUBE
|
||||
default y
|
||||
|
||||
endif #CLOCK_CONTROL
|
||||
endif # CLOCK_CONTROL
|
||||
|
||||
if SERIAL
|
||||
|
||||
config UART_STM32
|
||||
default y
|
||||
|
||||
endif #SERIAL
|
||||
endif # SERIAL
|
||||
|
||||
if GPIO
|
||||
|
||||
|
@ -41,14 +41,14 @@ config GPIO_STM32_PORTB
|
|||
config GPIO_STM32_PORTC
|
||||
default y
|
||||
|
||||
endif #GPIO
|
||||
endif # GPIO
|
||||
|
||||
if PINMUX
|
||||
|
||||
config PINMUX_STM32
|
||||
default y
|
||||
|
||||
endif #PINMUX
|
||||
endif # PINMUX
|
||||
|
||||
if WATCHDOG
|
||||
|
||||
|
|
|
@ -13,4 +13,4 @@ config SOC_SERIES_STM32F0X
|
|||
select CPU_CORTEX_M_HAS_SYSTICK
|
||||
select HAS_STM32CUBE
|
||||
help
|
||||
Enable support for STM32F0 MCU series
|
||||
Enable support for STM32F0 MCU series
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F0X
|
||||
prompt "STM32F0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F0X
|
||||
|
||||
config SOC_STM32F030X4
|
||||
bool "STM32F030X4"
|
||||
|
|
|
@ -12,4 +12,4 @@ config SOC_SERIES_STM32F1X
|
|||
select HAS_STM32CUBE
|
||||
select HAS_SWO
|
||||
help
|
||||
Enable support for STM32F1 MCU series
|
||||
Enable support for STM32F1 MCU series
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F1x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F1X
|
||||
prompt "STM32F1x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F1X
|
||||
|
||||
config SOC_STM32F103XE
|
||||
bool "STM32F103XE"
|
||||
|
@ -31,16 +31,16 @@ endchoice
|
|||
config SOC_STM32F10X_DENSITY_DEVICE
|
||||
bool
|
||||
help
|
||||
* Low density Value line devices
|
||||
* Medium density Value line devices
|
||||
* High density Value line devices
|
||||
* XL-density devices Value line devices
|
||||
* Low density Value line devices
|
||||
* Medium density Value line devices
|
||||
* High density Value line devices
|
||||
* XL-density devices Value line devices
|
||||
|
||||
config SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
|
||||
bool
|
||||
help
|
||||
Connectivity line devices are STM32F105xx and STM32F107xx
|
||||
microcontrollers. They are intended for applications where
|
||||
connectivity and real-time performances are required such as
|
||||
industrial control, control panels for security applications, UPS or
|
||||
home audio. For STM32F107xx also the Ethernet MAC is available.
|
||||
Connectivity line devices are STM32F105xx and STM32F107xx
|
||||
microcontrollers. They are intended for applications where
|
||||
connectivity and real-time performances are required such as
|
||||
industrial control, control panels for security applications, UPS or
|
||||
home audio. For STM32F107xx also the Ethernet MAC is available.
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F2X MCU Selection"
|
||||
depends on SOC_SERIES_STM32F2X
|
||||
prompt "STM32F2X MCU Selection"
|
||||
depends on SOC_SERIES_STM32F2X
|
||||
|
||||
config SOC_STM32F207XX
|
||||
bool "STM32F207XX"
|
||||
|
|
|
@ -13,4 +13,4 @@ config SOC_SERIES_STM32F3X
|
|||
select HAS_STM32CUBE
|
||||
select HAS_SWO
|
||||
help
|
||||
Enable support for STM32F3 MCU series
|
||||
Enable support for STM32F3 MCU series
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F3x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F3X
|
||||
prompt "STM32F3x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F3X
|
||||
|
||||
config SOC_STM32F302X8
|
||||
bool "STM32F302X8"
|
||||
|
|
|
@ -14,4 +14,4 @@ config SOC_SERIES_STM32F4X
|
|||
select CPU_HAS_ARM_MPU
|
||||
select HAS_SWO
|
||||
help
|
||||
Enable support for STM32F4 MCU series
|
||||
Enable support for STM32F4 MCU series
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F4X
|
||||
prompt "STM32F4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F4X
|
||||
|
||||
config SOC_STM32F401XC
|
||||
bool "STM32F401XC"
|
||||
|
|
|
@ -14,4 +14,4 @@ config SOC_SERIES_STM32F7X
|
|||
select CPU_HAS_ARM_MPU
|
||||
select HAS_SWO
|
||||
help
|
||||
Enable support for STM32F7 MCU series
|
||||
Enable support for STM32F7 MCU series
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32F7x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F7X
|
||||
prompt "STM32F7x MCU Selection"
|
||||
depends on SOC_SERIES_STM32F7X
|
||||
|
||||
config SOC_STM32F723XX
|
||||
bool "STM32F723XX"
|
||||
|
|
|
@ -7,11 +7,10 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32G0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32G0X
|
||||
prompt "STM32G0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32G0X
|
||||
|
||||
config SOC_STM32G071XX
|
||||
bool "STM32G071XX"
|
||||
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32G4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32G4X
|
||||
prompt "STM32G4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32G4X
|
||||
|
||||
config SOC_STM32G431XX
|
||||
bool "STM32G431XX"
|
||||
|
|
|
@ -14,15 +14,15 @@ config SOC_SERIES_STM32H7X
|
|||
select REQUIRES_FULL_LIBC
|
||||
select USE_STM32_HAL_RCC_EX if CPU_CORTEX_M4
|
||||
help
|
||||
Enable support for STM32H7 MCU series
|
||||
Enable support for STM32H7 MCU series
|
||||
|
||||
config STM32H7_DUAL_CORE
|
||||
bool "Enable Dual Core"
|
||||
depends on SOC_SERIES_STM32H7X
|
||||
|
||||
choice STM32H7_DUAL_CORE_BOOT
|
||||
prompt "STM32H7x Boot type selection"
|
||||
depends on STM32H7_DUAL_CORE
|
||||
prompt "STM32H7x Boot type selection"
|
||||
depends on STM32H7_DUAL_CORE
|
||||
|
||||
config STM32H7_BOOT_CM4_CM7
|
||||
bool "Boot both CM4 and CM7"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32H7x MCU Selection"
|
||||
depends on SOC_SERIES_STM32H7X
|
||||
prompt "STM32H7x MCU Selection"
|
||||
depends on SOC_SERIES_STM32H7X
|
||||
|
||||
config SOC_STM32H747XX
|
||||
bool "STM32H747XX"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32L0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L0X
|
||||
prompt "STM32L0x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L0X
|
||||
|
||||
config SOC_STM32L053XX
|
||||
bool "STM32L053XX"
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32L1x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L1X
|
||||
prompt "STM32L1x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L1X
|
||||
|
||||
config SOC_STM32L151X8A
|
||||
bool "STM32L151X8A"
|
||||
|
|
|
@ -15,4 +15,4 @@ config SOC_SERIES_STM32L4X
|
|||
select CPU_HAS_ARM_MPU
|
||||
select HAS_SWO
|
||||
help
|
||||
Enable support for STM32L4 MCU series
|
||||
Enable support for STM32L4 MCU series
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32L4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L4X
|
||||
prompt "STM32L4x MCU Selection"
|
||||
depends on SOC_SERIES_STM32L4X
|
||||
|
||||
config SOC_STM32L476XX
|
||||
bool "STM32L476X"
|
||||
|
|
|
@ -12,4 +12,4 @@ config SOC_SERIES_STM32MP1X
|
|||
select HAS_STM32CUBE
|
||||
select CPU_HAS_ARM_MPU
|
||||
help
|
||||
Enable support for STM32MP1 MPU series
|
||||
Enable support for STM32MP1 MPU series
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
|
||||
choice
|
||||
prompt "STM32MP1 MPU Selection"
|
||||
depends on SOC_SERIES_STM32MP1X
|
||||
prompt "STM32MP1 MPU Selection"
|
||||
depends on SOC_SERIES_STM32MP1X
|
||||
|
||||
config SOC_STM32MP15_M4
|
||||
bool "STM32MP15_M4"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue