mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
configs/stm32i10e-eval/nsh converted to use the kconfig-frontends tools
This commit is contained in:
@@ -714,8 +714,9 @@ Where <subdir> is one of the following:
|
|||||||
=========== ======================= ================================
|
=========== ======================= ================================
|
||||||
nsh nsh2
|
nsh nsh2
|
||||||
=========== ======================= ================================
|
=========== ======================= ================================
|
||||||
Toolchain: NuttX buildroot for Codesourcery for Windows (1)
|
Platform Windows with Cygwin (2) Windows with Cygwin (2)
|
||||||
Linux or Cygwin (1,2)
|
----------- ----------------------- --------------------------------
|
||||||
|
Toolchain: NuttX buildroot (1) Codesourcery for Windows (1)
|
||||||
----------- ----------------------- --------------------------------
|
----------- ----------------------- --------------------------------
|
||||||
Loader: DfuSe DfuSe
|
Loader: DfuSe DfuSe
|
||||||
----------- ----------------------- --------------------------------
|
----------- ----------------------- --------------------------------
|
||||||
@@ -769,22 +770,31 @@ Where <subdir> is one of the following:
|
|||||||
|
|
||||||
Failure to do this could result in corruption of the SD card format.
|
Failure to do this could result in corruption of the SD card format.
|
||||||
|
|
||||||
The nsh2 contains support for some built-in applications that can be
|
1. Both configurations use the mconf-based configuration tool. To
|
||||||
enabled by make some additional minor changes:
|
change these configurations using that tool, you should:
|
||||||
|
|
||||||
(1) examples/can. The CAN test example can be enabled by changing the
|
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
|
||||||
following settings in nsh2/defconfig:
|
and misc/tools/
|
||||||
|
|
||||||
CONFIG_CAN=y # Enable CAN "upper-half" driver support
|
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||||
CONFIG_STM32_CAN1=y # Enable STM32 CAN1 "lower-half" driver support
|
reconfiguration process.
|
||||||
|
|
||||||
The default CAN settings may need to change in your board board
|
2. The nsh2 contains support for some built-in applications that can be
|
||||||
configuration:
|
enabled by make some additional minor changes:
|
||||||
|
|
||||||
CONFIG_CAN_EXTID=y # Support extended IDs
|
a. examples/can. The CAN test example can be enabled by changing the
|
||||||
CONFIG_CAN1_BAUD=250000 # Bit rate: 250 KHz
|
following settings in nsh2/defconfig:
|
||||||
CONFIG_CAN_TSEG1=12 # 80% sample point
|
|
||||||
CONFIG_CAN_TSEG2=3
|
CONFIG_CAN=y # Enable CAN "upper-half" driver support
|
||||||
|
CONFIG_STM32_CAN1=y # Enable STM32 CAN1 "lower-half" driver support
|
||||||
|
|
||||||
|
The default CAN settings may need to change in your board board
|
||||||
|
configuration:
|
||||||
|
|
||||||
|
CONFIG_CAN_EXTID=y # Support extended IDs
|
||||||
|
CONFIG_CAN1_BAUD=250000 # Bit rate: 250 KHz
|
||||||
|
CONFIG_CAN_TSEG1=12 # 80% sample point
|
||||||
|
CONFIG_CAN_TSEG2=3
|
||||||
nx:
|
nx:
|
||||||
---
|
---
|
||||||
An example using the NuttX graphics system (NX). This example
|
An example using the NuttX graphics system (NX). This example
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/stm3210e-eval/nsh/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011-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/nsh
|
|
||||||
|
|
||||||
CONFIGURED_APPS += system/readline
|
|
||||||
CONFIGURED_APPS += nshlib
|
|
||||||
|
|
||||||
+922
-443
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user