diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-04 22:49:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-04 22:49:42 +0000 |
commit | efb4bf7dca5d637268c6d70eec2880352047e34c (patch) | |
tree | 122b575d72a4acd8c97b8601fa16c4332059e54e /apps/examples/README.txt | |
parent | 89195d1c46a0c742e74ea46e449b10b97c7b220a (diff) | |
download | nuttx-efb4bf7dca5d637268c6d70eec2880352047e34c.tar.gz nuttx-efb4bf7dca5d637268c6d70eec2880352047e34c.tar.bz2 nuttx-efb4bf7dca5d637268c6d70eec2880352047e34c.zip |
Add build environment for the FTP daemon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4370 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r-- | apps/examples/README.txt | 32 |
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 ^^^^^^^^^^^^^^ |