aboutsummaryrefslogtreecommitdiff
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-02-04 22:49:42 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-02-04 22:49:42 +0000
commitc6e75138be748df230df985a37b6d04994a9c970 (patch)
tree122b575d72a4acd8c97b8601fa16c4332059e54e /apps/examples/README.txt
parent61137a3d22e3a545270f18afba55e63a187c870f (diff)
downloadpx4-firmware-c6e75138be748df230df985a37b6d04994a9c970.tar.gz
px4-firmware-c6e75138be748df230df985a37b6d04994a9c970.tar.bz2
px4-firmware-c6e75138be748df230df985a37b6d04994a9c970.zip
Add build environment for the FTP daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4370 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index b35232039..bb401c99a 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -266,6 +266,38 @@ examples/ftpc
CONFIG_DEBUG_VERBOSE=y
CONFIG_DEBUG_FTPC=y
+examples/ftpd
+^^^^^^^^^^^^^^
+
+ This example exercises the FTPD daemon at apps/netuils/ftpd. Below are
+ configurations specific to the FTPD example (the FTPD daemon itself may
+ require other configuration options as well).
+
+ CONFIG_EXAMPLES_FTPD_PRIO - Priority of the FTP daemon.
+ Default: SCHED_PRIORITY_DEFAULT
+ CONFIG_EXAMPLES_FTPD_STACKSIZE - Stack size allocated for the
+ FTP daemon. Default: 2048
+ CONFIG_EXAMPLES_FTPD_NONETINIT - Define to suppress configuration of the
+ network by apps/examples/ftpd. You would need to suppress network
+ configuration if the network is configuration prior to running the
+ example.
+
+ If CONFIG_EXAMPELS_FTPD_NONETINIT is not defined, then the following may
+ be specified to customized the network configuration:
+
+ CONFIG_EXAMPLE_FTPD_NOMAC - If the hardware has no MAC address of its
+ own, define this =y to provide a bogus address for testing.
+ CONFIG_EXAMPLE_FTPD_IPADDR - The target IP address. Default 10.0.0.2
+ CONFIG_EXAMPLE_FTPD_DRIPADDR - The default router address. Default
+ 10.0.0.1
+ CONFIG_EXAMPLE_FTPD_NETMASK - The network mask. Default: 255.255.255.0
+
+ The appconfig file (apps/.config) should include:
+
+ CONFIGURED_APPS += examples/ftpd
+ CONFIGURED_APPS += netutils/uiplib
+ CONFIGURED_APPS += netutils/ftpd
+
examples/hello
^^^^^^^^^^^^^^