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

xiaoxiang 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 e4ffce3355 Fix Kconfig style
e4ffce3355 is described below

commit e4ffce33559521ac70f3bd3530245e63578839f3
Author: simbit18 <[email protected]>
AuthorDate: Mon May 22 12:20:06 2023 +0200

    Fix Kconfig style
    
    Remove spaces from Kconfig files
---
 Kconfig                                      |  2 +-
 arch/arm/src/gd32f4/Kconfig                  |  4 ++--
 arch/arm/src/imx6/Kconfig                    |  2 +-
 arch/arm/src/imxrt/Kconfig                   | 10 +++++-----
 arch/arm/src/lpc54xx/Kconfig                 |  2 +-
 arch/arm/src/max326xx/Kconfig                |  8 ++++----
 arch/arm/src/s32k1xx/Kconfig                 |  2 +-
 arch/arm/src/s32k3xx/Kconfig                 |  4 ++--
 arch/arm/src/stm32/Kconfig                   |  4 ++--
 arch/arm/src/stm32h7/Kconfig                 |  4 ++--
 arch/arm/src/tiva/Kconfig                    |  2 +-
 arch/sim/Kconfig                             |  2 +-
 boards/arm/imxrt/teensy-4.x/Kconfig          |  2 +-
 boards/arm/rp2040/raspberrypi-pico-w/Kconfig |  4 ++--
 drivers/lcd/Kconfig                          |  4 ++--
 drivers/math/Kconfig                         |  2 +-
 drivers/sensors/Kconfig                      |  2 +-
 drivers/timers/Kconfig                       |  2 +-
 drivers/usbhost/Kconfig                      |  4 ++--
 net/netfilter/Kconfig                        |  2 +-
 net/sixlowpan/Kconfig                        |  4 ++--
 21 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/Kconfig b/Kconfig
index 1531f14cd0..b7a1ac4e6d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -2006,7 +2006,7 @@ config FRAME_POINTER
 
 endmenu # Debug Options
 
-menuconfig  TRACE
+menuconfig TRACE
        bool "Enable tracepoints"
        default n
        depends on SCHED_INSTRUMENTATION_DUMP
diff --git a/arch/arm/src/gd32f4/Kconfig b/arch/arm/src/gd32f4/Kconfig
index e474820db1..5f9d086d3e 100644
--- a/arch/arm/src/gd32f4/Kconfig
+++ b/arch/arm/src/gd32f4/Kconfig
@@ -559,7 +559,7 @@ config GD32F4_WWDGT
        select GD32F4_WDGT
        select WATCHDOG
 
-endmenu  #"GD32 Peripheral Support"
+endmenu # "GD32 Peripheral Support"
 
 
 config GD32F4_ADC
@@ -663,7 +663,7 @@ config ARCH_BOARD_GD32F4_CUSTOM_CLOCKCONFIG
 
 config GD32F4_TCMEXCLUDE
        bool "Exclude TCM SRAM from the heap"
-       default y if  ARCH_DMA || LIBC_ARCH_ELF
+       default y if ARCH_DMA || LIBC_ARCH_ELF
        depends on GD32F4_HAVE_TCM
        ---help---
                Exclude TCM SRAM from the HEAP because it cannot be used for DMA
diff --git a/arch/arm/src/imx6/Kconfig b/arch/arm/src/imx6/Kconfig
index 27901bc47a..575e3070d7 100644
--- a/arch/arm/src/imx6/Kconfig
+++ b/arch/arm/src/imx6/Kconfig
@@ -151,7 +151,7 @@ config IMX_ENET_ENHANCEDBD
        default y if !ARMV7A_DCACHE_DISABLE
 
 config IMX_ENET_NETHIFS
-       int  # Not optional
+       int # Not optional
        default 1
 
 config IMX_ENET_PHYINIT
