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:
patacongo 2013-01-04 21:37:31 +00:00
parent 415f93eaa7
commit 6859eeea9e
3 changed files with 36 additions and 8 deletions

View File

@ -1960,16 +1960,24 @@ tools/configure.sh
There is a script that automates these steps. The following steps will
accomplish the same configuration:
cd tools
./configure.sh <board-name>/<config-dir>
cd tools
./configure.sh <board-name>/<config-dir>
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:
There is an alternative Windows batch file that can be used in the
windows native enironment like:
cd tools
./configure.sh -a <app-dir> <board-name>/<config-dir>
cd ${TOPDIR}\tools
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
^^^^^^^^^^^^^^^^^^^^^^

View File

@ -1011,6 +1011,11 @@ can be selected as follow:
cd -
. ./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:
cxxtest:

View File

@ -59,6 +59,11 @@ Configuring NuttX
setenv.bat
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
hex2cmd program.
@ -90,6 +95,11 @@ Configuring NuttX
setenv.bat
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
hex2cmd program.
@ -128,6 +138,11 @@ Configuring NuttX
setenv.bat
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
hex2cmd program.