Versions Compared

Key

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

...

No Format
#ifndef APP_TASK_CFG_H
#define APP_TASK_CFG_H
 
#define TASK_APP_DISCO_NAME         "disco"
#define TASK_APP_DISCO_PRIORITY     55
#define TASK_APP_DISCO_STK_SIZE     256
 
#define TASK_APP_MGRCONN_NAME       "mgrconn"
#define TASK_APP_MGRCONN_PRIORITY   54
#define TASK_APP_MGRCONN_STK_SIZE   256
 
#define TASK_APP_UART_NAME          "uart"
#define TASK_APP_UART_PRIORITY      53
#define TASK_APP_UART_STK_SIZE      256
 
#endif

Here stack sizes are given in 4-byte words, so a stack size of 256 words = 1024 bytes of memory.  A total of 8 kB of memory is set aside for all user tasks.

Warning

Per http://supp.iar.com/Support/?Note=85413, make sure to initialize the stack(s) to 8-byte aligned addresses.