diff --git a/arch/arm/src/imxrt/Kconfig b/arch/arm/src/imxrt/Kconfig
index 457a2c3884..af61a4d270 100644
--- a/arch/arm/src/imxrt/Kconfig
+++ b/arch/arm/src/imxrt/Kconfig
@@ -2195,7 +2195,7 @@ config IMXRT_ENET_ENHANCEDBD
        default y if !ARMV7M_DCACHE_WRITETHROUGH
 
 config IMXRT_ENET_NETHIFS
-       int  # Not optional
+       int # Not optional
        default 1
 
 config IMXRT_ENET_PHYINIT
@@ -2385,7 +2385,7 @@ config IMXRT_SRAM_HEAPOFFSET
                Used to reserve memory at the beginning of SRAM for, as an 
example,
                a framebuffer.
 
-endmenu  # i.MX RT Heap Configuration
+endmenu # i.MX RT Heap Configuration
 endmenu # Memory Configuration
 
 menu "LPI2C Configuration"
@@ -2915,7 +2915,7 @@ config IMXRT_PROGMEM_FLEXSPI_INSTANCE
                FlexSPI instance number. Base address 0x60000000 is used for 
instance 0
                and 0x70000000 for instance 1. Other values are not supported.
 
-endif   #IMXRT_PROGMEM
+endif # IMXRT_PROGMEM
 
 if IMXRT_HAVE_OTA_PARTITION
 
@@ -2972,8 +2972,8 @@ config IMXRT_OTA_SCRATCH_SIZE
        hex "MCUboot scratch partition size (in bytes)"
        default "0x40000"
 
-endif   #IMXRT_PROGMEM_OTA_PARTITION
-endif   #IMXRT_HAVE_OTA_PARTITION
+endif # IMXRT_PROGMEM_OTA_PARTITION
+endif # IMXRT_HAVE_OTA_PARTITION
 
 endmenu # Progmem configuration
 
diff --git a/arch/arm/src/lpc54xx/Kconfig b/arch/arm/src/lpc54xx/Kconfig
index 21a0e00827..0ceec61db4 100644
--- a/arch/arm/src/lpc54xx/Kconfig
+++ b/arch/arm/src/lpc54xx/Kconfig
@@ -685,7 +685,7 @@ config LPC54_SPI_WIDEDATA
                data from 4 through 8 bits; the receive and transmit data is
                represented with a uint8_t type.  For the wider data, data is
                represented with a uint16_t.  There is duplication of logic for 
this
-               different widths.   By default, SPI wide data is disabled since 
that
+               different widths.  By default, SPI wide data is disabled since 
that
                is the less frequently used data type and disabling wide data 
can
                result in some size reduction.  Select this option if you need 
wide
                SPI data.
diff --git a/arch/arm/src/max326xx/Kconfig b/arch/arm/src/max326xx/Kconfig
index 6d5119799f..4931af5dd2 100644
--- a/arch/arm/src/max326xx/Kconfig
+++ b/arch/arm/src/max326xx/Kconfig
@@ -15,22 +15,22 @@ choice
 config ARCH_CHIP_MAX32620
        bool "MAX32620"
        select ARCH_FAMILY_MAX32620
-       depends on EXPERIMENTAL  # Not fully implemented
+       depends on EXPERIMENTAL # Not fully implemented
 
 config ARCH_CHIP_MAX32621
        bool "MAX32621"
        select ARCH_FAMILY_MAX32620
-       depends on EXPERIMENTAL  # Not fully implemented
+       depends on EXPERIMENTAL # Not fully implemented
 
 config ARCH_CHIP_MAX32630
        bool "MAX32630"
        select ARCH_FAMILY_MAX32630
-       depends on EXPERIMENTAL  # Not fully implemented
+       depends on EXPERIMENTAL # Not fully implemented
 
 config ARCH_CHIP_MAX32632
        bool "MAX32632"
        select ARCH_FAMILY_MAX32630
-       depends on EXPERIMENTAL  # Not fully implemented
+       depends on EXPERIMENTAL # Not fully implemented
 
 config ARCH_CHIP_MAX32660
        bool "MAX32660"
