c139b07655
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@873 42af7a65-404d-4744-a932-0658087f49c3 |
||
---|---|---|
.. | ||
mount | ||
nettest | ||
nsh | ||
null | ||
ostest | ||
pashello | ||
pipe | ||
udp | ||
uip | ||
README.txt |
examples ^^^^^^^^ The examples directory contains several sample applications that can be linked with nuttx. The specific example is selected in the configs/<board-name>/defconfig file via the CONFIG_EXAMPLE setting. For example, CONFIG_EXAMPLE=ostest Selects the examples/ostest example. examples/ostest ^^^^^^^^^^^^^^^ This is the NuttX 'qualification' suite. It attempts to exercise a broad set of OS functionality. Its coverage is not very extensive as of this writing, but it is used to qualify each NuttX release. The behavior of the ostest can be modified with the following settings in the configs/<board-name>/defconfig file: * CONFIG_EXAMPLES_OSTEST_LOOPS Used to control the number of executions of the test. If undefined, the test executes one time. If defined to be zero, the test runs forever. * CONFIG_EXAMPLES_OSTEST_STACKSIZE Used to create the ostest task. Default is 8192. examples/nsh ^^^^^^^^^^^^ This directory contains the NuttShell (NSH). This is a simple shell application. With some additional development, NSH will someday be a great NuttX application debugger. NSH is described in its own README located at examples/nsh/README.txt examples/mount ^^^^^^^^^^^^^^ This contains a simple test of filesystem mountpoints. * CONFIG_EXAMPLES_MOUNT_DEVNAME The name of the user-provided block device to mount. If CONFIG_EXAMPLES_MOUNT_DEVNAME is not provided, then a RAM disk will be configured. * CONFIG_EXAMPLES_MOUNT_NSECTORS The number of "sectors" in the RAM disk used when CONFIG_EXAMPLES_MOUNT_DEVNAME is not defined. * CONFIG_EXAMPLES_MOUNT_SECTORSIZE The size of each sectors in the RAM disk used when CONFIG_EXAMPLES_MOUNT_DEVNAME is not defined. * CONFIG_EXAMPLES_MOUNT_RAMDEVNO The RAM device minor number used to mount the RAM disk used when CONFIG_EXAMPLES_MOUNT_DEVNAME is not defined. The default is zero (meaning that "/dev/ram0" will be used). examples/null ^^^^^^^^^^^^^ This is the do nothing application. It is only used for bringing up new NuttX architectures. examples/uip ^^^^^^^^^^^^ This is a port of uIP example application. It includes conditionally compiled logic to exercise the uIP webserver, webclient, telnet, smtp, dncpc, and resolver. examples/netttest ^^^^^^^^^^^^^^^^^ This is a simple network test for verifying client- and server- functionality in a TCP/IP connection. examples/udp ^^^^^^^^^^^^ This is a simple network test for verifying client- and server- functionality over UDP. examples/pashello ^^^^^^^^^^^^^^^^^ This is "Hello, World" implemented via the Pascal P-Code interpreter examples/pipe ^^^^^^^^^^^^^ A test of the mkfifo() and pipe() APIs. * CONFIG_EXAMPLES_PIPE_STACKSIZE Sets the size of the stack to use when creating the child tasks. The default size is 1024.