Fix Kconfig style

Remove TABs from Kconfig files
Replace help => ---help---
Add comments
This commit is contained in:
simbit18 2023-06-20 15:25:59 +02:00 committed by Alan Carvalho de Assis
parent c9f610f44f
commit f930b4f6f5
7 changed files with 40 additions and 41 deletions

22
Kconfig
View File

@ -118,7 +118,7 @@ config HOST_WINDOWS
config HOST_OTHER config HOST_OTHER
bool "Other" bool "Other"
endchoice endchoice # Build Host Platform
config TOOLCHAIN_WINDOWS config TOOLCHAIN_WINDOWS
bool bool
@ -175,7 +175,7 @@ config WINDOWS_OTHER
Build natively in another POSIX-like environment. Additional Build natively in another POSIX-like environment. Additional
support may be necessary support may be necessary
endchoice endchoice # Windows Build Environment
config WINDOWS_MKLINK config WINDOWS_MKLINK
bool "Use mklink" bool "Use mklink"
@ -245,13 +245,13 @@ config APPS_DIR
or to set up include file paths. or to set up include file paths.
config BASE_DEFCONFIG config BASE_DEFCONFIG
string "Base Configuration" string "Base Configuration"
default "" default ""
---help--- ---help---
This will be automatically be updated by the configuration This will be automatically be updated by the configuration
script. This is the base configuration file that was used to create the script. This is the base configuration file that was used to create the
current configuration. It is useful for getting the current configuration current configuration. It is useful for getting the current configuration
on runtime. on runtime.
config BUILD_LOADABLE config BUILD_LOADABLE
bool bool
@ -407,7 +407,7 @@ config UIMAGE_ENTRY_POINT
hex "uImage entry point" hex "uImage entry point"
default 0x0 default 0x0
endif endif # UBOOT_UIMAGE
menuconfig DFU_BINARY menuconfig DFU_BINARY
bool "DFU binary format" bool "DFU binary format"
@ -426,7 +426,7 @@ config DFU_VID
config DFU_PID config DFU_PID
hex "PID to use for DFU image" hex "PID to use for DFU image"
endif endif # DFU_BINARY
endmenu # Binary Output Formats endmenu # Binary Output Formats
menu "Customize Header Files" menu "Customize Header Files"

View File

@ -46,7 +46,7 @@ config ARM_TOOLCHAIN_ARMCLANG
bool "ARM Compiler Clang toolchain" bool "ARM Compiler Clang toolchain"
select ARCH_TOOLCHAIN_CLANG select ARCH_TOOLCHAIN_CLANG
endchoice endchoice # ARM Toolchain Selection
choice choice
prompt "ARM MCU selection" prompt "ARM MCU selection"
@ -625,7 +625,7 @@ config ARCH_CHIP_ARM_CUSTOM
---help--- ---help---
Select this option if there is no directory for the chip under arch/arm/src/. Select this option if there is no directory for the chip under arch/arm/src/.
endchoice endchoice # ARM MCU selection
config ARCH_ARM7TDMI config ARCH_ARM7TDMI
bool bool
@ -1322,7 +1322,7 @@ config UNWINDER_ARM
the performance is not affected. Currently, this feature the performance is not affected. Currently, this feature
only works with EABI compilers. only works with EABI compilers.
endchoice endchoice # Choose ARM unwinder
endif endif

View File

@ -14,7 +14,7 @@ choice
config ARCH_CHIP_A10 config ARCH_CHIP_A10
bool "A10" bool "A10"
endchoice endchoice # Allwinner A1X Chip Selection
menu "Allwinner A1X Peripheral Support" menu "Allwinner A1X Peripheral Support"

View File

