Xiang Xiao
ecae66fe59
Replace all CONFIG_NFILE_STREAMS with CONFIG_FILE_STREAM
...
follow up the kernel side change
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ic27ad65d7cc2ea570921e0c17098dcb6bfe1893a
2020-09-11 17:57:58 +08:00
Xiang Xiao
9d80399bd5
nsh: Accept the command line arguments like sh
...
Usage: nsh [<script-path>|-c <command>]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ifb76b27e7fd09d26b1f6e48c391fed0972018041
2020-08-19 14:32:53 -07:00
Gregory Nutt
9db029e318
The file system can no longer be disabled. Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS==0
2019-02-11 13:10:10 -06:00
David Sidrane
7db2a352fb
nshlib/nsh_console.h: Fix copy paste errors. Some Kconfig configuration names needed CONFIG_ prefix.
2019-01-24 06:36:26 -06:00
Masayuki Ishikawa
060a8fff4b
Merged in masayuki2009/nuttx.apps/fix_redirection_error (pull request #167 )
...
apps/nshlib: Fix buffer overrun when redirected to a file.
SAVE_SIZE must be the same as sizeof(struct serialsave_s)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-19 12:38:49 +00:00
GregoryN
3bf4b6d245
Merged altconsole into master
2018-12-08 18:53:54 -06:00
Gregory Nutt
e9edfd064f
apps/nshlib: Add support for NSH local variables if CONFIG_NSH_VARS are set. These are like environment variables but are local to NSH. The importance of this is that these variables are *not* inherited when NSH creates a new task. The new command 'export' was added. In this case, the NSH variable will be promoted to an environment variable and will then be inherited by any tasks executed by NSH.
2018-10-01 13:30:25 -06:00
Gregory Nutt
b5c5055c41
NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications
2016-01-17 07:53:52 -06:00
Gregory Nutt
16ed293417
Revert "Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR""
...
This reverts commit fd083ee981
.
2016-01-17 07:41:51 -06:00
Gregory Nutt
fd083ee981
Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR"
...
This reverts commit cb6a914d08
.
2016-01-17 07:39:17 -06:00
Gregory Nutt
50f44f23f2
Fix an error in last commit; eliminate a warning
2016-01-06 10:14:09 -06:00
Gregory Nutt
cb6a914d08
NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR
2016-01-05 16:38:50 -06:00
Gregory Nutt
631c9cec12
apps/nshlib: The I/O buffer, g_iobuffer, should not be a global buffer. That will not work in an environment where there are multiple NSH sessions. The I/O buffer must, instead, be a part part of the session-specific data defined in nsh_console.h # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit.
2015-11-28 11:13:47 -06:00
Gregory Nutt
2b0f1ed109
Change all variadic macros to C99 style
2014-05-22 09:01:51 -06:00
Gregory Nutt
7a98f10283
The alternate console device CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative console device name
2014-05-05 08:52:02 -06:00
Gregory Nutt
87fe636d40
NSH cosmetic changes
2014-01-24 09:49:17 -06:00
Gregory Nutt
c4e46f5b62
Changes to NSH and readline to permit NSH to work on a platform with no file system
2013-09-30 11:34:04 -06:00
patacongo
9c58ee4a6f
You can now configure a login for Telnet NSH session -- from Darcy Gong
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 16:59:17 +00:00
patacongo
f8e08440f7
Email address change in apps/
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5143 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 16:58:49 +00:00
patacongo
8c4b8c77fa
Tried to get the Composite driver working on the LPC2148 (and failed)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4362 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 19:42:55 +00:00