Operating System Configuration
The following configuration constants relate to the µC/FTPs OS port. For many OSs, the µC/FTPs task priority and stack size will need to be explicitly configured for the particular OS (consult the specific OS’s documentation for more information).
#define FTPs_OS_CFG_SERVER_TASK_PRIO 14
#define FTPs_OS_CFG_CTRL_TASK_PRIO 15
Values of the priority for the two µC/FTPs tasks. The values assigned depend of the software architecture of your system, and on the importance of this module’s response time relative to other tasks. It is recommended, however, to give consecutive task priorities to the two µC/FTPs tasks, and the server task should have higher priority than the control task.
#define FTPs_OS_CFG_SERVER_TASK_STK_SIZE 1024
#define FTPs_OS_CFG_CTRL_TASK_STK_SIZE 2048
Values of the stack sizes, in number of stack-sized words, for the two µC/FTPs tasks. These default values should be sufficient for most environments, but you should check this on your system for acceptable reliability or performance.