]> git.sur5r.net Git - freertos/blobdiff - Demo/ColdFire_MCF52221_CodeWarrior/sources/FreeRTOSConfig.h
First working MCF52221 demo.
[freertos] / Demo / ColdFire_MCF52221_CodeWarrior / sources / FreeRTOSConfig.h
index 2cca51ac50049166b7a959e3c942990042b470c5..4480d1f144611130b816e49ac1da26ddf8616448 100644 (file)
  *----------------------------------------------------------*/\r
 \r
 #define configUSE_PREEMPTION                   1\r
-#define configUSE_IDLE_HOOK                            0\r
+#define configUSE_IDLE_HOOK                            1\r
 #define configUSE_TICK_HOOK                            0\r
 #define configCPU_CLOCK_HZ                             ( ( unsigned portLONG ) 80000000 )\r
 #define configTICK_RATE_HZ                             ( ( portTickType ) 100 )\r
-#define configMINIMAL_STACK_SIZE               ( ( unsigned portSHORT ) 160 )\r
-#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 10 * 1024 ) ) /* The heap size is worked out from the linker script, so this constant is not used. */\r
+#define configMINIMAL_STACK_SIZE               ( ( unsigned portSHORT ) 140 )\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 14 * 1024 ) )\r
 #define configMAX_TASK_NAME_LEN                        ( 12 )\r
 #define configUSE_TRACE_FACILITY               1\r
 #define configUSE_16_BIT_TICKS                 0\r
 #define configIDLE_SHOULD_YIELD                        0\r
-#define configUSE_CO_ROUTINES                  0\r
+#define configUSE_CO_ROUTINES                  1\r
 #define configUSE_MUTEXES                              1\r
 #define configCHECK_FOR_STACK_OVERFLOW 2\r
 #define configUSE_RECURSIVE_MUTEXES            1\r