mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
53fdfa68b9
All of the tools listed on the original documentation are now given their own individual doc pages. This makes it much easier to cross-reference them from other documentation locations (as many are used in CI/for specific architectures) and it also makes it easier for users to digest the information. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
31 lines
1.1 KiB
ReStructuredText
31 lines
1.1 KiB
ReStructuredText
===============
|
|
``kconfig.bat``
|
|
===============
|
|
|
|
Recent versions of NuttX support building NuttX from a native Windows
|
|
CMD.exe shell. But kconfig-frontends is a Linux tool and is not yet
|
|
available in the pure CMD.exe environment. At this point, there are
|
|
only a few options for the Windows user (see the top-level README.txt
|
|
file).
|
|
|
|
You can, with some effort, run the Cygwin kconfig-mconf tool directly
|
|
in the CMD.exe shell. In this case, you do not have to modify the
|
|
.config file, but there are other complexities: You need to
|
|
temporarily set the Cygwin directories in the PATH variable and
|
|
then run kconfig-mconf outside of the Make system.
|
|
|
|
kconfig.bat is a Windows batch file at tools/kconfig.bat that automates
|
|
these steps. It is used from the top-level NuttX directory like::
|
|
|
|
tools/kconfig menuconfig
|
|
|
|
NOTE: There is currently an issue with accessing DOS environment
|
|
variables from the Cygwin kconfig-mconf running in the CMD.exe shell.
|
|
The following change to the top-level Kconfig file seems to work around
|
|
these problems::
|
|
|
|
config APPSDIR
|
|
string
|
|
- option env="APPSDIR"
|
|
+ default "../apps"
|