diff --git a/arch/arm/src/s32k1xx/Kconfig b/arch/arm/src/s32k1xx/Kconfig
index 2212d4237a..8147a91149 100644
--- a/arch/arm/src/s32k1xx/Kconfig
+++ b/arch/arm/src/s32k1xx/Kconfig
@@ -850,7 +850,7 @@ config S32K1XX_ENET_ENHANCEDBD
        default n
 
 config S32K1XX_ENET_NETHIFS
-       int  # Not optional
+       int # Not optional
        default 1
 
 config S32K1XX_ENET_PHYINIT
diff --git a/arch/arm/src/s32k3xx/Kconfig b/arch/arm/src/s32k3xx/Kconfig
index e30e8c7153..a51948c17c 100644
--- a/arch/arm/src/s32k3xx/Kconfig
+++ b/arch/arm/src/s32k3xx/Kconfig
@@ -306,7 +306,7 @@ config S32K3XX_DTCM_HEAP
        ---help---
                Select to add the entire DTCM to the heap
 
-endmenu  # S32K3XX Heap Configuration
+endmenu # S32K3XX Heap Configuration
 
 # Peripheral Group Selections
 
@@ -1358,7 +1358,7 @@ config S32K3XX_ENET_ENHANCEDBD
        default n
 
 config S32K3XX_ENET_NETHIFS
-       int  # Not optional
+       int # Not optional
        default 1
 
 config S32K3XX_ENET_PHYINIT
diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig
index d088badd9d..a0040cadd5 100644
--- a/arch/arm/src/stm32/Kconfig
+++ b/arch/arm/src/stm32/Kconfig
@@ -3764,7 +3764,7 @@ config STM32_I2SPLL
 
 config STM32_CCMEXCLUDE
        bool "Exclude CCM SRAM from the heap"
-       default y if  ARCH_DMA || LIBC_ARCH_ELF
+       default y if ARCH_DMA || LIBC_ARCH_ELF
        depends on STM32_HAVE_CCM
        ---help---
                Exclude CCM SRAM from the HEAP because (1) it cannot be used 
for DMA
@@ -11560,7 +11560,7 @@ config STM32_FDCAN3_DSJW
 
 endmenu # FDCAN3 device driver options
 
-endmenu  # "FDCAN driver configuration"
+endmenu # "FDCAN driver configuration"
 
 if STM32_LTDC
 
diff --git a/arch/arm/src/stm32h7/Kconfig b/arch/arm/src/stm32h7/Kconfig
index 14cfc0c51c..1909ef7df5 100644
--- a/arch/arm/src/stm32h7/Kconfig
+++ b/arch/arm/src/stm32h7/Kconfig
@@ -5686,8 +5686,8 @@ config STM32_OTA_SCRATCH_SIZE
        hex "MCUboot scratch partition size (in bytes)"
        default "0x40000"
 
-endif   #STM32_PROGMEM_OTA_PARTITION
-endif   #STM32_HAVE_OTA_PARTITION
+endif # STM32_PROGMEM_OTA_PARTITION
+endif # STM32_HAVE_OTA_PARTITION
 
 endmenu # Progmem configuration
 
diff --git a/arch/arm/src/tiva/Kconfig b/arch/arm/src/tiva/Kconfig
index f939096b8c..e8c89b7b11 100644
--- a/arch/arm/src/tiva/Kconfig
+++ b/arch/arm/src/tiva/Kconfig
@@ -1567,7 +1567,7 @@ config TIVA_CAN1_PRIO
 
 config TIVA_CAN_REGDEBUG
        bool "CAN register level debug"
-       depends on  DEBUG_CAN_INFO && TIVA_CHAR_DEV_CAN
+       depends on DEBUG_CAN_INFO && TIVA_CHAR_DEV_CAN
        default n
        ---help---
                Output detailed register-level CAN device debug information.
diff --git a/arch/sim/Kconfig b/arch/sim/Kconfig
index c7060bb15c..7ec4612718 100644
--- a/arch/sim/Kconfig
+++ b/arch/sim/Kconfig
@@ -93,7 +93,7 @@ config SIM_X8664_SYSTEMV
                systems. The first six integer or pointer arguments are passed 
