diff options
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/README.txt | 19 | ||||
-rwxr-xr-x | nuttx/configs/stm3240g-eval/README.txt | 20 | ||||
-rw-r--r-- | nuttx/configs/stm3240g-eval/nsh/appconfig | 4 |
3 files changed, 40 insertions, 3 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 8154c22c2..fc1743ced 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -916,6 +916,25 @@ defconfig -- This is a configuration file similar to the Linux CONFIG_THTTPD_URLPATTERN - If defined, then it will be used to match and verify referrers. + FTP Server + + CONFIG_FTPD_VENDORID - The vendor name to use in FTP communications. + Default: "NuttX" + CONFIG_FTPD_SERVERID - The server name to use in FTP communications. + Default: "NuttX FTP Server" + CONFIG_FTPD_CMDBUFFERSIZE - The maximum size of one command. Default: + 512 bytes. + CONFIG_FTPD_DATABUFFERSIZE - The size of the I/O buffer for data + transfers. Default: 2048 bytes. + CONFIG_FTPD_WORKERSTACKSIZE - The stacksize to allocate for each + FTP daemon worker thread. Default: 2048 bytes. + + Other required configuration settings: Of course TCP networking support + is required. But here are a couple that are less obvious: + + CONFIG_DISABLE_PTHREAD - pthread support is required + CONFIG_DISABLE_POLL - poll() support is required + USB device controller driver CONFIG_USBDEV - Enables USB device support diff --git a/nuttx/configs/stm3240g-eval/README.txt b/nuttx/configs/stm3240g-eval/README.txt index 9013cdffc..727b46d08 100755 --- a/nuttx/configs/stm3240g-eval/README.txt +++ b/nuttx/configs/stm3240g-eval/README.txt @@ -661,7 +661,25 @@ Where <subdir> is one of the following: CONFIG_DEBUG_CAN CONFIG_CAN_REGDEBUG - 5. This configuration requires that jumper JP22 be set to enable RS-232 operation. + 5. This example can support an FTP client. In order to build in FTP client + support simply uncomment the following lines in the appconfig file (before + configuring) or in the apps/.config file (after configuring): + + #CONFIGURED_APPS += netutils/ftpc + #CONFIGURED_APPS += examples/ftpc + + 6. This example can support an FTP server. In order to build in FTP server + support simply uncomment the following lines in the appconfig file (before + configuring) or in the apps/.config file (after configuring): + + #CONFIGURED_APPS += netutils/ftpd + #CONFIGURED_APPS += examples/ftpd + + And enable poll() support in the NuttX configuration file: + + CONFIG_DISABLE_POLL=n + + 7. This configuration requires that jumper JP22 be set to enable RS-232 operation. nsh2: ----- diff --git a/nuttx/configs/stm3240g-eval/nsh/appconfig b/nuttx/configs/stm3240g-eval/nsh/appconfig index 9567dd792..77bf3e938 100644 --- a/nuttx/configs/stm3240g-eval/nsh/appconfig +++ b/nuttx/configs/stm3240g-eval/nsh/appconfig @@ -43,8 +43,8 @@ CONFIGURED_APPS += system/readline CONFIGURED_APPS += nshlib # Networking libraries. -# Uncomment netutils/ftpc to include an FTP client -# Uncomment netutils/ftpd to include an FTP server +# Uncomment netutils/ftpc to include an FTP client library +# Uncomment netutils/ftpd to include an FTP server library ifeq ($(CONFIG_NET),y) CONFIGURED_APPS += netutils/uiplib |