Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10465741046574 Operating System Configuration Anchor10474971047497The 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).anchor

10469731046973#define FTPs_OS_CFG_SERVER_TASK_PRIO 14
#define FTPs_OS_CFG_CTRL_TASK_PRIO 15
Anchor10470291047029

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.

Anchor10470501047050#define FTPs_OS_CFG_SERVER_TASK_STK_SIZE 1024
#define FTPs_OS_CFG_CTRL_TASK_STK_SIZE 2048 Anchor10470781047078

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.