mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Add tools/configure.c and configure.bat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5478 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+16
-8
@@ -1960,16 +1960,24 @@ tools/configure.sh
|
|||||||
There is a script that automates these steps. The following steps will
|
There is a script that automates these steps. The following steps will
|
||||||
accomplish the same configuration:
|
accomplish the same configuration:
|
||||||
|
|
||||||
cd tools
|
cd tools
|
||||||
./configure.sh <board-name>/<config-dir>
|
./configure.sh <board-name>/<config-dir>
|
||||||
|
|
||||||
And if configs/<board-name>/<config-dir>/appconfig exists and your
|
There is an alternative Windows batch file that can be used in the
|
||||||
application directory is not in the standard loction (../apps), then
|
windows native enironment like:
|
||||||
you should also specify the location of the application directory on the
|
|
||||||
command line like:
|
|
||||||
|
|
||||||
cd tools
|
cd ${TOPDIR}\tools
|
||||||
./configure.sh -a <app-dir> <board-name>/<config-dir>
|
configure.bat <board-name>\<config-dir>
|
||||||
|
|
||||||
|
See tools/README.txt for more information about these scripts.
|
||||||
|
|
||||||
|
And if configs/<board-name>/<config-dir>/appconfig exists and your
|
||||||
|
application directory is not in the standard loction (../apps), then
|
||||||
|
you should also specify the location of the application directory on the
|
||||||
|
command line like:
|
||||||
|
|
||||||
|
cd tools
|
||||||
|
./configure.sh -a <app-dir> <board-name>/<config-dir>
|
||||||
|
|
||||||
Building Symbol Tables
|
Building Symbol Tables
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -1011,6 +1011,11 @@ can be selected as follow:
|
|||||||
cd -
|
cd -
|
||||||
. ./setenv.sh
|
. ./setenv.sh
|
||||||
|
|
||||||
|
If this is a Windows native build, then configure.bat should be used
|
||||||
|
instead of configure.sh:
|
||||||
|
|
||||||
|
configure.bat STM32F4Discovery\<subdir>
|
||||||
|
|
||||||
Where <subdir> is one of the following:
|
Where <subdir> is one of the following:
|
||||||
|
|
||||||
cxxtest:
|
cxxtest:
|
||||||
|
|||||||
@@ -59,6 +59,11 @@ Configuring NuttX
|
|||||||
setenv.bat
|
setenv.bat
|
||||||
make
|
make
|
||||||
|
|
||||||
|
If this is a Windows native build, then configure.bat should be used
|
||||||
|
in step 1) instead of configure.sh:
|
||||||
|
|
||||||
|
configure.bat xtrs\ostest
|
||||||
|
|
||||||
The setenv.bat will need to be updated to include the PATH to the XTRS
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
hex2cmd program.
|
hex2cmd program.
|
||||||
|
|
||||||
@@ -90,6 +95,11 @@ Configuring NuttX
|
|||||||
setenv.bat
|
setenv.bat
|
||||||
make
|
make
|
||||||
|
|
||||||
|
If this is a Windows native build, then configure.bat should be used
|
||||||
|
in step 1) instead of configure.sh:
|
||||||
|
|
||||||
|
configure.bat xtrs\nsh
|
||||||
|
|
||||||
The setenv.bat will need to be updated to include the PATH to the XTRS
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
hex2cmd program.
|
hex2cmd program.
|
||||||
|
|
||||||
@@ -128,6 +138,11 @@ Configuring NuttX
|
|||||||
setenv.bat
|
setenv.bat
|
||||||
make
|
make
|
||||||
|
|
||||||
|
If this is a Windows native build, then configure.bat should be used
|
||||||
|
in step 1) instead of configure.sh:
|
||||||
|
|
||||||
|
configure.bat xtrs\pashello
|
||||||
|
|
||||||
The setenv.bat will need to be updated to include the PATH to the XTRS
|
The setenv.bat will need to be updated to include the PATH to the XTRS
|
||||||
hex2cmd program.
|
hex2cmd program.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user