Fix Kconfig style

Remove spaces from Kconfig files
Add TABs
This commit is contained in:
simbit18 2024-12-11 17:42:48 +01:00 committed by Xiang Xiao
parent 1efbe6b302
commit e4705e7f62
2 changed files with 30 additions and 30 deletions

View file

@ -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"

View file

@ -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