]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_A9_Cyclone_V_SoC_DK/FreeRTOSConfig.h
Introduce configRECORD_STACK_HIGH_ADDRESS, which when set will result in both limits...
[freertos] / FreeRTOS / Demo / CORTEX_A9_Cyclone_V_SoC_DK / FreeRTOSConfig.h
index dbb57a05f4f509f9a8643f16c50438c031c88f66..b518f81901e475a996132ae255089fc4b49283a4 100644 (file)
@@ -84,7 +84,8 @@
  * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
  * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.\r
  *\r
- * See http://www.freertos.org/a00110.html.\r
+ * See http://www.freertos.org/a00110.html for a full list of configuration\r
+ * options.\r
  *----------------------------------------------------------*/\r
 \r
 /*\r
@@ -93,8 +94,8 @@
  * Interrupts that are assigned a priority at or below\r
  * configMAX_API_CALL_INTERRUPT_PRIORITY (which counter-intuitively in the ARM\r
  * generic interrupt controller [GIC] means a priority that has a numerical\r
- * value above configMAX_API_CALL_INTERRUPT_PRIORITY) can call FreeRTOS safe API\r
- * functions and will nest.\r
+ * value above configMAX_API_CALL_INTERRUPT_PRIORITY) can call interrupt safe\r
+ * FreeRTOS API functions and will nest.\r
  *\r
  * Interrupts that are assigned a priority above\r
  * configMAX_API_CALL_INTERRUPT_PRIORITY (which in the GIC means a numerical\r
 #define configMAX_API_CALL_INTERRUPT_PRIORITY  18\r
 \r
 /* The application will define the array used as the RTOS heap to ensure it can\r
-be located in the (faster) on-chip RAM.  Whe this parameter is set to 1 the\r
+be located in the (faster) on-chip RAM.  When this parameter is set to 1 the\r
 application must define an array using the name and size as follows below, but\r
 is free to locate the array in any suitable RAM region (the faster the better as\r
 the stacks used by the tasks are allocated from this array):\r
@@ -124,13 +125,11 @@ uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
 */\r
 #define configAPPLICATION_ALLOCATED_HEAP               1\r
 \r
-#define configCPU_CLOCK_HZ                                             /* Not used in this portabsciex.com. */\r
+#define configCPU_CLOCK_HZ                                             /* Not used in this demo. */\r
 #define configUSE_PORT_OPTIMISED_TASK_SELECTION        1\r
 #define configUSE_TICKLESS_IDLE                                        0\r
 #define configTICK_RATE_HZ                                             ( ( TickType_t ) 1000 )\r
 #define configUSE_PREEMPTION                                   1\r
-#define configUSE_IDLE_HOOK                                            1\r
-#define configUSE_TICK_HOOK                                            1\r
 #define configMAX_PRIORITIES                                   ( 7 )\r
 #define configMINIMAL_STACK_SIZE                               ( ( unsigned short ) 200 )\r
 #define configTOTAL_HEAP_SIZE                                  ( 50 * 1024 )\r
@@ -142,11 +141,16 @@ uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
 #define configQUEUE_REGISTRY_SIZE                              8\r
 #define configCHECK_FOR_STACK_OVERFLOW                 2\r
 #define configUSE_RECURSIVE_MUTEXES                            1\r
-#define configUSE_MALLOC_FAILED_HOOK                   1\r
 #define configUSE_APPLICATION_TASK_TAG                 0\r
 #define configUSE_COUNTING_SEMAPHORES                  1\r
 #define configUSE_QUEUE_SETS                                   1\r
 \r
+/* Hook/Callback related definitions. */\r
+#define configUSE_MALLOC_FAILED_HOOK                   1\r
+#define configUSE_IDLE_HOOK                                            1\r
+#define configUSE_TICK_HOOK                                            1\r
+#define configUSE_DAEMON_TASK_STARTUP_HOOK             1\r
+\r
 /* Co-routine definitions. */\r
 #define configUSE_CO_ROUTINES                                  0\r
 #define configMAX_CO_ROUTINE_PRIORITIES                ( 2 )\r