summaryrefslogtreecommitdiff
path: root/Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2007-09-17 10:07:48 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2007-09-17 10:07:48 +0000
commit4a19a2c5511de2e1dca22005302d544e98505279 (patch)
treec40b6b0ffdd514e20fbe759a36596ef6dfd8fb25 /Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h
parent64dcb6b951afc6159bcb701594fbe6720bc73e26 (diff)
downloadfreertos-4a19a2c5511de2e1dca22005302d544e98505279.tar.gz
freertos-4a19a2c5511de2e1dca22005302d544e98505279.tar.bz2
freertos-4a19a2c5511de2e1dca22005302d544e98505279.tar.xz
Update to V4.5.0 files and directory structure.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@109 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h')
-rw-r--r--Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h31
1 files changed, 20 insertions, 11 deletions
diff --git a/Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h b/Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h
index 8f1b2c02..68883732 100644
--- a/Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h
+++ b/Demo/ARM9_STR91X_IAR/FreeRTOSConfig.h
@@ -1,5 +1,5 @@
/*
- FreeRTOS.org V4.4.0 - Copyright (C) 2003-2007 Richard Barry.
+ FreeRTOS.org V4.5.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS distribution.
@@ -46,19 +46,28 @@
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
*----------------------------------------------------------*/
+/**
+ * The STR9 port can use either the watchdog or the timer 2 interrupt to generate
+ * the system tick. Set configUSE_WATCHDOG_TICK to 1 to use the watchdog, or
+ * 0 to use timer 2.
+ */
+#define configUSE_WATCHDOG_TICK 1
+
+
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 96000000 )
#define configCPU_PERIPH_HZ ( ( unsigned portLONG ) 48000000 )
-#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
+#define configTICK_RATE_HZ ( ( portTickType ) 100 )
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 180 )
-#define configTOTAL_HEAP_SIZE ( ( size_t ) 50000 )
+#define configTOTAL_HEAP_SIZE ( ( size_t ) 52000 )
#define configMAX_TASK_NAME_LEN ( 16 )
#define configUSE_TRACE_FACILITY 1
#define configUSE_16_BIT_TICKS 0
#define configIDLE_SHOULD_YIELD 1
+#define configUSE_MUTEXES 1
/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 0
@@ -67,13 +76,13 @@
/* Set the following definitions to 1 to include the API function, or zero
to exclude the API function. */
-#define INCLUDE_vTaskPrioritySet 1
-#define INCLUDE_uxTaskPriorityGet 1
-#define INCLUDE_vTaskDelete 1
-#define INCLUDE_vTaskCleanUpResources 0
-#define INCLUDE_vTaskSuspend 1
-#define INCLUDE_vTaskDelayUntil 1
-#define INCLUDE_vTaskDelay 1
-
+#define INCLUDE_vTaskPrioritySet 1
+#define INCLUDE_uxTaskPriorityGet 1
+#define INCLUDE_vTaskDelete 1
+#define INCLUDE_vTaskCleanUpResources 0
+#define INCLUDE_vTaskSuspend 1
+#define INCLUDE_vTaskDelayUntil 1
+#define INCLUDE_vTaskDelay 1
+#define INCLUDE_xTaskGetCurrentTaskHandle 1
#endif /* FREERTOS_CONFIG_H */