You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/11 14:13:22 UTC

[nuttx-apps] branch master updated: Fix Kconfig style

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e501f784c Fix Kconfig style
e501f784c is described below

commit e501f784c32f4917e67a2b8719f86e1a5739f99d
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Fri Aug 11 13:33:13 2023 +0200

    Fix Kconfig style
    
    Add TABs
    Add comments
---
 interpreters/quickjs/Kconfig |  6 +++---
 interpreters/wamr/Kconfig    | 32 ++++++++++++++++----------------
 interpreters/wasm3/Kconfig   |  6 +++---
 3 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/interpreters/quickjs/Kconfig b/interpreters/quickjs/Kconfig
index 70f846cd6..cc10f7799 100644
--- a/interpreters/quickjs/Kconfig
+++ b/interpreters/quickjs/Kconfig
@@ -28,8 +28,8 @@ config INTERPRETERS_QUICKJS_BIGNUM
 	bool "Bignum support"
 	default n
 	---help---
-	It's depend on libatomic,
-	Not all platform support it.
+		It's depend on libatomic,
+		Not all platform support it.
 
 config INTERPRETERS_QUICKJS_PRIORITY
 	int "QuickJS interpreter priority"
@@ -47,4 +47,4 @@ config INTERPRETERS_QUICKJS_EXT_HOOK
 		Since minimal interpreter only support 'console.log',
 		you can export custom module by implement init/destory hook.
 
-endif
+endif # INTERPRETERS_QUICKJS
diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig
index 823030ba7..1db21db65 100644
--- a/interpreters/wamr/Kconfig
+++ b/interpreters/wamr/Kconfig
@@ -13,7 +13,7 @@ config INTERPRETERS_WAMR_VERSION
 	string "WAMR Version"
 	default "WAMR-04-15-2021"
 	---help---
-	Version WAMR-09-29-2020 and later (include main) supported.
+		Version WAMR-09-29-2020 and later (include main) supported.
 
 config INTERPRETERS_IWASM_TASK
 	bool "Webassembly iwasm task"
@@ -29,7 +29,7 @@ config INTERPRETERS_WAMR_STACKSIZE
 	int "Webassembly Micro Runtime stack size"
 	default 8192
 
-endif
+endif # INTERPRETERS_IWASM_TASK
 
 config INTERPRETERS_WAMR_AOT
 	bool "Enable AOT"
@@ -49,7 +49,7 @@ config INTERPRETERS_WAMR_CLASSIC
 config INTERPRETERS_NONE
 	bool "Disable interpreter"
 
-endchoice
+endchoice # Enable interpreter
 
 config INTERPRETERS_WAMR_DEBUG_INTERP
 	bool "Enable debugger support in the interpreter"
@@ -75,13 +75,13 @@ config INTERPRETERS_WAMR_LIBC_WASI
 	select PSEUDOFS_SOFTLINKS
 	default n
 	---help---
-	Note: As of writing this, this works only with main branch of
-	wasm-micro-runtime.
-	I.e. INTERPRETERS_WAMR_VERSION="main"
+		Note: As of writing this, this works only with main branch of
+		wasm-micro-runtime.
+		I.e. INTERPRETERS_WAMR_VERSION="main"
 
-	Note: As of writing this, most of the filesystem operations are
-	not implemented. (Mainly because of lack of openat family of
-	the API in NuttX.)
+		Note: As of writing this, most of the filesystem operations are
+		not implemented. (Mainly because of lack of openat family of
+		the API in NuttX.)
 
 config INTERPRETERS_WAMR_MULTI_MODULE
 	bool "Enable multi module support"
@@ -91,7 +91,7 @@ config INTERPRETERS_WAMR_MINILOADER
 	bool "Enable mini-loader"
 	default n
 	---help---
-	Mini-loader don't check the integrity of wasm module
+		Mini-loader don't check the integrity of wasm module
 
 config INTERPRETERS_WAMR_REF_TYPES
 	bool "Enable reference types support"
@@ -105,8 +105,8 @@ config INTERPRETERS_WAMR_STACK_GUARD_SIZE
 	int "Custom stack guard size"
 	default 0
 	---help---
-	Reserve some space in stack as guard to detect stack overflow,
-	use stack base by default but may not safe enough.
+		Reserve some space in stack as guard to detect stack overflow,
+		use stack base by default but may not safe enough.
 
 config INTERPRETERS_WAMR_THREAD_MGR
 	bool "Enable thread manager"
@@ -116,13 +116,13 @@ config INTERPRETERS_WAMR_LIB_WASI_THREADS
 	bool "Enable wasi-threads"
 	default n
 	---help---
-	See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
+		See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
 
 config INTERPRETERS_WAMR_LIB_PTHREAD
 	bool "Enable lib pthread (legacy)"
 	default n
 	---help---
-	See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
+		See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
 
 config INTERPRETERS_WAMR_LIB_PTHREAD_SEMAPHORE
 	bool "Enable semaphore"
@@ -171,7 +171,7 @@ config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL_SIZE
 	int "Global heap pool size (in KB)"
 	default 128
 
-endif
+endif # INTERPRETERS_WAMR_GLOBAL_HEAP_POOL
 
 config INTERPRETERS_WAMR_CONFIGUABLE_BOUNDS_CHECKS
 	bool "Configuable bounds checks"
@@ -181,4 +181,4 @@ config INTERPRETERS_WAMR_CONFIGUABLE_BOUNDS_CHECKS
 		disable bounds checks passing --disable-bounds-checks to
 		iwasm.
 
-endif
+endif # INTERPRETERS_WAMR
diff --git a/interpreters/wasm3/Kconfig b/interpreters/wasm3/Kconfig
index e3a71a9f6..ab409e519 100644
--- a/interpreters/wasm3/Kconfig
+++ b/interpreters/wasm3/Kconfig
@@ -25,7 +25,7 @@ config INTERPRETERS_WASM3_FIXEDHEAP
 	int "WASM3 Fixed heap size"
 	default 0
 	---help---
-	0 : Use malloc/free instead of internal heap
+		0 : Use malloc/free instead of internal heap
 
 config INTERPRETERS_WASM3_LOG
 	bool "WASM3 log"
@@ -37,6 +37,6 @@ config INTERPRETERS_WASM3_LOG_VERBOSE
 	bool "WASM3 log verbose"
 	default n
 
-endif
+endif # INTERPRETERS_WASM3_LOG
 
-endif
+endif # INTERPRETERS_WASM3