This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f12c4e05cc Fix Kconfig style
f12c4e05cc is described below

commit f12c4e05cc36b56794c11c9ba8eba2feec3640b8
Author: simbit18 <[email protected]>
AuthorDate: Thu Jul 11 17:48:17 2024 +0200

    Fix Kconfig style
    
    Remove spaces from Kconfig files
    Add TABs
    Replace help => ---help---
    Remove extra TABs
---
 Kconfig                                  | 12 ++++++------
 arch/arm/src/cxd32xx/Kconfig             |  2 +-
 arch/arm/src/stm32h7/Kconfig             |  8 ++++----
 arch/arm64/src/imx9/Kconfig              |  2 +-
 arch/risc-v/src/common/espressif/Kconfig |  2 +-
 arch/risc-v/src/k230/Kconfig             |  4 ++--
 arch/sim/Kconfig                         | 12 ++++++------
 drivers/power/pm/Kconfig                 |  2 +-
 8 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/Kconfig b/Kconfig
index 2f9a933011..027fda7b5c 100644
--- a/Kconfig
+++ b/Kconfig
@@ -2500,12 +2500,12 @@ config DEBUG_OPT_UNUSED_SECTIONS
                linking with " --gc-sections ".
 
 config DEBUG_LINK_WHOLE_ARCHIVE
-       bool "Force every object to be included in the resulting shared 
library."
-       default n
-       depends on DEBUG_OPT_UNUSED_SECTIONS
-       ---help---
-               Selecting this option will pass "--whole-archive" to ld
-               when linking NuttX ELF.
+       bool "Force every object to be included in the resulting shared 
library."
+       default n
+       depends on DEBUG_OPT_UNUSED_SECTIONS
+       ---help---
+               Selecting this option will pass "--whole-archive" to ld
+               when linking NuttX ELF.
 
 config DEBUG_LINK_MAP
        bool "Generate link map file"
diff --git a/arch/arm/src/cxd32xx/Kconfig b/arch/arm/src/cxd32xx/Kconfig
index 09ece5f930..b4946e2a62 100644
--- a/arch/arm/src/cxd32xx/Kconfig
+++ b/arch/arm/src/cxd32xx/Kconfig
@@ -6,7 +6,7 @@
 menu "Peripheral Support"
 
 config CXD32_UART0
-    bool "UART0"
+       bool "UART0"
        default y
        select UART0_SERIALDRIVER
        select ARCH_HAVE_SERIAL_TERMIOS
diff --git a/arch/arm/src/stm32h7/Kconfig b/arch/arm/src/stm32h7/Kconfig
index d7f8a6924a..91c66280aa 100644
--- a/arch/arm/src/stm32h7/Kconfig
+++ b/arch/arm/src/stm32h7/Kconfig
@@ -298,11 +298,11 @@ choice
        default STM32H7_PWR_DEFAULT_SUPPLY
        depends on STM32H7_HAVE_SMPS && !STM32H7_HAVE_PWR_DIRECT_SMPS_SUPPLY
        ---help---
-           The STM32H7x5 and STM32H7x7 support power supply configrations for 
the VCORE core domain and an external supply,
-           by configuring the SMPS step-down converter and voltage regulator.
-           Note:The SMPS step-down converter is not available on all packages.
+               The STM32H7x5 and STM32H7x7 support power supply configrations 
for the VCORE core domain and an external supply,
+               by configuring the SMPS step-down converter and voltage 
regulator.
+               Note:The SMPS step-down converter is not available on all 
packages.
 
-           Currenlty the only supported modes are Direct SMPS supply and LDO 
supply.
+               Currenlty the only supported modes are Direct SMPS supply and 
LDO supply.
 
 config STM32H7_PWR_DEFAULT_SUPPLY
        bool "Default"
