From af6c24536686056b0ec16ccfa71dd3143b81d023 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Sat, 25 Jul 2009 17:52:06 +0000 Subject: [PATCH] Decrease the configMINIMAL_STACK_SIZE setting to 190 to allow the demo to execute without running out of heap space. --- Demo/PIC32MX_MPLAB/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h b/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h index 9855d5a7e..69db69c8b 100644 --- a/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h +++ b/Demo/PIC32MX_MPLAB/FreeRTOSConfig.h @@ -69,7 +69,7 @@ #define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 80000000UL ) #define configPERIPHERAL_CLOCK_HZ ( ( unsigned portLONG ) 40000000UL ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) -#define configMINIMAL_STACK_SIZE ( 200 ) +#define configMINIMAL_STACK_SIZE ( 190 ) #define configISR_STACK_SIZE ( 400 ) #define configTOTAL_HEAP_SIZE ( ( size_t ) 28000 ) #define configMAX_TASK_NAME_LEN ( 8 )