Fix Kconfig style
Remove extra TABs Remove spaces from Kconfig Add comments
This commit is contained in:
parent
a18a0d20eb
commit
ccc0c54401
@ -217,7 +217,6 @@ menu "AT32 Peripheral Support"
|
|||||||
# These "hidden" settings determine whether a peripheral option is available
|
# These "hidden" settings determine whether a peripheral option is available
|
||||||
# for the selected MCU
|
# for the selected MCU
|
||||||
|
|
||||||
|
|
||||||
config AT32_HAVE_OVERDRIVE
|
config AT32_HAVE_OVERDRIVE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
@ -649,7 +648,7 @@ config AT32_DAC1CH2
|
|||||||
bool "DAC1CH2"
|
bool "DAC1CH2"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif #AT32_DAC1
|
endif # AT32_DAC1
|
||||||
|
|
||||||
config AT32_DAC2
|
config AT32_DAC2
|
||||||
bool "DAC2"
|
bool "DAC2"
|
||||||
@ -663,7 +662,7 @@ config AT32_DAC2CH1
|
|||||||
bool "DAC2CH1"
|
bool "DAC2CH1"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif #AT32_DAC2
|
endif # AT32_DAC2
|
||||||
|
|
||||||
config AT32_DAC3
|
config AT32_DAC3
|
||||||
bool "DAC3"
|
bool "DAC3"
|
||||||
@ -681,7 +680,7 @@ config AT32_DAC3CH2
|
|||||||
bool "DAC3CH2 Internal"
|
bool "DAC3CH2 Internal"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif #AT32_DAC3
|
endif # AT32_DAC3
|
||||||
|
|
||||||
config AT32_DAC4
|
config AT32_DAC4
|
||||||
bool "DAC4"
|
bool "DAC4"
|
||||||
@ -699,7 +698,7 @@ config AT32_DAC4CH2
|
|||||||
bool "DAC4CH2 Internal"
|
bool "DAC4CH2 Internal"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif #AT32_DAC4
|
endif # AT32_DAC4
|
||||||
|
|
||||||
config AT32_DCMI
|
config AT32_DCMI
|
||||||
bool "DCMI"
|
bool "DCMI"
|
||||||
|
@ -247,7 +247,7 @@ config RP2040_I2C1_SLAVE_10BIT
|
|||||||
---help---
|
---help---
|
||||||
Set to enable 10-bit mode addressing.
|
Set to enable 10-bit mode addressing.
|
||||||
|
|
||||||
endif # RP2040_I2C1_SLAVE
|
endif # RP2040_I2C1_SLAVE
|
||||||
|
|
||||||
endif # RP2040_I2C_SLAVE
|
endif # RP2040_I2C_SLAVE
|
||||||
|
|
||||||
|
@ -1584,7 +1584,7 @@ config ESP32S3_PHY_INIT_DATA_ERROR
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu # PHY
|
endmenu # PHY
|
||||||
|
|
||||||
menu "Timer/Counter Configuration"
|
menu "Timer/Counter Configuration"
|
||||||
depends on ESP32S3_TIMER
|
depends on ESP32S3_TIMER
|
||||||
@ -1743,7 +1743,8 @@ config ESP32S3_FLASH_SAMPLE_MODE_DTR
|
|||||||
bool "DTR Mode"
|
bool "DTR Mode"
|
||||||
config ESP32S3_FLASH_SAMPLE_MODE_STR
|
config ESP32S3_FLASH_SAMPLE_MODE_STR
|
||||||
bool "STR Mode"
|
bool "STR Mode"
|
||||||
endchoice
|
|
||||||
|
endchoice # ESP32S3_FLASH_SAMPLE_MODE
|
||||||
|
|
||||||
config ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
|
config ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
|
||||||
bool "Don't use SPI flash driver in ROM"
|
bool "Don't use SPI flash driver in ROM"
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
if ARCH_BOARD_ODRIVE36
|
if ARCH_BOARD_ODRIVE36
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "ODrive voltage version"
|
prompt "ODrive voltage version"
|
||||||
default ODRIVE_HW_VOLTAGE_56
|
default ODRIVE_HW_VOLTAGE_56
|
||||||
|
|
||||||
config ODRIVE_HW_VOLTAGE_56
|
config ODRIVE_HW_VOLTAGE_56
|
||||||
bool "ODrive 56V version"
|
bool "ODrive 56V version"
|
||||||
|
@ -174,8 +174,8 @@ config SENSORS_BMI160_UORB
|
|||||||
bool "BMI160 UORB Interface"
|
bool "BMI160 UORB Interface"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enables Work with the UORB or Character Device interface.
|
Enables Work with the UORB or Character Device interface.
|
||||||
If not set, the Character Device is used by default.
|
If not set, the Character Device is used by default.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "BMI160 Interface"
|
prompt "BMI160 Interface"
|
||||||
@ -193,7 +193,7 @@ config SENSORS_BMI160_SPI
|
|||||||
---help---
|
---help---
|
||||||
Enables support for the SPI interface
|
Enables support for the SPI interface
|
||||||
|
|
||||||
endchoice
|
endchoice # BMI160 Interface
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "I2C Address"
|
prompt "I2C Address"
|
||||||
@ -210,8 +210,9 @@ config BMI160_I2C_ADDR_69
|
|||||||
---help---
|
---help---
|
||||||
If SDO pin is pulled to VDDIO, use 0x69
|
If SDO pin is pulled to VDDIO, use 0x69
|
||||||
|
|
||||||
endchoice
|
endchoice # I2C Address
|
||||||
endif
|
|
||||||
|
endif # SENSORS_BMI160
|
||||||
|
|
||||||
config SENSORS_BMI270
|
config SENSORS_BMI270
|
||||||
bool "Bosch BMI270 Inertial Measurement Sensor support"
|
bool "Bosch BMI270 Inertial Measurement Sensor support"
|
||||||
@ -238,7 +239,7 @@ config SENSORS_BMI270_SPI
|
|||||||
---help---
|
---help---
|
||||||
Enables support for the SPI interface
|
Enables support for the SPI interface
|
||||||
|
|
||||||
endchoice
|
endchoice # BMI270 Interface
|
||||||
|
|
||||||
config SENSORS_BMI270_LOAD_FROM_HEAP
|
config SENSORS_BMI270_LOAD_FROM_HEAP
|
||||||
bool "BMI270 config loading from heap memory"
|
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
|
Some chips can not do DMA transfer from FLASH and therefore
|
||||||
it is necessary to transfer the configuration file to RAM.
|
it is necessary to transfer the configuration file to RAM.
|
||||||
|
|
||||||
endif
|
endif # SENSORS_BMI270
|
||||||
|
|
||||||
config SENSORS_BMP180
|
config SENSORS_BMP180
|
||||||
bool "Bosch BMP180 Barometer Sensor support"
|
bool "Bosch BMP180 Barometer Sensor support"
|
||||||
@ -338,7 +339,6 @@ config SENSORS_BME680_THREAD_STACKSIZE
|
|||||||
---help---
|
---help---
|
||||||
The stack size for the worker thread.
|
The stack size for the worker thread.
|
||||||
|
|
||||||
|
|
||||||
config SENSORS_DHTXX
|
config SENSORS_DHTXX
|
||||||
bool "DHTxx humidity/temperature Sensor support"
|
bool "DHTxx humidity/temperature Sensor support"
|
||||||
default n
|
default n
|
||||||
@ -722,7 +722,8 @@ config MLX90614_CRC
|
|||||||
---help---
|
---help---
|
||||||
Enable checking of CRC-8 (PEC field) checking to guarantee that
|
Enable checking of CRC-8 (PEC field) checking to guarantee that
|
||||||
read data is valid.
|
read data is valid.
|
||||||
endif
|
|
||||||
|
endif # SENSORS_MLX90614
|
||||||
|
|
||||||
config SENSORS_MCP9844
|
config SENSORS_MCP9844
|
||||||
bool "MCP9844 Temperature Sensor"
|
bool "MCP9844 Temperature Sensor"
|
||||||
@ -741,7 +742,7 @@ config SENSORS_MS56XX
|
|||||||
bool "MS56XX Barometric Pressure Sensor support"
|
bool "MS56XX Barometric Pressure Sensor support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enable driver support for MEAS MS5511 barometer.
|
Enable driver support for MS5611 Barometric Pressure Sensor.
|
||||||
|
|
||||||
if SENSORS_MS56XX
|
if SENSORS_MS56XX
|
||||||
|
|
||||||
@ -761,7 +762,7 @@ config MS56XX_SPI
|
|||||||
---help---
|
---help---
|
||||||
Enables support for the SPI interface.
|
Enables support for the SPI interface.
|
||||||
|
|
||||||
endchoice
|
endchoice # MS5611 Interface
|
||||||
|
|
||||||
config MS56XX_THREAD_STACKSIZE
|
config MS56XX_THREAD_STACKSIZE
|
||||||
int "Worker thread stack size"
|
int "Worker thread stack size"
|
||||||
@ -833,7 +834,7 @@ config ADXL345_I2C
|
|||||||
---help---
|
---help---
|
||||||
Enables support for the I2C interface
|
Enables support for the I2C interface
|
||||||
|
|
||||||
endchoice
|
endchoice # ADXL345 Interface
|
||||||
|
|
||||||
config ADXL345_ACTIVELOW
|
config ADXL345_ACTIVELOW
|
||||||
bool "Active Low Interrupt"
|
bool "Active Low Interrupt"
|
||||||
@ -884,7 +885,7 @@ config MPU60X0_I2C
|
|||||||
Enables support for the I2C interface (MPU6000
|
Enables support for the I2C interface (MPU6000
|
||||||
or MPU6050, autodetected during driver initialization)
|
or MPU6050, autodetected during driver initialization)
|
||||||
|
|
||||||
endchoice
|
endchoice # MPU60x0 Interface
|
||||||
|
|
||||||
config MPU60X0_I2C_FREQ
|
config MPU60X0_I2C_FREQ
|
||||||
int "MPU60x0 I2C Frequency"
|
int "MPU60x0 I2C Frequency"
|
||||||
@ -976,7 +977,7 @@ config MPU9250_I2C
|
|||||||
---help---
|
---help---
|
||||||
Enables support for the I2C interface
|
Enables support for the I2C interface
|
||||||
|
|
||||||
endchoice
|
endchoice # MPU9250 Interface
|
||||||
|
|
||||||
config MPU9250_I2C_FREQ
|
config MPU9250_I2C_FREQ
|
||||||
int "MPU9250 I2C Frequency"
|
int "MPU9250 I2C Frequency"
|
||||||
@ -1241,6 +1242,7 @@ config AHT10_I2C_FREQUENCY
|
|||||||
int "AHT10 I2C frequency"
|
int "AHT10 I2C frequency"
|
||||||
default 400000
|
default 400000
|
||||||
range 1 400000
|
range 1 400000
|
||||||
|
|
||||||
endif # SENSORS_AHT10
|
endif # SENSORS_AHT10
|
||||||
|
|
||||||
config SENSORS_SHT21
|
config SENSORS_SHT21
|
||||||
|
Loading…
x
Reference in New Issue
Block a user