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/02/09 11:45:43 UTC

[nuttx-apps] branch master updated: build/Kconfig: fix warnings detected by kconfiglib

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 42d34fcef build/Kconfig: fix warnings detected by kconfiglib
42d34fcef is described below

commit 42d34fcef3984b4da92b9cb5fb8658d84af9dab9
Author: chao an <an...@xiaomi.com>
AuthorDate: Thu Feb 9 16:17:46 2023 +0800

    build/Kconfig: fix warnings detected by kconfiglib
    
    Signed-off-by: chao an <an...@xiaomi.com>
---
 examples/calib_udelay/Kconfig | 2 --
 graphics/twm4nx/Kconfig       | 2 +-
 mlearning/cmsis/Kconfig       | 2 +-
 mlearning/libnnablart/Kconfig | 2 +-
 netutils/thttpd/Kconfig       | 1 -
 netutils/webserver/Kconfig    | 3 +--
 system/dumpstack/Kconfig      | 1 -
 7 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/examples/calib_udelay/Kconfig b/examples/calib_udelay/Kconfig
index c1759bc16..a6a8e6932 100644
--- a/examples/calib_udelay/Kconfig
+++ b/examples/calib_udelay/Kconfig
@@ -17,11 +17,9 @@ if EXAMPLES_CALIB_UDELAY
 config EXAMPLES_CALIB_UDELAY_NUM_MEASUREMENTS
 	int "Number of measurements to take for each loop iteration count"
 	default 3
-	---help---
 
 config EXAMPLES_CALIB_UDELAY_NUM_RESULTS
 	int "Number of results to generate for calibration slope"
 	default 20
-	---help---
 
 endif
diff --git a/graphics/twm4nx/Kconfig b/graphics/twm4nx/Kconfig
index 9e1322dd0..3f9600f68 100644
--- a/graphics/twm4nx/Kconfig
+++ b/graphics/twm4nx/Kconfig
@@ -97,7 +97,7 @@ choice
 
 config TWM4NX_MOUSE
 	bool "Mouse"
-	select NX_SWCURSOR
+	depends on NX_SWCURSOR
 
 config TWM4NX_TOUCHSCREEN
 	bool "Touchscreen"
diff --git a/mlearning/cmsis/Kconfig b/mlearning/cmsis/Kconfig
index f33a8cbe1..364326f61 100644
--- a/mlearning/cmsis/Kconfig
+++ b/mlearning/cmsis/Kconfig
@@ -16,7 +16,7 @@ if CMSIS
 
 config CMSIS_VER
 	string "Default CMSIS version"
-	default 5.8.0
+	default "5.8.0"
 
 config CMSIS_DSP
 	bool "CMSIS DSP"
diff --git a/mlearning/libnnablart/Kconfig b/mlearning/libnnablart/Kconfig
index 77a55b238..f1f02d734 100644
--- a/mlearning/libnnablart/Kconfig
+++ b/mlearning/libnnablart/Kconfig
@@ -15,6 +15,6 @@ if NNABLA_RT
 
 config NNABLA_RT_VER
 	string "Default NNABLA Runtime version"
-	default 1.24.0
+	default "1.24.0"
 
 endif # NNABLA_RT
diff --git a/netutils/thttpd/Kconfig b/netutils/thttpd/Kconfig
index b6a72e4c3..765728cf0 100644
--- a/netutils/thttpd/Kconfig
+++ b/netutils/thttpd/Kconfig
@@ -314,7 +314,6 @@ config THTTPD_TILDE_MAP2
 config THTTPD_GENERATE_INDICES
 	bool "Generate name indices"
 	default n
-	---help---
 
 config THTTPD_USE_URLPATTERN
 	bool "Use URL pattern"
diff --git a/netutils/webserver/Kconfig b/netutils/webserver/Kconfig
index 323625bfb..92fd293d2 100644
--- a/netutils/webserver/Kconfig
+++ b/netutils/webserver/Kconfig
@@ -143,8 +143,7 @@ config NETUTILS_HTTPD_PATH
 
 config NETUTILS_HTTPD_KEEPALIVE_DISABLE
 	bool "Keepalive Disable"
-	default y if !NETUTILS_HTTPD_TIMEOUT
-	default n if NETUTILS_HTTPD_TIMEOUT
+	default y
 	---help---
 		Disabled HTTP keep-alive for HTTP clients.  Keep-alive permits a
 		client to make multiple requests over the same connection, rather
diff --git a/system/dumpstack/Kconfig b/system/dumpstack/Kconfig
index ad7f0a9c2..3187e636a 100644
--- a/system/dumpstack/Kconfig
+++ b/system/dumpstack/Kconfig
@@ -7,7 +7,6 @@ menuconfig SYSTEM_DUMPSTACK
 	tristate "dumpstack tool for show the task backtrace"
 	default n
 	depends on SCHED_BACKTRACE
-	---help---
 
 if SYSTEM_DUMPSTACK