configs/stm3220g-eval/nettest: Configuration converted to use the kconfig-frontends tools
This commit is contained in:
parent
169691bac0
commit
c0c7a265ad
@ -43,7 +43,7 @@ GNU Toolchain Options
|
|||||||
1. The CodeSourcery GNU toolchain,
|
1. The CodeSourcery GNU toolchain,
|
||||||
2. The Atollic Toolchain,
|
2. The Atollic Toolchain,
|
||||||
3. The devkitARM GNU toolchain,
|
3. The devkitARM GNU toolchain,
|
||||||
4. Raisonance GNU toolchain,
|
4. Raisonance GNU toolchain,
|
||||||
5. The NuttX buildroot Toolchain (see below), or
|
5. The NuttX buildroot Toolchain (see below), or
|
||||||
6. Any generic arm-none-eabi GNU toolchain.
|
6. Any generic arm-none-eabi GNU toolchain.
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ NXFLAT Toolchain
|
|||||||
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
|
||||||
be downloaded from the NuttX SourceForge download site
|
be downloaded from the NuttX SourceForge download site
|
||||||
(https://sourceforge.net/projects/nuttx/files/).
|
(https://sourceforge.net/projects/nuttx/files/).
|
||||||
|
|
||||||
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
This GNU toolchain builds and executes in the Linux or Cygwin environment.
|
||||||
|
|
||||||
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
1. You must have already configured Nuttx in <some-dir>/nuttx.
|
||||||
@ -752,13 +752,13 @@ STM3220G-EVAL-specific Configuration Options
|
|||||||
STM32 USB OTG FS Host Driver Support
|
STM32 USB OTG FS Host Driver Support
|
||||||
|
|
||||||
Pre-requisites
|
Pre-requisites
|
||||||
|
|
||||||
CONFIG_USBHOST - Enable general USB host support
|
CONFIG_USBHOST - Enable general USB host support
|
||||||
CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block
|
CONFIG_STM32_OTGFS - Enable the STM32 USB OTG FS block
|
||||||
CONFIG_STM32_SYSCFG - Needed
|
CONFIG_STM32_SYSCFG - Needed
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words.
|
CONFIG_STM32_OTGFS_RXFIFO_SIZE - Size of the RX FIFO in 32-bit words.
|
||||||
Default 128 (512 bytes)
|
Default 128 (512 bytes)
|
||||||
CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO
|
CONFIG_STM32_OTGFS_NPTXFIFO_SIZE - Size of the non-periodic Tx FIFO
|
||||||
@ -810,6 +810,25 @@ Where <subdir> is one of the following:
|
|||||||
CONFIG_EXAMPLES_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1) : Host side is IP: 10.0.0.1
|
CONFIG_EXAMPLES_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1) : Host side is IP: 10.0.0.1
|
||||||
CONFIG_EXAMPLES_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1) : Server address used by which ever is client.
|
CONFIG_EXAMPLES_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1) : Server address used by which ever is client.
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
|
||||||
|
1. This configuration uses the mconf-based configuration tool. To
|
||||||
|
change this configuration using that tool, you should:
|
||||||
|
|
||||||
|
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||||
|
and misc/tools/
|
||||||
|
|
||||||
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
|
reconfiguration process.
|
||||||
|
|
||||||
|
2. Default build environment:
|
||||||
|
|
||||||
|
CONFIG_HOST_WINDOWS=y : Windows
|
||||||
|
CONFIG_WINDOWS_CYGWIN=y : Under Cygwin
|
||||||
|
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
||||||
|
|
||||||
|
Than can, of course, be easily changes by reconfiguring per Note 1.
|
||||||
|
|
||||||
nsh:
|
nsh:
|
||||||
---
|
---
|
||||||
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
||||||
@ -948,7 +967,7 @@ Where <subdir> is one of the following:
|
|||||||
CONFIG_MM_REGIONS=2 : When FSMC is enabled, so is the on-board SRAM memory region
|
CONFIG_MM_REGIONS=2 : When FSMC is enabled, so is the on-board SRAM memory region
|
||||||
|
|
||||||
10. USB OTG FS Device or Host Support
|
10. USB OTG FS Device or Host Support
|
||||||
|
|
||||||
CONFIG_USBDEV - Enable USB device support, OR
|
CONFIG_USBDEV - Enable USB device support, OR
|
||||||
CONFIG_USBHOST - Enable USB host support (but not both)
|
CONFIG_USBHOST - Enable USB host support (but not both)
|
||||||
|
|
||||||
@ -1058,7 +1077,7 @@ Where <subdir> is one of the following:
|
|||||||
Here is the quick summary of the build steps (Assuming that all of
|
Here is the quick summary of the build steps (Assuming that all of
|
||||||
the required packages are available in a directory ~/nuttx-code):
|
the required packages are available in a directory ~/nuttx-code):
|
||||||
|
|
||||||
1. Intall the nxwm configuration
|
1. Install the nxwm configuration
|
||||||
|
|
||||||
$ cd ~/nuttx-code/nuttx/tools
|
$ cd ~/nuttx-code/nuttx/tools
|
||||||
$ ./configure.sh stm3220g-eval/nxwm
|
$ ./configure.sh stm3220g-eval/nxwm
|
||||||
@ -1096,7 +1115,7 @@ Where <subdir> is one of the following:
|
|||||||
$ make
|
$ make
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
|
|
||||||
1. This configuration uses the mconf-based configuration tool. To
|
1. This configuration uses the mconf-based configuration tool. To
|
||||||
change this configuration using that tool, you should:
|
change this configuration using that tool, you should:
|
||||||
|
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/stm3220g-eval/nettest/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions
|
|
||||||
# are met:
|
|
||||||
#
|
|
||||||
# 1. Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in
|
|
||||||
# the documentation and/or other materials provided with the
|
|
||||||
# distribution.
|
|
||||||
# 3. Neither the name NuttX nor the names of its contributors may be
|
|
||||||
# used to endorse or promote products derived from this software
|
|
||||||
# without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
||||||
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
|
||||||
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
|
||||||
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
||||||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
|
||||||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
#
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
# Path to example in apps/examples containing the user_start entry point
|
|
||||||
|
|
||||||
CONFIGURED_APPS += examples/nettest
|
|
||||||
|
|
||||||
# Networking support
|
|
||||||
|
|
||||||
CONFIGURED_APPS += netutils/uiplib
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user