Fix Kconfig style

Remove extra TABs
Remove spaces from Kconfig
Add comments
This commit is contained in:
simbit18 2023-12-04 12:49:55 +01:00 committed by archer
parent a18a0d20eb
commit ccc0c54401
5 changed files with 26 additions and 24 deletions

View File

@ -217,7 +217,6 @@ menu "AT32 Peripheral Support"
# These "hidden" settings determine whether a peripheral option is available
# for the selected MCU
config AT32_HAVE_OVERDRIVE
bool
default n
@ -649,7 +648,7 @@ config AT32_DAC1CH2
bool "DAC1CH2"
default n
endif #AT32_DAC1
endif # AT32_DAC1
config AT32_DAC2
bool "DAC2"
@ -663,7 +662,7 @@ config AT32_DAC2CH1
bool "DAC2CH1"
default n
endif #AT32_DAC2
endif # AT32_DAC2
config AT32_DAC3
bool "DAC3"
@ -681,7 +680,7 @@ config AT32_DAC3CH2
bool "DAC3CH2 Internal"
default n
endif #AT32_DAC3
endif # AT32_DAC3
config AT32_DAC4
bool "DAC4"
@ -699,7 +698,7 @@ config AT32_DAC4CH2
bool "DAC4CH2 Internal"
default n
endif #AT32_DAC4
endif # AT32_DAC4
config AT32_DCMI
bool "DCMI"

View File

@ -247,7 +247,7 @@ config RP2040_I2C1_SLAVE_10BIT
---help---
Set to enable 10-bit mode addressing.
endif # RP2040_I2C1_SLAVE
endif # RP2040_I2C1_SLAVE
endif # RP2040_I2C_SLAVE

View File

@ -1584,7 +1584,7 @@ config ESP32S3_PHY_INIT_DATA_ERROR
endif
endmenu # PHY
endmenu # PHY
menu "Timer/Counter Configuration"
depends on ESP32S3_TIMER
@ -1743,7 +1743,8 @@ config ESP32S3_FLASH_SAMPLE_MODE_DTR
bool "DTR Mode"
config ESP32S3_FLASH_SAMPLE_MODE_STR
bool "STR Mode"
endchoice
endchoice # ESP32S3_FLASH_SAMPLE_MODE
config ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
bool "Don't use SPI flash driver in ROM"

View File

@ -6,8 +6,8 @@
if ARCH_BOARD_ODRIVE36
choice
prompt "ODrive voltage version"
default ODRIVE_HW_VOLTAGE_56
prompt "ODrive voltage version"
default ODRIVE_HW_VOLTAGE_56
config ODRIVE_HW_VOLTAGE_56
bool "ODrive 56V version"

View File

@ -174,8 +174,8 @@ config SENSORS_BMI160_UORB
bool "BMI160 UORB Interface"
default n
---help---
Enables Work with the UORB or Character Device interface.
If not set, the Character Device is used by default.
Enables Work with the UORB or Character Device interface.
If not set, the Character Device is used by default.
choice
prompt "BMI160 Interface"
@ -193,7 +193,7 @@ config SENSORS_BMI160_SPI
---help---
Enables support for the SPI interface
endchoice
endchoice # BMI160 Interface
choice
prompt "I2C Address"
@ -210,8 +210,9 @@ config BMI160_I2C_ADDR_69
---help---
If SDO pin is pulled to VDDIO, use 0x69
endchoice
endif
endchoice # I2C Address
endif # SENSORS_BMI160
config SENSORS_BMI270
bool "Bosch BMI270 Inertial Measurement Sensor support"
@ -238,7 +239,7 @@ config SENSORS_BMI270_SPI
---help---
Enables support for the SPI interface
endchoice
endchoice # BMI270 Interface
config SENSORS_BMI270_LOAD_FROM_HEAP
bool "BMI270 config loading from heap memory"
@ -248,7 +249,7 @@ config SENSORS_BMI270_LOAD_FROM_HEAP
Some chips can not do DMA transfer from FLASH and therefore
it is necessary to transfer the configuration file to RAM.
endif
endif # SENSORS_BMI270
config SENSORS_BMP180
bool "Bosch BMP180 Barometer Sensor support"
@ -338,7 +339,6 @@ config SENSORS_BME680_THREAD_STACKSIZE
---help---
The stack size for the worker thread.
config SENSORS_DHTXX
bool "DHTxx humidity/temperature Sensor support"
default n
@ -722,7 +722,8 @@ config MLX90614_CRC
---help---
Enable checking of CRC-8 (PEC field) checking to guarantee that
read data is valid.
endif
endif # SENSORS_MLX90614
config SENSORS_MCP9844
bool "MCP9844 Temperature Sensor"
@ -741,7 +742,7 @@ config SENSORS_MS56XX
bool "MS56XX Barometric Pressure Sensor support"
default n
---help---
Enable driver support for MEAS MS5511 barometer.
Enable driver support for MS5611 Barometric Pressure Sensor.
if SENSORS_MS56XX
@ -761,7 +762,7 @@ config MS56XX_SPI
---help---
Enables support for the SPI interface.
endchoice
endchoice # MS5611 Interface
config MS56XX_THREAD_STACKSIZE
int "Worker thread stack size"
@ -833,7 +834,7 @@ config ADXL345_I2C
---help---
Enables support for the I2C interface
endchoice
endchoice # ADXL345 Interface
config ADXL345_ACTIVELOW
bool "Active Low Interrupt"
@ -884,7 +885,7 @@ config MPU60X0_I2C
Enables support for the I2C interface (MPU6000
or MPU6050, autodetected during driver initialization)
endchoice
endchoice # MPU60x0 Interface
config MPU60X0_I2C_FREQ
int "MPU60x0 I2C Frequency"
@ -976,7 +977,7 @@ config MPU9250_I2C
---help---
Enables support for the I2C interface
endchoice
endchoice # MPU9250 Interface
config MPU9250_I2C_FREQ
int "MPU9250 I2C Frequency"
@ -1241,6 +1242,7 @@ config AHT10_I2C_FREQUENCY
int "AHT10 I2C frequency"
default 400000
range 1 400000
endif # SENSORS_AHT10
config SENSORS_SHT21