Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
2205c35a24
commit
e612b388f2
@ -935,44 +935,37 @@ Where <subdir> is one of the following:
|
||||
|
||||
Configuration Notes:
|
||||
|
||||
1. Uses the buildroot toolchaing (CONFIG_LPC17_BUILDROOT=y). But that is
|
||||
easily reconfigured (see above)
|
||||
2. Support for FAT long file names is built-in but can easily be
|
||||
removed if you are concerned about Microsoft patent issues (see the
|
||||
section "FAT Long File Names" in the top-level COPYING file).
|
||||
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FAT_LCNAMES=y <-- Long file name support
|
||||
CONFIG_FAT_LFN=y
|
||||
CONFIG_FAT_MAXFNAME=32
|
||||
CONFIG_FS_NXFFS=n
|
||||
CONFIG_FS_ROMFS=n
|
||||
|
||||
3. Includes logic to support a button test (apps/examples/buttons). To
|
||||
enable the button test, make the following changes in the .config
|
||||
after configuring:
|
||||
|
||||
-CONFIG_ARCH_BUTTONS=n
|
||||
+CONFIG_ARCH_BUTTONS=y
|
||||
|
||||
-CONFIG_GPIO_IRQ=n
|
||||
-CONFIG_ARCH_IRQBUTTONS=n
|
||||
+CONFIG_GPIO_IRQ=y
|
||||
+CONFIG_ARCH_IRQBUTTONS=y
|
||||
|
||||
4. This example supports the CAN loopback test (apps/examples/can) but this
|
||||
must be manually enabled by selecting:
|
||||
|
||||
CONFIG_CAN=y : Enable the generic CAN infrastructure
|
||||
CONFIG_LPC17_CAN1=y : Enable CAN1
|
||||
CONFIG_CAN_LOOPBACK=y : Enable CAN loopback mode
|
||||
|
||||
See also apps/examples/README.txt
|
||||
NOTES:
|
||||
|
||||
Special CAN-only debug options:
|
||||
1. This configuration uses the mconf-based configuration tool. To
|
||||
change this configuration using that tool, you should:
|
||||
|
||||
CONFIG_DEBUG_CAN
|
||||
CONFIG_CAN_REGDEBUG
|
||||
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. Uses the older, OABI, buildroot toolchain. But that is easily
|
||||
reconfigured:
|
||||
|
||||
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot toolchain
|
||||
CONFIG_ARMV7M_OABI_TOOLCHAIN=y : Older, OABI toolchain
|
||||
|
||||
3. This configuration supports a network. You may have to change
|
||||
these settings for your network:
|
||||
|
||||
CONFIG_NSH_IPADDR=0x0a000002 : IP address: 10.0.0.2
|
||||
CONFIG_NSH_DRIPADDR=0x0a000001 : Gateway: 10.0.0.1
|
||||
CONFIG_NSH_NETMASK=0xffffff00 : Netmask: 255.255.255.0
|
||||
|
||||
4. This configuration supports the SPI-based MMC/SD card slot.
|
||||
FAT file system support for FAT long file names is built-in but
|
||||
can easily be removed if you are concerned about Microsoft patent
|
||||
issues (see the section "FAT Long File Names" in the top-level
|
||||
COPYING file).
|
||||
|
||||
CONFIG_FAT_LFN=y : Enables long file name support
|
||||
|
||||
nx:
|
||||
An example using the NuttX graphics system (NX). This example uses
|
||||
|
@ -1,66 +0,0 @@
|
||||
############################################################################
|
||||
# configs/olimex-lpc1766stk/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
|
||||
|
||||
# NSH library
|
||||
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
|
||||
# Networking support
|
||||
|
||||
ifeq ($(CONFIG_NET),y)
|
||||
CONFIGURED_APPS += netutils/uiplib
|
||||
CONFIGURED_APPS += netutils/dhcpc
|
||||
CONFIGURED_APPS += netutils/resolv
|
||||
CONFIGURED_APPS += netutils/tftpc
|
||||
CONFIGURED_APPS += netutils/webclient
|
||||
ifeq ($(CONFIG_NSH_TELNET),y)
|
||||
CONFIGURED_APPS += netutils/telnetd
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_BUTTONS),y)
|
||||
CONFIGURED_APPS += examples/buttons
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CAN),y)
|
||||
CONFIGURED_APPS += examples/can
|
||||
endif
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user