apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2013-01-16 15:41:27 +00:00
parent b8b557a75e
commit a00d6f7969
4 changed files with 17 additions and 7 deletions

View File

@ -270,8 +270,9 @@ nsh
Description
-----------
Configures to use the NuttShell at apps/examples/nsh. This configuration
may be selected as follows:
Configures to use the NuttShell at apps/examples/nsh. This version has
one builtin function: This configuration: apps/examples/hello. This
configuration may be selected as follows:
cd <nuttx-directory>/tools
./configure.sh sim/nsh
@ -281,7 +282,7 @@ nsh2
Description
-----------
This is another example that configures to use the NuttShell at apps/examples/nsh.
Unlike nsh, this version uses NSH built-in functions. The nx, nxhello, and
Like nsh, this version uses NSH built-in functions: The nx, nxhello, and
nxlines examples are included as built-in functions.
X11 Configuration

View File

@ -42,3 +42,6 @@ CONFIGURED_APPS += examples/nsh
CONFIGURED_APPS += system/readline
CONFIGURED_APPS += nshlib
# Example built-in application
CONFIGURED_APPS += examples/hello

View File

@ -1,7 +1,7 @@
############################################################################
# sim/nsh/defconfig
#
# Copyright (C) 2008-2012 Gregory Nutt. All rights reserved.
# Copyright (C) 2008-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@ -46,7 +46,7 @@ CONFIG_ARCH_BOARD_SIM=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_SYMBOLS=y
CONFIG_HAVE_CXX=n
CONFIG_HAVE_CXXINITIALIZE=n
@ -170,6 +170,7 @@ CONFIG_FAT_LFN=n
CONFIG_FAT_MAXFNAME=32
CONFIG_FS_NXFFS=n
CONFIG_FS_ROMFS=y
CONFIG_FS_BINFS=y
#
# TCP/IP and UDP support via uIP
@ -193,6 +194,11 @@ CONFIG_NET_STATISTICS=y
#CONFIG_NET_ARPTAB_SIZE=8
CONFIG_NET_BROADCAST=n
#
# Settings for examples/hello
#
CONFIG_EXAMPLES_HELLO_BUILTIN=y
#
# UIP Network Utilities
#
@ -224,7 +230,7 @@ CONFIG_EXAMPLES_OSTEST_STACKSIZE=8192
#
# Settings for apps/nshlib
#
CONFIG_NSH_BUILTIN_APPS=n
CONFIG_NSH_BUILTIN_APPS=y
CONFIG_NSH_FILEIOSIZE=1024
CONFIG_NSH_STRERROR=n
CONFIG_NSH_LINELEN=80

View File

@ -526,4 +526,4 @@ CONFIG_HEAP_SIZE=
CONFIG_APPS_DIR="../apps"
# Provide /dev/ramX and then: mount -t binfs /dev/ram0 /bin
CONFIG_APPS_BINDIR=y
CONFIG_FS_BINFS=y