in registers
                RDI, RSI, RDX, RCX, R8, and R9, while XMM0, XMM1, XMM2, XMM3, 
XMM4, XMM5,
                XMM6 and XMM7 are used for floating point arguments. For system 
calls, R10
-               is used instead of RCX.   As in the Microsoft x64 calling 
convention,
+               is used instead of RCX.  As in the Microsoft x64 calling 
convention,
                additional arguments are passed on the stack and the return 
value is stored
                in RAX.
 
diff --git a/boards/arm/imxrt/teensy-4.x/Kconfig 
b/boards/arm/imxrt/teensy-4.x/Kconfig
index 9d55a707a6..70fcecbf4c 100644
--- a/boards/arm/imxrt/teensy-4.x/Kconfig
+++ b/boards/arm/imxrt/teensy-4.x/Kconfig
@@ -35,7 +35,7 @@ config NET_USE_OTP_ETHERNET_MAC
        ---help---
                The teensy 4.1 board has an "offical" unique MAC address stored 
in OCOTP (One-Time-Programmable) memory.
                When enabling this option, it is read and used when the 
ethernet peripheral is initialized.
-               If so, the 'ifconfig  eth0' HWaddr should start with 
04:e9:e5:...
+               If so, the 'ifconfig eth0' HWaddr should start with 04:e9:e5:...
                (the vendor ID of 'PJRC.COM, LLC') when this feature is enabled.
                It may also be used with other boards that have the OCOTP 
programmed with a valid MAC.
 
diff --git a/boards/arm/rp2040/raspberrypi-pico-w/Kconfig 
b/boards/arm/rp2040/raspberrypi-pico-w/Kconfig
index ab1ea1ef83..bb9b4932cb 100644
--- a/boards/arm/rp2040/raspberrypi-pico-w/Kconfig
+++ b/boards/arm/rp2040/raspberrypi-pico-w/Kconfig
@@ -8,7 +8,7 @@ if ARCH_BOARD_RASPBERRYPI_PICO_W
 menuconfig RP2040_INFINEON_CYW43439
        bool "Has Infineon cyw43439 WiFi chip"
        depends on IEEE80211_INFINEON_CYW43439
-  default y
+       default y
 endif
 
 if RP2040_INFINEON_CYW43439
@@ -18,7 +18,7 @@ if RP2040_INFINEON_CYW43439
                default 
"${PICO_SDK_PATH}/lib/cyw43-driver/firmware/43439A0-7.95.49.00.combined"
                ---help---
                        This should be a path to a file containing both the 
cyw43439 firmware and
-                       the CLB blob.   The firmware should be padded to a 256 
byte boundary and
+                       the CLB blob.  The firmware should be padded to a 256 
byte boundary and
                        then the CLM blob should be appended.
 
                        If this file is updated, check the 
CYW43439_FIRMWARE_LEN below to make sure
diff --git a/drivers/lcd/Kconfig b/drivers/lcd/Kconfig
index 2395822e83..d8b90698c1 100644
--- a/drivers/lcd/Kconfig
+++ b/drivers/lcd/Kconfig
@@ -654,7 +654,7 @@ if LCD_ST7735
 
        endchoice
 
-if  !LCD_ST7735_GM00 && !LCD_ST7735_GM01 && !LCD_ST7735_GM11
+if !LCD_ST7735_GM00 && !LCD_ST7735_GM01 && !LCD_ST7735_GM11
 
        config LCD_ST7735_XRES
        int "ST7735 X Resolution"
@@ -1412,7 +1412,7 @@ config LCD_LCDDRV_SPIIF
                a normal SPI port.
 
 config LCD_LCDDRV_SPEED
-        int "Generic SPI Interface speed"
+       int "Generic SPI Interface speed"
        default 10000000
        depends on LCD_LCDDRV_SPIIF
        ---help---
diff --git a/drivers/math/Kconfig b/drivers/math/Kconfig
index 3d29356281..66301fa593 100644
--- a/drivers/math/Kconfig
+++ b/drivers/math/Kconfig
@@ -25,4 +25,4 @@ endchoice
 
 endif
 
