From 1398ff5f3bf91020e5be8ee8cebf9d2ce5736d63 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sun, 17 Feb 2008 21:11:52 +0000 Subject: [PATCH] Increase stack size. --- .../FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h index 9981427f5..989bc15e4 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h @@ -73,6 +73,7 @@ when running the application using the EUROScope debugger. */ #define configUSE_PREEMPTION 1 #define configUSE_IDLE_HOOK 1 #define configUSE_TICK_HOOK 0 +#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 120 ) #define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */ #define configCLKP1_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */ #define configTICK_RATE_HZ ( (portTickType) 1000 ) @@ -84,12 +85,6 @@ when running the application using the EUROScope debugger. */ #define configUSE_MUTEXES 1 #define configUSE_TRACE_FACILITY 1 -#if( ( configMEMMODEL == portSMALL ) || ( configMEMMODEL == portMEDIUM ) ) - #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 80 ) -#else - #define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 120 ) -#endif - /* Co-routine definitions. */ #define configUSE_CO_ROUTINES 1 #define configMAX_CO_ROUTINE_PRIORITIES ( 4 )