]> git.sur5r.net Git - freertos/blobdiff - Demo/RX600_RX62N-MDK_GNURX/RTOSDemo/FreeRTOSConfig.h
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1106 1d2547de-c912-0410...
[freertos] / Demo / RX600_RX62N-MDK_GNURX / RTOSDemo / FreeRTOSConfig.h
index e26c1a95b5da776738d2519b83a3442b4cb6d745..4ce6706a25090873fa8e77d38ed012b2592b458b 100644 (file)
@@ -70,7 +70,7 @@
  *----------------------------------------------------------*/\r
 \r
 #define configUSE_PREEMPTION                   1\r
-#define configUSE_IDLE_HOOK                            1\r
+#define configUSE_IDLE_HOOK                            0\r
 #define configUSE_TICK_HOOK                            0\r
 #define configCPU_CLOCK_HZ                             ( ICLK_FREQUENCY ) /* Set in rskrx62ndef.h. */\r
 #define configPERIPHERAL_CLOCK_HZ              ( PCLK_FREQUENCY ) /* Set in rskrx62ndef.h. */\r
 #define configMINIMAL_STACK_SIZE               ( ( unsigned short ) 140 )\r
 #define configTOTAL_HEAP_SIZE                  ( ( size_t ) ( 45 * 1024 ) )\r
 #define configMAX_TASK_NAME_LEN                        ( 12 )\r
-#define configUSE_TRACE_FACILITY               0\r
+#define configUSE_TRACE_FACILITY               1\r
 #define configUSE_16_BIT_TICKS                 0\r
 #define configIDLE_SHOULD_YIELD                        1\r
 #define configUSE_CO_ROUTINES                  0\r
 #define configUSE_MUTEXES                              1\r
-#define configGENERATE_RUN_TIME_STATS  0\r
+#define configGENERATE_RUN_TIME_STATS  1\r
 #define configCHECK_FOR_STACK_OVERFLOW 2\r
 #define configUSE_RECURSIVE_MUTEXES            1\r
 #define configQUEUE_REGISTRY_SIZE              0\r
 #define configUSE_MALLOC_FAILED_HOOK   1\r
 #define configUSE_APPLICATION_TASK_TAG 0\r
 \r
-#define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 5 )\r
+#define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 7 )\r
 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
 \r
 /* The interrupt priority used by the kernel itself for the tick interrupt and\r
@@ -115,6 +115,15 @@ to exclude the API function. */
 #define INCLUDE_uxTaskGetStackHighWaterMark    1\r
 #define INCLUDE_xTaskGetSchedulerState         1\r
 \r
+extern volatile unsigned long ulHighFrequencyTickCount;\r
+#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() nop() /* Run time stats use the same timer as the high frequency timer test. */\r
+#define portGET_RUN_TIME_COUNTER_VALUE() ulHighFrequencyTickCount\r
+\r
+\r
+/* Override some of the priorities set in the common demo tasks.  This is\r
+required to ensure flase positive timing errors are not reported. */\r
+#define bktPRIMARY_PRIORITY            ( configMAX_PRIORITIES - 2 )\r
+#define bktSECONDARY_PRIORITY  ( configMAX_PRIORITIES - 3 )\r
 \r
 \r
 /*-----------------------------------------------------------\r
@@ -133,7 +142,7 @@ to exclude the API function. */
 #define configIP_ADDR0         192\r
 #define configIP_ADDR1         168\r
 #define configIP_ADDR2         0\r
-#define configIP_ADDR3         201\r
+#define configIP_ADDR3         200\r
 \r
 /* Netmask configuration. */\r
 #define configNET_MASK0                255\r