]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse/projects/RTOSDemo_ri5cy/full_demo/main_full.c
Ensure eTaskGetState() is brought in automatically if INCLUDE_xTaskAbortDelay is...
[freertos] / FreeRTOS / Demo / RISC-V_RV32M1_Vega_GCC_Eclipse / projects / RTOSDemo_ri5cy / full_demo / main_full.c
index cb6ebb1cafbc894576d02f2f2a171070a77b6020..9e68df4f226fb334b58ca943857beddf8a4c7f1a 100644 (file)
@@ -150,13 +150,6 @@ void vFullDemoTickHook( void );
 \r
 /*-----------------------------------------------------------*/\r
 \r
-/* Timers used to exercise external interrupt processing. */\r
-//static timer_instance_t g_timer0, g_timer1;\r
-\r
-/* Variables incremented by the peripheral timers used to exercise external\r
-interrupts. */\r
-volatile uint32_t ulTimer0Interrupts = 0, ulTimer1Interrupts = 0;\r
-\r
 /* The following two variables are used to communicate the status of the\r
 register check tasks to the check task.  If the variables keep incrementing,\r
 then the register check tasks have not discovered any errors.  If a variable\r
@@ -224,7 +217,6 @@ static void prvCheckTask( void *pvParameters )
 TickType_t xDelayPeriod = mainNO_ERROR_CHECK_TASK_PERIOD;\r
 TickType_t xLastExecutionTime;\r
 uint32_t ulLastRegTest1Value = 0, ulLastRegTest2Value = 0;\r
-uint32_t ulLastTimer0Interrupts = 0, ulLastTimer1Interrupts = 0;\r
 char * const pcPassMessage = ".";\r
 char * pcStatusMessage = pcPassMessage;\r
 extern void vSendString( const char * const pcString );\r
@@ -259,17 +251,17 @@ extern void vToggleLED( void );
                        pcStatusMessage = "ERROR: Dynamic priority demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
+               if( xAreBlockTimeTestTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Block time demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
+               if( xAreGenericQueueTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Generic queue demo/tests.\r\n";\r
                }\r
 \r
-               if ( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
+               if( xAreRecursiveMutexTasksStillRunning() == pdFALSE )\r
                {\r
                        pcStatusMessage = "ERROR: Recursive mutex demo/tests.\r\n";\r
                }\r
@@ -333,19 +325,6 @@ extern void vToggleLED( void );
                }\r
                ulLastRegTest2Value = ulRegTest2LoopCounter;\r
 \r
-               /* Check interrupts from the peripheral timers are being handled. */\r
-               if( ulLastTimer0Interrupts == ulTimer0Interrupts )\r
-               {\r
-//                     pcStatusMessage = "ERROR: Peripheral timer 0.\r\n";\r
-               }\r
-               ulLastTimer0Interrupts = ulTimer0Interrupts;\r
-\r
-               if( ulLastTimer1Interrupts == ulTimer1Interrupts )\r
-               {\r
-//                     pcStatusMessage = "ERROR: Peripheral timer 1.\r\n";\r
-               }\r
-               ulLastTimer1Interrupts = ulTimer1Interrupts;\r
-\r
                /* Write the status message to the UART. */\r
                vToggleLED();\r
                vSendString( pcStatusMessage );\r
@@ -426,17 +405,3 @@ static void prvSetupPeripheralTimers( void )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-/*Core Timer 0 Interrupt Handler*/\r
-uint8_t External_30_IRQHandler( void )\r
-{\r
-       ulTimer0Interrupts++;\r
-       return 0;\r
-}\r
-/*-----------------------------------------------------------*/\r
-\r
-/*Core Timer 1 Interrupt Handler*/\r
-uint8_t External_31_IRQHandler( void )\r
-{\r
-       ulTimer1Interrupts++;\r
-       return 0;\r
-}\r