]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/PIC32MZ_MPLAB/FreeRTOSConfig.h
Preparing for maintenance release -
[freertos] / FreeRTOS / Demo / PIC32MZ_MPLAB / FreeRTOSConfig.h
index 894321bd478873537b9cf262bb8c98dd2dfc9b7d..d0e403b7b6afceb4abd11826272c204b9d05a9e7 100644 (file)
 #define configPERIPHERAL_CLOCK_HZ                              ( 40000000UL )\r
 #define configMAX_PRIORITIES                                   ( 5UL )\r
 #define configMINIMAL_STACK_SIZE                               ( 190 )\r
-#define configISR_STACK_SIZE                                   ( 300 )\r
-#define configTOTAL_HEAP_SIZE                                  ( ( size_t ) 56000 )\r
+#define configISR_STACK_SIZE                                   ( 400 )\r
+#define configTOTAL_HEAP_SIZE                                  ( ( size_t ) 60000 )\r
 #define configMAX_TASK_NAME_LEN                                        ( 8 )\r
 #define configUSE_TRACE_FACILITY                               0\r
 #define configUSE_16_BIT_TICKS                                 0\r
 #define configIDLE_SHOULD_YIELD                                        1\r
 #define configUSE_MUTEXES                                              1\r
-#define configCHECK_FOR_STACK_OVERFLOW                 3\r
+#define configCHECK_FOR_STACK_OVERFLOW                 3 /* Three also checks the system/interrupt stack. */\r
 #define configQUEUE_REGISTRY_SIZE                              0\r
 #define configUSE_RECURSIVE_MUTEXES                            1\r
 #define configUSE_MALLOC_FAILED_HOOK                   1\r
 #define configUSE_COUNTING_SEMAPHORES                  1\r
 #define configGENERATE_RUN_TIME_STATS                  0\r
 \r
+/* Enable support for Task based FPU operations. This will enable support for\r
+FPU context saving during switches only on architectures with hardware FPU.\r
+\r
+NOTE: This constant is defined in the project options as configurations are \r
+provided that both enable and disable floating point support. \r
+#define configUSE_TASK_FPU_SUPPORT                             0 */\r
+\r
 /* Co-routine definitions. */\r
 #define configUSE_CO_ROUTINES                                  0\r
 #define configMAX_CO_ROUTINE_PRIORITIES                        ( 2 )\r
@@ -147,5 +154,5 @@ interrupts. */
        extern void vAssertCalled( const char * pcFile, unsigned long ulLine );\r
        #define configASSERT( x ) if( ( x ) == 0  ) vAssertCalled( __FILE__, __LINE__ )\r
 #endif\r
-\r
+    \r
 #endif /* FREERTOS_CONFIG_H */\r