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 ea47f0cf42 [Kconfig]: Fix Kconfig style
ea47f0cf42 is described below

commit ea47f0cf4291c698971ca44e054a79041354c23b
Author: simbit18 <simbi...@gmail.com>
AuthorDate: Wed May 14 11:32:24 2025 +0200

    [Kconfig]: Fix Kconfig style
    
    Remove spaces from Kconfig files
    Add comments
    Add TABs
    
    Signed-off-by: simbit18 <simbi...@gmail.com>
---
 arch/xtensa/src/common/espressif/Kconfig | 14 +++++++-------
 drivers/video/Kconfig                    | 33 ++++++++++++++++----------------
 drivers/wireless/lpwan/Kconfig           |  2 +-
 3 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/arch/xtensa/src/common/espressif/Kconfig 
b/arch/xtensa/src/common/espressif/Kconfig
index 9645c71f76..cdbbd1b787 100644
--- a/arch/xtensa/src/common/espressif/Kconfig
+++ b/arch/xtensa/src/common/espressif/Kconfig
@@ -960,10 +960,10 @@ menu "Wi-Fi Configuration"
        depends on ESPRESSIF_WIFI
 
 config ESPRESSIF_WLAN
-        bool "WLAN"
+       bool "WLAN"
        default y
        ---help---
-               Enable WLAN support
+               Enable WLAN support
 
 menu "ESP WPA-Supplicant"
 
@@ -1170,11 +1170,11 @@ config ESPRESSIF_ESPNOW_PKTRADIO_PANID
                PANID for espnow pktradio.
 
 config ESPRESSIF_ESPNOW_PKTRADIO_PANADDR
-       hex "ESPNOW pktradio node address"
-       range 0x0 0xffff
-       default 0xfffe
-       ---help---
-                PANADDRESS for espnow pktradio.
+       hex "ESPNOW pktradio node address"
+       range 0x0 0xffff
+       default 0xfffe
+       ---help---
+               PANADDRESS for espnow pktradio.
 
 endif #ESPRESSIF_ESPNOW_PKTRADIO
 
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 66a4c915c2..ce2437f0bd 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -57,7 +57,7 @@ config VIDEO_FB_NPOLLWAITERS
        default 2
 
 config VIDEO_FB_SPLASHSCREEN
-  bool "Enable Splashscreen when Framebuffer Driver is registered"
+       bool "Enable Splashscreen when Framebuffer Driver is registered"
        depends on VIDEO_FB
        default n
        ---help---
@@ -75,7 +75,6 @@ config VIDEO_FB_SPLASHSCREEN
                  to create custom splashscreens - note the tool restricts the 
number of colours
                  to 256.
 
-
 if VIDEO_FB_SPLASHSCREEN
 
 menu "Splashscreen Image Selection and Configuration"
@@ -96,7 +95,7 @@ config VIDEO_FB_SPLASHSCREEN_CUSTOM
                build.
                Typically this would be a source file of an out-of-tree custom 
board.
 
-endchoice
+endchoice # Select Splashscreen Image Source
 
 choice
        prompt "Select NXlogo bitmap size to use"
@@ -111,7 +110,8 @@ config VIDEO_FB_SPLASHSCREEN_NXLOGO_160
 
 config VIDEO_FB_SPLASHSCREEN_NXLOGO_80
        bool "80x80 pixels"
-endchoice
+
+endchoice # Select NXlogo bitmap size to use
 
 choice
        prompt "Select Splashscreen Bits-per-pixel (BPP)"
@@ -132,7 +132,7 @@ config VIDEO_FB_SPLASHSCREEN_MONO
 config VIDEO_FB_SPLASHSCREEN_GREY
        bool "Greyscale (8BPP)"
 
-endchoice
+endchoice # Select Splashscreen Bits-per-pixel (BPP)
 
 config VIDEO_FB_SPLASHSCREEN_BG_COLOUR
        hex "Hex (A)RGB background colour for splashscreen"
