#define configCLKP1_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */\r
#define configTICK_RATE_HZ ( (portTickType) 1000 )\r
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 )\r
-#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 80 )\r
#define configTOTAL_HEAP_SIZE ( (size_t) (20000) )\r
#define configMAX_TASK_NAME_LEN ( 20 )\r
#define configUSE_16_BIT_TICKS 1\r
#define configUSE_MUTEXES 1\r
#define configUSE_TRACE_FACILITY 1\r
\r
+#if( ( configMEMMODEL == portSMALL ) || ( configMEMMODEL == portMEDIUM ) )\r
+ #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 80 )\r
+#else\r
+ #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 120 )\r
+#endif\r
+\r
/* Co-routine definitions. */\r
#define configUSE_CO_ROUTINES 1\r
#define configMAX_CO_ROUTINE_PRIORITIES ( 4 )\r