@ -117,7 +117,7 @@ config ESP32S3_INSTRUCTION_CACHE_LINE_16B
config ESP32S3_INSTRUCTION_CACHE_LINE_32B config ESP32S3_INSTRUCTION_CACHE_LINE_32B
bool "32 Bytes" bool "32 Bytes"
endchoice endchoice # ESP32S3_INSTRUCTION_CACHE_LINE_SIZE
config ESP32S3_INSTRUCTION_CACHE_LINE_SIZE config ESP32S3_INSTRUCTION_CACHE_LINE_SIZE
int int
@ -168,7 +168,7 @@ config ESP32S3_DATA_CACHE_4WAYS
config ESP32S3_DATA_CACHE_8WAYS config ESP32S3_DATA_CACHE_8WAYS
bool "8 ways" bool "8 ways"
endchoice endchoice # ESP32S3_DCACHE_ASSOCIATED_WAYS
config ESP32S3_DCACHE_ASSOCIATED_WAYS config ESP32S3_DCACHE_ASSOCIATED_WAYS
int int
@ -191,7 +191,7 @@ config ESP32S3_DATA_CACHE_LINE_32B
config ESP32S3_DATA_CACHE_LINE_64B config ESP32S3_DATA_CACHE_LINE_64B
bool "64 Bytes" bool "64 Bytes"
endchoice endchoice # ESP32S3_DATA_CACHE_LINE_SIZE
config ESP32S3_DATA_CACHE_LINE_SIZE config ESP32S3_DATA_CACHE_LINE_SIZE
int int
@ -383,7 +383,6 @@ config ESP32S3_LEDC
---help--- ---help---
Enable support to PWM on ESP32S3 using LEDC peripheral. Enable support to PWM on ESP32S3 using LEDC peripheral.
config ESP32S3_USBSERIAL config ESP32S3_USBSERIAL
bool "USB-Serial Driver" bool "USB-Serial Driver"
default n default n
@ -1070,7 +1069,7 @@ endchoice
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"
default n default n
help ---help---
Use source code for SPI flash driver instead of functions Use source code for SPI flash driver instead of functions
in ROM. in ROM.
@ -1078,7 +1077,7 @@ config ESP32S3S_SPI_FLASH_USE_32BIT_ADDRESS
bool "SPI flash uses 32-bit address" bool "SPI flash uses 32-bit address"
default n default n
select ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE select ESP32S3_SPI_FLASH_DONT_USE_ROM_CODE
help ---help---
SPI flash driver in ROM only support 24-bit address access, SPI flash driver in ROM only support 24-bit address access,
if select the option, it will force to use source code instead if select the option, it will force to use source code instead
of functions in ROM, so that SPI flash driver can access full of functions in ROM, so that SPI flash driver can access full
@ -1124,7 +1123,7 @@ config ESP32S3_OTA_SCRATCH_DEVPATH
string "Scratch partition device path" string "Scratch partition device path"
default "/dev/otascratch" default "/dev/otascratch"
endif endif # ESP32S3_HAVE_OTA_PARTITION
if ESP32S3_SPIFLASH if ESP32S3_SPIFLASH
@ -1364,7 +1363,7 @@ config ESP32S3_USER_IMAGE_OFFSET
---help--- ---help---
Offset in SPI Flash for flashing the User application firmware image. Offset in SPI Flash for flashing the User application firmware image.
endif endif # BUILD_PROTECTED
endmenu # Application Image Configuration endmenu # Application Image Configuration

View File

@ -36,8 +36,8 @@ config ESP32C3_SPIFLASH_NXFFS
select FS_NXFFS select FS_NXFFS
depends on !ESP32C3_SECURE_FLASH_ENC_ENABLED depends on !ESP32C3_SECURE_FLASH_ENC_ENABLED
comment "NXFFS not supported with Flash Encryption" comment "NXFFS not supported with Flash Encryption"
depends on ESP32C3_SECURE_FLASH_ENC_ENABLED depends on ESP32C3_SECURE_FLASH_ENC_ENABLED
config ESP32C3_SPIFLASH_SPIFFS config ESP32C3_SPIFLASH_SPIFFS
bool "SPIFFS" bool "SPIFFS"
@ -54,7 +54,7 @@ config ESP32C3_SPIFLASH_LITTLEFS
config ESP32C3_SPIFLASH_MTD_CONFIG config ESP32C3_SPIFLASH_MTD_CONFIG
bool "Non-volatile storage" bool "Non-volatile storage"
endchoice endchoice # ESP32C3_SPIFLASH_FS
config ESP32C3_SPIFLASH_FS_MOUNT_PT config ESP32C3_SPIFLASH_FS_MOUNT_PT
string "File-system Mount Point" string "File-system Mount Point"

View File

@ -30,23 +30,23 @@ choice ESP32S3_SPIFLASH_FS
bring-up. bring-up.
If not selected, the MTD will be registered as a device node on /dev. If not selected, the MTD will be registered as a device node on /dev.
config ESP32S3_SPIFLASH_SMARTFS config ESP32S3_SPIFLASH_SMARTFS
bool "SmartFS" bool "SmartFS"
select FS_SMARTFS select FS_SMARTFS
select MTD_SMART select MTD_SMART
config ESP32S3_SPIFLASH_NXFFS config ESP32S3_SPIFLASH_NXFFS
bool "NXFFS" bool "NXFFS"
select FS_NXFFS select FS_NXFFS
config ESP32S3_SPIFLASH_SPIFFS config ESP32S3_SPIFLASH_SPIFFS
bool "SPIFFS" bool "SPIFFS"
select FS_SPIFFS select FS_SPIFFS
config ESP32S3_SPIFLASH_LITTLEFS config ESP32S3_SPIFLASH_LITTLEFS
bool "LittleFS" bool "LittleFS"
select FS_LITTLEFS select FS_LITTLEFS
endchoice endchoice # ESP32S3_SPIFLASH_FS
endif # ARCH_BOARD_ESP32S3_DEVKIT endif # ARCH_BOARD_ESP32S3_DEVKIT

View File

@ -72,7 +72,7 @@ config FDCHECK
bool "Enable fdcheck" bool "Enable fdcheck"
default n default n
depends on SCHED_HAVE_PARENT depends on SCHED_HAVE_PARENT
---help--- ---help---
Enable the fdcheck support Enable the fdcheck support
config LIBC_FTOK_VFS_PATH config LIBC_FTOK_VFS_PATH