]> git.sur5r.net Git - freertos/commitdiff
Add in the configMAX_SYSCALL_INTERRUPT_PRIORITY constant.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 7 May 2008 17:54:21 +0000 (17:54 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 7 May 2008 17:54:21 +0000 (17:54 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@338 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/PIC32MX_MPLAB/FreeRTOSConfig.h

index 107f6b7cea6d823daf7291e45ff8a87191b5f389..4d4d73a7daad145205921c441c46c4751512640c 100644 (file)
 #define configCPU_CLOCK_HZ                             ( ( unsigned portLONG ) 72000000UL )  \r
 #define configPERIPHERAL_CLOCK_HZ              ( ( unsigned portLONG ) 36000000UL )\r
 #define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 5 )\r
-#define configMINIMAL_STACK_SIZE               ( 230 )\r
-#define configISR_STACK_SIZE                   ( 130 )\r
-#define configTOTAL_HEAP_SIZE                  ( ( size_t ) 29000 )\r
+#define configMINIMAL_STACK_SIZE               ( 210 )\r
+#define configISR_STACK_SIZE                   ( 400 )\r
+#define configTOTAL_HEAP_SIZE                  ( ( size_t ) 25000 )\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 2\r
 \r
 /* Co-routine definitions. */\r
 #define configUSE_CO_ROUTINES          0\r
@@ -93,8 +94,14 @@ to exclude the API function. */
 #define INCLUDE_vTaskDelayUntil                        1\r
 #define INCLUDE_vTaskDelay                             1\r
 \r
+/* The priority at which the tick interrupt runs.  This should probably be\r
+kept at 1. */\r
+#define configKERNEL_INTERRUPT_PRIORITY                        0x01\r
 \r
-#define configKERNEL_INTERRUPT_PRIORITY        0x01\r
+/* The maximum interrupt priority from which FreeRTOS.org API functions can\r
+be called.  Only API functions that end in ...FromISR() can be used within\r
+interrupts. */\r
+#define configMAX_SYSCALL_INTERRUPT_PRIORITY   0x03\r
 \r
 \r
 #endif /* FREERTOS_CONFIG_H */\r