@@ -148,7 +148,7 @@ config VIDEO_FB_SPLASHSCREEN_CLR_ON_EXIT
        bool "Clear Framebuffer memory when driver registration is complete"
        default y
 
-endmenu # "Splashscreen Image Selection and Configuration"
+endmenu # Splashscreen Image Selection and Configuration
 
 endif # VIDEO_FB_SPLASHSCREEN
 
@@ -179,7 +179,7 @@ config GOLDFISH_GPU_FB_RGB565
 config GOLDFISH_GPU_FB_BGRA8888
        bool "BGRA8888"
 
-endchoice
+endchoice # Select Goldfish GPU Framebuffer format
 
 config GOLDFISH_GPU_FB_PRIORITY
        int "Goldfish GPU Framebuffer vsync task priority"
@@ -282,7 +282,8 @@ config VIDEO_SCENE_TEXT
        default y
        ---help---
                Enable text scene
-endif
+
+endif # VIDEO_STREAM
 
 config VIDEO_MAX7456
        bool "Maxim 7456 Monochrome OSD"
@@ -305,7 +306,7 @@ config VIDEO_ISX012_REGDEBUG
        ---help---
                Enable to read registers of ISX012 for test.
 
-endif
+endif # VIDEO_ISX012
 
 config VIDEO_ISX019
        bool "ISX019 Image sensor"
@@ -331,7 +332,7 @@ config VIDEO_ISX019_DOL2
        ---help---
                DOL2 is the mode that combines 2 images with different exposure.
 
-endchoice
+endchoice # HDR mode selection
 
 config VIDEO_ISX019_INITIAL_JPEG_QUALITY
        int "Initial JPEG quality"
@@ -354,7 +355,7 @@ config VIDEO_ISX019_REGDEBUG
        ---help---
                Enable to read registers of ISX019 for test.
 
-endif
+endif # VIDEO_ISX019
 
 config VIDEO_OV2640
        bool "OV2640 camera chip"
@@ -385,7 +386,7 @@ config OV2640_RGB565_COLORFMT
 config OV2640_YUV422_COLORFMT
        bool "YUV422"
 
-endchoice
+endchoice # Color format
 
 config OV2640_JPEG
        bool "JPEG output format"
@@ -422,7 +423,7 @@ config OV2640_JPEG_SXVGA_RESOLUTION
 config OV2640_JPEG_UXGA_RESOLUTION
        bool "UXVGA (1600x1200)"
 
-endchoice
+endchoice # JPEG resolution
 
 choice
        prompt "Output resolution"
@@ -453,7 +454,7 @@ config OV2640_SXGA_RESOLUTION
 config OV2640_UXGA_RESOLUTION
        bool "UXVGA (1600x1200)"
 
-endchoice
+endchoice # Output resolution
 
 config OV2640_REGDEBUG
        bool "Register level debug output"
@@ -462,7 +463,7 @@ config OV2640_REGDEBUG
        ---help---
                Enable details, register level debug output.
 
-endif
+endif # VIDEO_OV2640
 
 config GOLDFISH_CAMERA
        bool "Goldfish camera support"
@@ -475,7 +476,7 @@ config GOLDFISH_CAMERA_PIPE_PATH
        string "Goldfish camera pipe path"
        default "/dev/goldfish_pipe"
 
-endif
+endif # GOLDFISH_CAMERA
 
 source "drivers/video/vnc/Kconfig"
 source "drivers/video/mipidsi/Kconfig"
diff --git a/drivers/wireless/lpwan/Kconfig b/drivers/wireless/lpwan/Kconfig
index 3d42d27592..9459fa6a7f 100644
--- a/drivers/wireless/lpwan/Kconfig
+++ b/drivers/wireless/lpwan/Kconfig
@@ -8,7 +8,7 @@ if DRIVERS_LPWAN
 config LPWAN_RN2XX3
        bool "Microchip RN2xx3 driver support"
        default n
-    depends on SERIAL
+       depends on SERIAL
        ---help---
                Enable driver support for the RN2xx3 LoRa radio transceiver 
family.
 

Reply via email to