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

commit e4705e7f622e9e08738e36a5901eb5683174cc69
Author: simbit18 <[email protected]>
AuthorDate: Wed Dec 11 17:42:48 2024 +0100

    Fix Kconfig style
    
    Remove spaces from Kconfig files
    Add TABs
---
 arch/arm/src/stm32h5/Kconfig             | 24 ++++++++++-----------
 arch/xtensa/src/common/espressif/Kconfig | 36 ++++++++++++++++----------------
 2 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/arch/arm/src/stm32h5/Kconfig b/arch/arm/src/stm32h5/Kconfig
index c2aceaf7e9..2aa85b7c8e 100644
--- a/arch/arm/src/stm32h5/Kconfig
+++ b/arch/arm/src/stm32h5/Kconfig
@@ -30,7 +30,7 @@ endchoice # STM32 H5 Chip Selection
 config STM32H5_STM32H5XXXX
        bool
        default n
-               select ARCH_HAVE_FPU
+       select ARCH_HAVE_FPU
 
 config STM32H5_STM32H56XXX
        bool
@@ -278,8 +278,8 @@ config STM32H5_USART
        default n
 
 config STM32H5_ADC
-        bool
-        default n
+       bool
+       default n
 
 config STM32H5_SPI
        bool
@@ -292,14 +292,14 @@ config STM32H5_SPI_DMA
 # These are the peripheral selections proper
 
 config STM32H5_ADC1
-  bool "ADC1"
-  default n
-  select STM32H5_ADC
+       bool "ADC1"
+       default n
+       select STM32H5_ADC
 
 config STM32H5_ADC2
-  bool "ADC2"
-  default n
-  select STM32H5_ADC
+       bool "ADC2"
+       default n
+       select STM32H5_ADC
 
 config STM32H5_ETHMAC
        bool "Ethernet MAC"
@@ -401,8 +401,8 @@ config STM32H5_LPUART1
        select STM32H5_USART
 
 config STM32H5_I2C
-               bool
-               default n
+       bool
+       default n
 
 config STM32H5_I2C1
        bool "I2C1"
@@ -470,7 +470,7 @@ config STM32H5_FLASH_PREFETCH
        bool "Enable FLASH Pre-fetch"
        default y
        ---help---
-       Enable FLASH prefetch
+               Enable FLASH prefetch
 
 config STM32H5_DISABLE_IDLE_SLEEP_DURING_DEBUG
        bool "Disable IDLE Sleep (WFI) in debug mode"
diff --git a/arch/xtensa/src/common/espressif/Kconfig 
b/arch/xtensa/src/common/espressif/Kconfig
index 9dba2d4e76..e8053e0849 100644
--- a/arch/xtensa/src/common/espressif/Kconfig
+++ b/arch/xtensa/src/common/espressif/Kconfig
@@ -24,25 +24,25 @@ config ESPRESSIF_TEMP
                A built-in sensor used to measure the chip's internal 
temperature.
 
 config ESPRESSIF_I2C_PERIPH
-       bool
-       depends on (ESP32S3_I2C0 || ESP32S3_I2C1) || (ESP32_I2C0 || ESP32_I2C1) 
|| (ESP32S2_I2C0 || ESP32S2_I2C1)
-       default n
+       bool
+       depends on (ESP32S3_I2C0 || ESP32S3_I2C1) || (ESP32_I2C0 || ESP32_I2C1) 
|| (ESP32S2_I2C0 || ESP32S2_I2C1)
+       default n
 
 config ESPRESSIF_I2C_BITBANG
-       bool "I2C Bitbang"
-       default n
-       select I2C_BITBANG
-       select ESP32S3_I2C if ARCH_CHIP_ESP32S3
-          select ESP32S2_I2C if ARCH_CHIP_ESP32S2
-          select ESP32_I2C if ARCH_CHIP_ESP32
-       select I2C
-       select I2C_BITBANG
+       bool "I2C Bitbang"
+       default n
+       select I2C_BITBANG
+       select ESP32S3_I2C if ARCH_CHIP_ESP32S3
+       select ESP32S2_I2C if ARCH_CHIP_ESP32S2
+       select ESP32_I2C if ARCH_CHIP_ESP32
+       select I2C
+       select I2C_BITBANG
        ---help---
                Software implemented I2C peripheral with GPIOs. Suggested to 
use if I2C peripherals are already in use.
 
 config ESPRESSIF_SPI_PERIPH
        bool
-    depends on (ESP32S3_SPI2 || ESP32S3_SPI3) || (ESP32_SPI2 || ESP32_SPI3) || 
(ESP32S2_SPI2 || ESP32S2_SPI3)
+       depends on (ESP32S3_SPI2 || ESP32S3_SPI3) || (ESP32_SPI2 || ESP32_SPI3) 
|| (ESP32S2_SPI2 || ESP32S2_SPI3)
        default n
 
 config ESPRESSIF_SPI_BITBANG
@@ -109,14 +109,14 @@ menu "I2C bitbang configuration"
        depends on ESPRESSIF_I2C_BITBANG
 
 config ESPRESSIF_I2C_BITBANG_SCLPIN
-       int "I2C Bitbang SCL Pin"
-       default 0
-       range 0 21
+       int "I2C Bitbang SCL Pin"
+       default 0
+       range 0 21
 
 config ESPRESSIF_I2C_BITBANG_SDAPIN
-       int "I2C Bitbang SDA Pin"
-       default 1
-       range 0 21
+       int "I2C Bitbang SDA Pin"
+       default 1
+       range 0 21
 
 endmenu # I2C bitbang configuration
 

Reply via email to