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
|
@ -76,7 +76,7 @@ config IOAPIC_MASK_RTE
|
|||
when the OS starts up, or a previous boot stage has done some IOAPIC
|
||||
configuration that needs to be preserved.
|
||||
|
||||
endif #LOAPIC
|
||||
endif # LOAPIC
|
||||
|
||||
config ARCV2_INTERRUPT_UNIT
|
||||
bool "ARCv2 Interrupt Unit"
|
||||
|
|
|
@ -11,7 +11,7 @@ config SAM0_EIC
|
|||
bool "External Interrupt Controller (EIC) Driver for SAM0 series devices"
|
||||
default y
|
||||
help
|
||||
Enable EIC driver for SAM0 series of devices. This is required for
|
||||
GPIO interrupt support.
|
||||
Enable EIC driver for SAM0 series of devices. This is required for
|
||||
GPIO interrupt support.
|
||||
|
||||
endif # SOC_FAMILY_SAM0
|
||||
|
|
|
@ -9,36 +9,36 @@
|
|||
menuconfig SHARED_IRQ
|
||||
bool "Shared interrupt driver"
|
||||
help
|
||||
Include shared interrupt support in system. Shared interrupt
|
||||
support is NOT required in most systems. If in doubt answer no.
|
||||
Include shared interrupt support in system. Shared interrupt
|
||||
support is NOT required in most systems. If in doubt answer no.
|
||||
|
||||
config SHARED_IRQ_NUM_CLIENTS
|
||||
int "The number of clients per instance"
|
||||
depends on SHARED_IRQ
|
||||
default 5
|
||||
help
|
||||
Configures the maximum number of clients allowed per shared
|
||||
instance of the shared interrupt driver. To conserve RAM set
|
||||
this value to the lowest practical value.
|
||||
Configures the maximum number of clients allowed per shared
|
||||
instance of the shared interrupt driver. To conserve RAM set
|
||||
this value to the lowest practical value.
|
||||
|
||||
config SHARED_IRQ_INIT_PRIORITY
|
||||
int "Shared IRQ init priority"
|
||||
depends on SHARED_IRQ
|
||||
default 45
|
||||
help
|
||||
Shared IRQ are initialized on POST_KERNEL init level. They
|
||||
have to be initialized before any device that uses them.
|
||||
Shared IRQ are initialized on POST_KERNEL init level. They
|
||||
have to be initialized before any device that uses them.
|
||||
|
||||
config SHARED_IRQ_0
|
||||
bool "Shared interrupt instance 0"
|
||||
depends on SHARED_IRQ
|
||||
help
|
||||
Provide an instance of the shared interrupt driver when system
|
||||
configuration requires that multiple devices share an interrupt.
|
||||
Provide an instance of the shared interrupt driver when system
|
||||
configuration requires that multiple devices share an interrupt.
|
||||
|
||||
config SHARED_IRQ_1
|
||||
bool "Shared interrupt instance 1"
|
||||
depends on SHARED_IRQ
|
||||
help
|
||||
Provide an instance of the shared interrupt driver when system
|
||||
configuration requires that multiple devices share an interrupt.
|
||||
Provide an instance of the shared interrupt driver when system
|
||||
configuration requires that multiple devices share an interrupt.
|
||||
|
|
|
@ -11,7 +11,7 @@ config EXTI_STM32
|
|||
bool "External Interrupt/Event Controller (EXTI) Driver for STM32 family of MCUs"
|
||||
default y if SOC_FAMILY_STM32
|
||||
help
|
||||
Enable EXTI driver for STM32 line of MCUs
|
||||
Enable EXTI driver for STM32 line of MCUs
|
||||
|
||||
config EXTI_STM32_EXTI1_0_IRQ_PRI
|
||||
int "EXTI1:0 IRQ priority"
|
||||
|
@ -19,7 +19,7 @@ config EXTI_STM32_EXTI1_0_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI1:0 interrupt
|
||||
IRQ priority of EXTI1:0 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI3_2_IRQ_PRI
|
||||
int "EXTI3:2 IRQ priority"
|
||||
|
@ -27,7 +27,7 @@ config EXTI_STM32_EXTI3_2_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI3:2 interrupt
|
||||
IRQ priority of EXTI3:2 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI15_4_IRQ_PRI
|
||||
int "EXTI15:4 IRQ priority"
|
||||
|
@ -35,7 +35,7 @@ config EXTI_STM32_EXTI15_4_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F0X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32G0X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI15:4 interrupt
|
||||
IRQ priority of EXTI15:4 interrupt
|
||||
|
||||
if SOC_SERIES_STM32F0X!=y && SOC_SERIES_STM32L0X!=y && SOC_SERIES_STM32G0X!=y
|
||||
|
||||
|
@ -44,35 +44,35 @@ config EXTI_STM32_EXTI0_IRQ_PRI
|
|||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI0 interrupt
|
||||
IRQ priority of EXTI0 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI1_IRQ_PRI
|
||||
int "EXTI1 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI1 interrupt
|
||||
IRQ priority of EXTI1 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI2_IRQ_PRI
|
||||
int "EXTI2 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI2 interrupt
|
||||
IRQ priority of EXTI2 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI3_IRQ_PRI
|
||||
int "EXTI3 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI3 interrupt
|
||||
IRQ priority of EXTI3 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI4_IRQ_PRI
|
||||
int "EXTI4 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI4 interrupt
|
||||
IRQ priority of EXTI4 interrupt
|
||||
|
||||
if SOC_SERIES_STM32MP1X
|
||||
config EXTI_STM32_EXTI5_IRQ_PRI
|
||||
|
@ -80,77 +80,77 @@ config EXTI_STM32_EXTI5_IRQ_PRI
|
|||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI5 interrupt
|
||||
IRQ priority of EXTI5 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI6_IRQ_PRI
|
||||
int "EXTI6 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI6 interrupt
|
||||
IRQ priority of EXTI6 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI7_IRQ_PRI
|
||||
int "EXTI7 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI7 interrupt
|
||||
IRQ priority of EXTI7 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI8_IRQ_PRI
|
||||
int "EXTI8 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI8 interrupt
|
||||
IRQ priority of EXTI8 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI9_IRQ_PRI
|
||||
int "EXTI9 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI9 interrupt
|
||||
IRQ priority of EXTI9 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI10_IRQ_PRI
|
||||
int "EXTI10 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI10 interrupt
|
||||
IRQ priority of EXTI10 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI11_IRQ_PRI
|
||||
int "EXTI11 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI11 interrupt
|
||||
IRQ priority of EXTI11 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI12_IRQ_PRI
|
||||
int "EXTI12 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI12 interrupt
|
||||
IRQ priority of EXTI12 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI13_IRQ_PRI
|
||||
int "EXTI13 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI13 interrupt
|
||||
IRQ priority of EXTI13 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI14_IRQ_PRI
|
||||
int "EXTI14 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI14 interrupt
|
||||
IRQ priority of EXTI14 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI15_IRQ_PRI
|
||||
int "EXTI15 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI15 interrupt
|
||||
IRQ priority of EXTI15 interrupt
|
||||
|
||||
endif # SOC_SERIES_STM32MP1X
|
||||
|
||||
|
@ -160,14 +160,14 @@ config EXTI_STM32_EXTI9_5_IRQ_PRI
|
|||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI9:5 interrupt
|
||||
IRQ priority of EXTI9:5 interrupt
|
||||
|
||||
config EXTI_STM32_EXTI15_10_IRQ_PRI
|
||||
int "EXTI15:10 IRQ priority"
|
||||
depends on EXTI_STM32
|
||||
default 0
|
||||
help
|
||||
IRQ priority of EXTI15:10 interrupt
|
||||
IRQ priority of EXTI15:10 interrupt
|
||||
endif # SOC_SERIES_STM32MP1X!=y
|
||||
|
||||
endif # SOC_SERIES_STM32F0X!=y && SOC_SERIES_STM32L0X!=y && SOC_SERIES_STM32G0X!=y
|
||||
|
@ -178,7 +178,7 @@ config EXTI_STM32_PVD_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X || SOC_SERIES_STM32G0X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of RVD Through interrupt
|
||||
IRQ priority of RVD Through interrupt
|
||||
|
||||
config EXTI_STM32_OTG_FS_WKUP_IRQ_PRI
|
||||
int "USB OTG FS Wake Up IRQ priority"
|
||||
|
@ -186,7 +186,7 @@ config EXTI_STM32_OTG_FS_WKUP_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of USB OTG FS Wake interrupt
|
||||
IRQ priority of USB OTG FS Wake interrupt
|
||||
|
||||
config EXTI_STM32_TAMP_STAMP_IRQ_PRI
|
||||
int "Tamper and Timestamp IRQ priority"
|
||||
|
@ -194,7 +194,7 @@ config EXTI_STM32_TAMP_STAMP_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of Tamper and Timestamp interrupt
|
||||
IRQ priority of Tamper and Timestamp interrupt
|
||||
|
||||
config EXTI_STM32_RTC_WKUP_IRQ_PRI
|
||||
int "RTC Wake Up IRQ priority"
|
||||
|
@ -202,7 +202,7 @@ config EXTI_STM32_RTC_WKUP_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32F2X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of RTC Wake Up interrupt
|
||||
IRQ priority of RTC Wake Up interrupt
|
||||
|
||||
config EXTI_STM32_LPTIM1_IRQ_PRI
|
||||
int "LPTIM1 IRQ priority"
|
||||
|
@ -210,6 +210,6 @@ config EXTI_STM32_LPTIM1_IRQ_PRI
|
|||
depends on SOC_SERIES_STM32F7X
|
||||
default 0
|
||||
help
|
||||
IRQ priority of LPTIM1 interrupt
|
||||
IRQ priority of LPTIM1 interrupt
|
||||
|
||||
endif # SOC_FAMILY_STM32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue