mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 05:14:27 +08:00
Add suppport for choice prompts and help text to the Kconfig documentation tool
This commit is contained in:
@@ -96,7 +96,8 @@ config APPS_DIR
|
||||
the NuttX top build direcory. If you had an application
|
||||
directory and the NuttX directory each in separate directory
|
||||
trees like this:
|
||||
|
||||
|
||||
<pre>
|
||||
build
|
||||
|-nuttx
|
||||
| |
|
||||
@@ -104,6 +105,7 @@ config APPS_DIR
|
||||
`-application
|
||||
|
|
||||
`- Makefile
|
||||
</pre>
|
||||
|
||||
Then you would set CONFIG_APPS_DIR=../application.
|
||||
|
||||
@@ -238,11 +240,13 @@ config ARCH_STDBOOL_H
|
||||
However, that header includes logic to redirect the inclusion of an
|
||||
architecture specific header file like:
|
||||
|
||||
<pre>
|
||||
#ifdef CONFIG_ARCH_STDBOOL_H
|
||||
# include <arch/stdbool.h>
|
||||
#else
|
||||
...
|
||||
#endif
|
||||
</pre>
|
||||
|
||||
Recall that that include path, include/arch, is a symbolic link and
|
||||
will refer to a version of stdbool.h at nuttx/arch/<architecture>/include/stdbool.h.
|
||||
@@ -259,9 +263,11 @@ config ARCH_MATH_H
|
||||
will then include the architecture-specific version of math.h that you
|
||||
must provide at nuttx/arch/>architecture</include/math.h.
|
||||
|
||||
<pre>
|
||||
#ifdef CONFIG_ARCH_MATH_H
|
||||
# include <arch/math.h>
|
||||
#endif
|
||||
</pre>
|
||||
|
||||
So for the architectures that define ARCH_MATH_H=y, include/math.h
|
||||
will be the redirecting math.h header file; for the architectures
|
||||
|
||||
@@ -82,6 +82,14 @@ cmdconfig.c
|
||||
This C file can be used to build a utility for comparing two NuttX
|
||||
configuration files.
|
||||
|
||||
kconfig2html.c
|
||||
--------------
|
||||
|
||||
This is a C file that can be used build a utility for converting the
|
||||
NuttX configuration in the Kconfig files to an HTML document. This
|
||||
auto-generated documentation will, eventually, replace the manually
|
||||
updated configuratin documentation that is fallling woefully behind.
|
||||
|
||||
mkexport.sh and Makefile.export
|
||||
-------------------------------
|
||||
|
||||
|
||||
+464
-48
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user