From 70ab01a20ba1cb04e93fba53ef569b420e5ac7b7 Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 18 Aug 2023 11:09:53 +0200 Subject: [PATCH] Fix Kconfig style Replace help => ---help--- Remove spaces from Kconfig Add comments --- Kconfig | 2 +- arch/arm/src/nrf53/Kconfig | 18 +++++++++--------- drivers/math/Kconfig | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Kconfig b/Kconfig index b9023adc90..6625a3914e 100644 --- a/Kconfig +++ b/Kconfig @@ -2114,7 +2114,7 @@ config STACK_USAGE config STACK_USAGE_WARNING int "Detect use of large stack variables" default 0 - help + ---help--- Set the stack warning threshold, if the stack usage exceeds the threshold, a warning will be generated diff --git a/arch/arm/src/nrf53/Kconfig b/arch/arm/src/nrf53/Kconfig index 1d46ad3667..8775d62db2 100644 --- a/arch/arm/src/nrf53/Kconfig +++ b/arch/arm/src/nrf53/Kconfig @@ -343,7 +343,7 @@ config NRF53_LFCLK_RC config NRF53_LFCLK_SYNTH bool "Synthesized from HFCLK" -endchoice +endchoice # LFCLK source endif # NRF53_USE_LFCLK @@ -369,7 +369,7 @@ config NRF53_HFCLK192M_96 config NRF53_HFCLK192M_48 bool "HFCLK192M is 48MHz" -endchoice +endchoice # HFCLK192M source endif # NRF53_USE_HFCLK192M @@ -418,7 +418,7 @@ config NRF53_SYSTIMER_RTC ---help--- Use RTC timer in tickless mode. -endchoice +endchoice # System Timer Source if NRF53_SYSTIMER_RTC @@ -430,7 +430,7 @@ config NRF53_SYSTIMER_RTC_INSTANCE ---help--- Which RTC instance to use to drive the system timer -endif +endif # NRF53_SYSTIMER_RTC endmenu # System Timer @@ -656,9 +656,9 @@ config NRF53_SPI_MASTER_INTERRUPTS bool "SPI Master interrupts support" default n -endif # NRF53_SPI_MASTER +endif # NRF53_SPI_MASTER -endmenu +endmenu # SPI Configuration menu "I2C Master Configuration" @@ -696,7 +696,7 @@ config NRF53_I2C_MASTER_WORKAROUND_400KBPS_TIMING endif # NRF53_I2C_MASTER -endmenu +endmenu # I2C Master Configuration menu "QSPI Configuration" @@ -776,7 +776,7 @@ config NRF53_SDC_SCAN_BUFFER_COUNT ---help--- The minimum allowed number of buffers is 2. -endif +endif # NRF53_SDC_SCANNING config NRF53_SDC_LE_2M_PHY bool "Support LE 2M PHY" @@ -804,4 +804,4 @@ config NRF53_SDC_PUB_ADDR hex "Configure BT public address" default 0x0000000000 -endif +endif # NRF53_SOFTDEVICE_CONTROLLER diff --git a/drivers/math/Kconfig b/drivers/math/Kconfig index 6615a32537..53e87638e4 100644 --- a/drivers/math/Kconfig +++ b/drivers/math/Kconfig @@ -21,9 +21,9 @@ choice config MATH_CORDIC_USE_Q31 bool "CORDIC uses Q1.31" -endchoice +endchoice # MATH CORDIC numeric type -endif +endif # MATH_CORDIC config MATH_FFT bool "MATH FFT support" @@ -32,4 +32,4 @@ config MATH_FFT This selection enables building of the "upper-half" FFT driver. See include/nuttx/math/fft.h for further FFT driver information. -endmenu # MATH Acceleration Information +endmenu # MATH Acceleration Information