The µC/TFTPs module has to be configured according to your specific needs. A template configuration file (tftp-s_cfg.h) is included in the module package (see section Directories and Files), and this configuration should be copied into your application directory and included to your project. Here is the list of the values and description of each of the configuration variable. However, keep in mind that future releases of this module might include more configuration options.
#define TFTPs_CFG_IPPORT 69
#define TFTPs_CFG_MAX_RX_TIMEOUT_MS 5000
#define TFTPs_CFG_MAX_TX_TIMEOUT_MS 5000
#define TFTPs_TRACE_HIST_SIZE 16
OS Task Configuration
#define TFTPs_OS_CFG_TASK_PRIO 20
Value of the priority for the µC/TFTPs task. The value assigned depends upon the software architecture of your system, and on the importance of this module’s response time relative to other tasks.
#define TFTPs_OS_CFG_TASK_STK_SIZE 512
Value of the stack size, in number of stack-sized words, for the µC/TFTPs task. This default value should be sufficient for most environments, but you should check this on your system for acceptable reliability or performance.