]> git.sur5r.net Git - freertos/commitdiff
Update FreeRTOSConfig.h for the RX62N/RDK/Renesas demo to include software timer...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 23 Apr 2011 15:28:45 +0000 (15:28 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sat, 23 Apr 2011 15:28:45 +0000 (15:28 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1379 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/RX600_RX62N-RDK_Renesas/RTOSDemo/FreeRTOSConfig.h

index bc40b8a60280afbb94473bfde9b589414c35f52b..0d3b5504d412ec314054a62972bcb05ac1d7481d 100644 (file)
 #define configMAX_PRIORITIES                   ( ( unsigned portBASE_TYPE ) 7 )\r
 #define configMAX_CO_ROUTINE_PRIORITIES ( 2 )\r
 \r
+/* Software timer definitions. */\r
+#define configUSE_TIMERS                               1\r
+#define configTIMER_TASK_PRIORITY              ( 3 )\r
+#define configTIMER_QUEUE_LENGTH               5\r
+#define configTIMER_TASK_STACK_DEPTH   ( configMINIMAL_STACK_SIZE )\r
+\r
 /* The interrupt priority used by the kernel itself for the tick interrupt and\r
 the pended interrupt.  This would normally be the lowest priority. */\r
 #define configKERNEL_INTERRUPT_PRIORITY         1\r
@@ -120,6 +126,8 @@ to exclude the API function. */
 #define INCLUDE_uxTaskGetStackHighWaterMark    1\r
 #define INCLUDE_xTaskGetSchedulerState         1\r
 \r
+#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }    \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