diff --git a/arch/arm64/src/imx9/Kconfig b/arch/arm64/src/imx9/Kconfig
index 867098a866..c82c818790 100644
--- a/arch/arm64/src/imx9/Kconfig
+++ b/arch/arm64/src/imx9/Kconfig
@@ -233,7 +233,7 @@ config IMX9_SERIAL_RXDMA_BUFFER_SIZE
        int "RX DMA buffer size"
        default 64
        depends on LPUART1_RXDMA || LPUART2_RXDMA || LPUART3_RXDMA || 
LPUART4_RXDMA || \
-                  LPUART5_RXDMA || LPUART6_RXDMA || LPUART7_RXDMA || 
LPUART8_RXDMA
+               LPUART5_RXDMA || LPUART6_RXDMA || LPUART7_RXDMA || LPUART8_RXDMA
        ---help---
                The DMA buffer size when using RX DMA to emulate a FIFO.
 
diff --git a/arch/risc-v/src/common/espressif/Kconfig 
b/arch/risc-v/src/common/espressif/Kconfig
index 233fb43dce..36dab91aad 100644
--- a/arch/risc-v/src/common/espressif/Kconfig
+++ b/arch/risc-v/src/common/espressif/Kconfig
@@ -414,7 +414,7 @@ config ESPRESSIF_XTWDT_TIMEOUT
        depends on ESPRESSIF_XTWDT
        range 1 255
        default 200
-       help
+       ---help---
                Timeout period configuration for the XTAL32K watchdog timer 
based on RTC_CLK.
 
 config ESPRESSIF_XTWDT_BACKUP_CLK_ENABLE
diff --git a/arch/risc-v/src/k230/Kconfig b/arch/risc-v/src/k230/Kconfig
index 39f8011ff5..baaabfa071 100644
--- a/arch/risc-v/src/k230/Kconfig
+++ b/arch/risc-v/src/k230/Kconfig
@@ -14,13 +14,13 @@ config K230_RPTUN_SHM_ADDR
        hex "RPTUN share memory address"
        default 0x80200000
        ---help---
-                RPTUN shared memory start address.
+               RPTUN shared memory start address.
 
 config K230_RPTUN_SHM_SIZE
        int "RPTUN share memory size"
        default 32768
        ---help---
-                RPTUN shared memory size in bytes.
+               RPTUN shared memory size in bytes.
 
 config K230_RPTUN_IPI_DEV
        int "IPI device num for RPTUN purpose"
diff --git a/arch/sim/Kconfig b/arch/sim/Kconfig
index 2be924136e..f97853e1c9 100644
--- a/arch/sim/Kconfig
+++ b/arch/sim/Kconfig
@@ -231,12 +231,12 @@ config SIM_NETDEV_VPNKIT
 endchoice
 
 config SIM_NETDEV_MTU
-    int "The MTU of Simulated Network Device"
-    default 1500
-    range 1280 65535 if NET_IPv6
-    range 576 65535 if !NET_IPv6
-    ---help---
-        The MTU of the network devices.
+       int "The MTU of Simulated Network Device"
+       default 1500
+       range 1280 65535 if NET_IPv6
+       range 576 65535 if !NET_IPv6
+       ---help---
+               The MTU of the network devices.
 
 config SIM_NETDEV_NUMBER
        int "Number of Simulated Network Device"
diff --git a/drivers/power/pm/Kconfig b/drivers/power/pm/Kconfig
index f8bf3d5b18..de6b24976d 100644
--- a/drivers/power/pm/Kconfig
+++ b/drivers/power/pm/Kconfig
@@ -119,7 +119,7 @@ config PM_GOVERNOR_STABILITY_SLEEP_THRESH
                only if remained for >=(ticks), allow goto sleep state.
                set to 0 disable stability check for sleep state.
 
-endif #  PM_GOVERNOR_STABILITY
+endif # PM_GOVERNOR_STABILITY
 
 if PM_GOVERNOR_ACTIVITY
 

Reply via email to