-endmenu  # MATH Acceleration Information
+endmenu # MATH Acceleration Information
diff --git a/drivers/sensors/Kconfig b/drivers/sensors/Kconfig
index f72061e8c0..d5d9daeecc 100644
--- a/drivers/sensors/Kconfig
+++ b/drivers/sensors/Kconfig
@@ -1278,7 +1278,7 @@ endif # SENSORS_HDC1008
 config SENSORS_LTR308
        bool "LTR308 Lite-On ambient light sensor"
        default n
-  select I2C
+       select I2C
        ---help---
                Enable driver support for the LTR308 Lite-on ambient light 
sensor.
 
diff --git a/drivers/timers/Kconfig b/drivers/timers/Kconfig
index 155202cada..28f5264172 100644
--- a/drivers/timers/Kconfig
+++ b/drivers/timers/Kconfig
@@ -480,4 +480,4 @@ config CS2100CP_REGDEBUG
        depends on DEBUG_FEATURES
 
 endif # TIMERS_CS2100CP
-endmenu  # Timer Driver Support
+endmenu # Timer Driver Support
diff --git a/drivers/usbhost/Kconfig b/drivers/usbhost/Kconfig
index 08fb8e93e7..38d5aa40fa 100644
--- a/drivers/usbhost/Kconfig
+++ b/drivers/usbhost/Kconfig
@@ -163,7 +163,7 @@ config USBHOST_CDCACM_REDUCED
                protocol is supported for devices that provide not interrupt IN
                endpoint.  This option is then most useful for testing purposes 
or
                if there are insufficient resources to support the compliant
-               protocol.   The interrupt IN control interface will not be used 
even
+               protocol.  The interrupt IN control interface will not be used 
even
                if it is available in this case.
 
 config USBHOST_CDCACM_BULKONLY
@@ -295,7 +295,7 @@ config USBHOST_HIDKBD
        ---help---
                Enable support for the keyboard class driver.
 
-if  USBHOST_HIDKBD
+if USBHOST_HIDKBD
 
 config HIDKBD_POLLUSEC
        int "Keyboard Poll Rate (MSEC)"
diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index c0a907f77a..1ba5ddbd2e 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -8,6 +8,6 @@ config NET_IPTABLES
        default y
        depends on NET_IPv4
        depends on NET_SOCKOPTS
-       depends on NET_NAT  # May change dependency if we have firewall later.
+       depends on NET_NAT # May change dependency if we have firewall later.
        ---help---
                Enable or disable iptables compatible interface (for NAT).
diff --git a/net/sixlowpan/Kconfig b/net/sixlowpan/Kconfig
index 3a5457eed7..8cba8d1448 100644
--- a/net/sixlowpan/Kconfig
+++ b/net/sixlowpan/Kconfig
@@ -140,7 +140,7 @@ config NET_6LOWPAN_MAXADDRCONTEXT_PREINIT_1
        default n
        ---help---
                Preinitialize address context 1 for better header compression
-               (Saves up to 13 bytes per 6lowpan packet).   Assumes
+               (Saves up to 13 bytes per 6lowpan packet).  Assumes
                CONFIG_NET_6LOWPAN_MAXADDRCONTEXT >= 1)
 
 if NET_6LOWPAN_MAXADDRCONTEXT_PREINIT_1
@@ -201,7 +201,7 @@ config NET_6LOWPAN_MAXADDRCONTEXT_PREINIT_2
        depends on NET_6LOWPAN_MAXADDRCONTEXT_PREINIT_1
        ---help---
                Preinitialize any address contexts for better header compression
-               (Saves up to 13 bytes per 6lowpan packet).   Assumes
+               (Saves up to 13 bytes per 6lowpan packet).  Assumes
                CONFIG_NET_6LOWPAN_MAXADDRCONTEXT >= 2)
 
 if NET_6LOWPAN_MAXADDRCONTEXT_PREINIT_2

Reply via email to