You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2021/04/28 02:43:18 UTC

[incubator-nuttx] 03/04: risc-v/esp32c3: Uniformize Kconfig alignment and styling

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 9df217956249849060c4abe5ab9ada495661190a
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Tue Apr 27 18:09:18 2021 -0300

    risc-v/esp32c3: Uniformize Kconfig alignment and styling
---
 arch/risc-v/src/esp32c3/Kconfig | 78 ++++++++++++++++++++---------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

diff --git a/arch/risc-v/src/esp32c3/Kconfig b/arch/risc-v/src/esp32c3/Kconfig
index 3ee1f97..aa0881a 100644
--- a/arch/risc-v/src/esp32c3/Kconfig
+++ b/arch/risc-v/src/esp32c3/Kconfig
@@ -73,7 +73,7 @@ config ESP32C3_FLASH_16M
 config ESP32C3_FLASH_DETECT
 	bool "Auto-detect FLASH size (to be used with master esptool)"
 	default n
-	help
+	---help---
 		Auto detect flash size when flashing.
 		Current released version of esptool doesn't support auto-detecting flash size.
 		Use latest master from https://github.com/espressif/esptool.
@@ -81,66 +81,66 @@ config ESP32C3_FLASH_DETECT
 choice ESP32C3_FLASH_MODE
 	prompt "SPI FLASH mode"
 	default ESP32C3_FLASH_MODE_DIO
-	help
+	---help---
 		These options control how many I/O pins are used for communication with the attached SPI flash chip.
 		The option selected here is then used by esptool when flashing.
 
-	config ESP32C3_FLASH_MODE_DIO
-		bool "Dual IO (DIO)"
+config ESP32C3_FLASH_MODE_DIO
+	bool "Dual IO (DIO)"
 
-	config ESP32C3_FLASH_MODE_DOUT
-		bool "Dual Output (DOUT)"
+config ESP32C3_FLASH_MODE_DOUT
+	bool "Dual Output (DOUT)"
 
-	config ESP32C3_FLASH_MODE_QIO
-		bool "Quad IO (QIO)"
+config ESP32C3_FLASH_MODE_QIO
+	bool "Quad IO (QIO)"
 
-	config ESP32C3_FLASH_MODE_QOUT
-		bool "Quad Output (QOUT)"
+config ESP32C3_FLASH_MODE_QOUT
+	bool "Quad Output (QOUT)"
 
 endchoice # ESP32C3_FLASH_MODE
 
 choice ESP32C3_FLASH_FREQ
 	prompt "SPI FLASH frequency"
 	default ESP32C3_FLASH_FREQ_40M
-	help
+	---help---
 		SPI FLASH frequency
 		
-	config ESP32C3_FLASH_FREQ_80M
-		bool "80 MHz"
+config ESP32C3_FLASH_FREQ_80M
+	bool "80 MHz"
 
-	config ESP32C3_FLASH_FREQ_40M
-		bool "40 MHz"
+config ESP32C3_FLASH_FREQ_40M
+	bool "40 MHz"
 
-	config ESP32C3_FLASH_FREQ_26M
-		bool "26 MHz"
+config ESP32C3_FLASH_FREQ_26M
+	bool "26 MHz"
 
-	config ESP32C3_FLASH_FREQ_20M
-		bool "20 MHz"
+config ESP32C3_FLASH_FREQ_20M
+	bool "20 MHz"
 
 endchoice # ESP32C3_FLASH_FREQ
 
 choice ESP32C3_CPU_FREQ
 	prompt "CPU frequency"
 	default ESP32C3_CPU_FREQ_160
-	help
+	---help---
 		CPU frequency to be set on application startup.
 
 config ESP32C3_CPU_FREQ_40
 	bool "40 MHz"
-	help
-		Set the CPU to 40 MHz.  This frequency is obtained from the XTAL.
+	---help---
+		Set the CPU to 40 MHz. This frequency is obtained from the XTAL.
 
 config ESP32C3_CPU_FREQ_80
 	bool "80 MHz"
-	help
-		Set the CPU to 80 MHz.  This frequency is obtained from the 480 MHz PLL.
+	---help---
+		Set the CPU to 80 MHz. This frequency is obtained from the 480 MHz PLL.
 
 config ESP32C3_CPU_FREQ_160
 	bool "160 MHz"
-	help
-		Set the CPU to 160 MHz.  This frequency is obtained from the 480 MHz PLL.
+	---help---
+		Set the CPU to 160 MHz. This frequency is obtained from the 480 MHz PLL.
 
-endchoice # CPU frequency
+endchoice # ESP32C3_CPU_FREQ
 
 config ESP32C3_CPU_FREQ_MHZ
 	int
@@ -452,20 +452,20 @@ config ESP32C3_WLAN_PKTBUF_NUM
 config ESP32C3_WIFI_CONNECT_TIMEOUT
 	int "Connect timeout by second"
 	default 10
-	help
+	---help---
 		Max waiting time of connecting to AP.
 
 config ESP32C3_WIFI_SCAN_RESULT_SIZE
 	int "Scan result buffer"
 	default 4096
-	help
+	---help---
 		Maximum scan result buffer size.
 
 config ESP32C3_WIFI_SAVE_PARAM
 	bool "Save Wi-Fi Parameters"
 	default n
 	depends on !DISABLE_MOUNTPOINT
-	help
+	---help---
 		If you enable this option, Wi-Fi adapter parameters will be saved
 		into the file system instead of computing them each time.
 
@@ -482,7 +482,7 @@ config ESP32C3_WIFI_FS_MOUNTPT
 	string "Save Wi-Fi Parameters"
 	default "/mnt/esp/wifi"
 	depends on ESP32C3_WIFI_SAVE_PARAM
-	help
+	---help---
 		Mount point of Wi-Fi storage file system.
 
 config ESP32C3_WIFI_STA_DISCONNECT_PM
@@ -500,35 +500,35 @@ menu "SPI Flash configuration"
 config ESP32C3_MTD_OFFSET
 	hex "MTD base address in SPI Flash"
 	default 0x180000
-	help
+	---help---
 		MTD base address in SPI Flash.
 
 config ESP32C3_MTD_SIZE
 	hex "MTD size in SPI Flash"
 	default 0x100000
-	help
+	---help---
 		MTD size in SPI Flash.
 
 config ESP32C3_SPIFLASH_DEBUG
 	bool "Debug SPI Flash"
 	default n
 	depends on DEBUG_FS_INFO
-	help
+	---help---
 		If this option is enabled, SPI Flash driver read and write functions
 		will output input parameters and return values (if applicable).
 
 endmenu # ESP32C3_SPIFLASH
 
 menu "Partition Configuration"
-        depends on ESP32C3_PARTITION
+	depends on ESP32C3_PARTITION
 
 config ESP32C3_PARTITION_OFFSET
-        hex "Partition offset"
-        default "0x8000"
+	hex "Partition offset"
+	default "0x8000"
 
 config ESP32C3_PARTITION_MOUNT
-        string "Partition mount point"
-        default "/dev/esp/partition/"
+	string "Partition mount point"
+	default "/dev/esp/partition/"
 
 endmenu # ESP32C3_PARTITION