]> git.sur5r.net Git - freertos/blobdiff - Demo/lwIP_AVR32_UC3/FreeRTOSConfig.h
Add Full build configuration to the Kinetis demo. Still a work in progress.
[freertos] / Demo / lwIP_AVR32_UC3 / FreeRTOSConfig.h
index 3d1d37f04f4f7b12df2c1c15eb5123fd3d2593bd..23d97271bb914c8f2a2aaa0d409d9c1d016a8733 100644 (file)
@@ -1,4 +1,4 @@
-/*This file has been prepared for Doxygen automatic documentation generation.*/\r
+/*This file is prepared for Doxygen automatic documentation generation.*/\r
 /*! \file *********************************************************************\r
  *\r
  * \brief FreeRTOS and lwIP example for AVR32 UC3.\r
@@ -8,9 +8,9 @@
  * - AppNote:\r
  *\r
  * \author               Atmel Corporation: http://www.atmel.com \n\r
- *                       Support email: avr32@atmel.com\r
+ *                       Support and FAQ: http://support.atmel.no/\r
  *\r
- *****************************************************************************/\r
+ ******************************************************************************/\r
 \r
 /* Copyright (c) 2007, Atmel Corporation All rights reserved.\r
  *\r
@@ -45,6 +45,7 @@
 \r
 #include "board.h"\r
 \r
+\r
 /*-----------------------------------------------------------\r
  * Application specific definitions.\r
  *\r
@@ -52,7 +53,9 @@
  * application requirements.\r
  *\r
  * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE\r
- * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.\r
+ * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. \r
+ *\r
+ * See http://www.freertos.org/a00110.html.\r
  *----------------------------------------------------------*/\r
 \r
 #define configUSE_PREEMPTION      1\r
@@ -62,8 +65,9 @@
 #define configPBA_CLOCK_HZ        ( 24000000 )\r
 #define configTICK_RATE_HZ        ( ( portTickType ) 1000 )\r
 #define configMAX_PRIORITIES      ( ( unsigned portBASE_TYPE ) 8 )\r
-#define configMINIMAL_STACK_SIZE  ( ( unsigned portSHORT ) 256 )\r
-#define configTOTAL_HEAP_SIZE     ( ( size_t ) ( 0 ) )\r
+#define configMINIMAL_STACK_SIZE  ( ( unsigned short ) 256 )\r
+/* configTOTAL_HEAP_SIZE is not used when heap_3.c is used. */\r
+#define configTOTAL_HEAP_SIZE     ( ( size_t ) ( 1024*25 ) )\r
 #define configMAX_TASK_NAME_LEN   ( 20 )\r
 #define configUSE_TRACE_FACILITY  1\r
 #define configUSE_16_BIT_TICKS    0\r
 /* Set the following definitions to 1 to include the API function, or zero\r
 to exclude the API function. */\r
 \r
-#define INCLUDE_vTaskPrioritySet        1\r
-#define INCLUDE_uxTaskPriorityGet       1\r
-#define INCLUDE_vTaskDelete             1\r
-#define INCLUDE_vTaskCleanUpResources   0\r
-#define INCLUDE_vTaskSuspend            1\r
-#define INCLUDE_vTaskDelayUntil         1\r
-#define INCLUDE_vTaskDelay              1\r
+#define INCLUDE_vTaskPrioritySet            1\r
+#define INCLUDE_uxTaskPriorityGet           1\r
+#define INCLUDE_vTaskDelete                 1\r
+#define INCLUDE_vTaskCleanUpResources       0\r
+#define INCLUDE_vTaskSuspend                1\r
+#define INCLUDE_vTaskDelayUntil             1\r
+#define INCLUDE_vTaskDelay                  1\r
 #define INCLUDE_xTaskGetCurrentTaskHandle   1\r
+#define INCLUDE_xTaskGetSchedulerState      0\r
 \r
 /* configTICK_USE_TC is a boolean indicating whether to use a Timer Counter\r
    for the tick generation. Timer Counter will generate an accurate Tick;\r
-   otherwise the CPU will generate a tick but with time drift\r
-   configTICK_TC_CHANNEL is the TC channel.*/\r
+   otherwise the CPU will generate a tick but with time drift.\r
+   configTICK_TC_CHANNEL is the TC channel. */\r
 #define configTICK_USE_TC             1\r
 #define configTICK_TC_CHANNEL         2\r
 \r
+/* configHEAP_INIT is a boolean indicating whether to initialize the heap with\r
+   0xA5 in order to be able to determine the maximal heap consumption. */\r
+#define configHEAP_INIT               0\r
+\r
+\r
 #endif /* FREERTOS_CONFIG_H */\r