nuttx-apps/include
Gregory Nutt 4d364d836a This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice.
Here are some offenders: examples/cc3000/shell.c, examples/nsh/nsh_main.c, examples/nxterm/nxterm_main.c, and examples/pty_test/pty_test.c.  It is possible that for some of those, that represents the first call to nsh_consolemain().  But probably not.

To give other initialization options, I added nsh_consolechild() which is identical to nsh_consolemain() other than it omits all of the one-time initialization.  Of course, you would not get the result that you wanted if nsh_consolechild() were called without nsh_consolemain().
2016-08-25 14:14:23 -06:00
..
builtin Move apps/include/builtin.h to apps/include/builtin/builtin.h 2016-07-01 07:08:03 -06:00
canutils Basic CAN utility library 2016-06-24 10:45:45 +02:00
fsutils apps/fsutils/flash_eraseall: Add MDIOC_BULKERASE IOCTL wrapper function 2016-06-03 07:58:54 -06:00
gpsutils apps/gpsutils/minmea: Re-released under the NuttX BSD license with permission from the author 2016-02-22 08:00:24 -06:00
graphics apps/include/tiff.h moved to apps/include/graphics/tiff.h 2016-07-01 07:03:26 -06:00
interpreters apps/interpreters/minibasic: Add a port of Mini Basic, version 1.0, written by Malcom McLean and released under the Creative Commons Attirbution license. 2016-08-11 09:40:45 -06:00
modbus Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
netutils apps/netutils/cJSON: Eliminate some warnings 2016-07-12 16:27:14 -06:00
nshlib This commit adds nsh_consolechild(). I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session. That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library: Mounting, reading, and running the start-up script, configuring USB tracing. Some of those actions will cause failures if attempted twice. 2016-08-25 14:14:23 -06:00
platform Clean up and review of header files for conformance to standards 2015-06-12 19:26:01 -06:00
system apps/include: Move all header files associated with modules in apps/system to apps/include/system 2016-07-01 06:48:22 -06:00
.gitignore UAVCAN: Changes to build system 2015-09-29 18:18:59 -04:00