]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c
Update version number to V8.0.0 (without the release candidate number).
[freertos] / FreeRTOS / Demo / ColdFire_MCF5282_Eclipse / RTOSDemo / main.c
index f3819c9508b1669183981f73530c209a9b0de5cd..54ca0554753650f6d73e1ae415e3f3e5567bd908 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+    FreeRTOS V8.0.0 - Copyright (C) 2014 Real Time Engineers Ltd.\r
     All rights reserved\r
 \r
     VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
 \r
 /* The time between cycles of the 'check' functionality - as described at the\r
 top of this file. */\r
-#define mainNO_ERROR_PERIOD                                    ( ( portTickType ) 5000 / portTICK_RATE_MS )\r
+#define mainNO_ERROR_PERIOD                                    ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )\r
 \r
 /* The rate at which the LED controlled by the 'check' task will flash should an\r
 error have been detected. */\r
-#define mainERROR_PERIOD                                       ( ( portTickType ) 500 / portTICK_RATE_MS )\r
+#define mainERROR_PERIOD                                       ( ( TickType_t ) 500 / portTICK_PERIOD_MS )\r
 \r
 /* The LED controlled by the 'check' task. */\r
 #define mainCHECK_LED                                          ( 3 )\r
 \r
 /* ComTest constants - there is no free LED for the comtest tasks. */\r
-#define mainCOM_TEST_BAUD_RATE                         ( ( unsigned portLONG ) 19200 )\r
+#define mainCOM_TEST_BAUD_RATE                         ( ( unsigned long ) 19200 )\r
 #define mainCOM_TEST_LED                                       ( 5 )\r
 \r
 /* Task priorities. */\r
@@ -155,7 +155,7 @@ static void vRegTest2Task( void *pvParameters );
 /*-----------------------------------------------------------*/\r
 \r
 /* Counters used to detect errors within the reg test tasks. */\r
-static volatile unsigned portLONG ulRegTest1Counter = 0x11111111, ulRegTest2Counter = 0x22222222;\r
+static volatile unsigned long ulRegTest1Counter = 0x11111111, ulRegTest2Counter = 0x22222222;\r
 \r
 /*-----------------------------------------------------------*/\r
 \r
@@ -200,7 +200,7 @@ int main( void )
 static void prvCheckTask( void *pvParameters )\r
 {\r
 unsigned ulTicksToWait = mainNO_ERROR_PERIOD, ulError = 0, ulLastRegTest1Count = 0, ulLastRegTest2Count = 0;\r
-portTickType xLastExecutionTime;\r
+TickType_t xLastExecutionTime;\r
 \r
        ( void ) pvParameters;\r
 \r
@@ -292,7 +292,7 @@ portTickType xLastExecutionTime;
 \r
 void prvSetupHardware( void )\r
 {\r
-extern void mcf5xxx_wr_cacr( unsigned portLONG );\r
+extern void mcf5xxx_wr_cacr( unsigned long );\r
 \r
        portDISABLE_INTERRUPTS();\r
 \r
@@ -314,7 +314,7 @@ extern void mcf5xxx_wr_cacr( unsigned portLONG );
 }\r
 /*-----------------------------------------------------------*/\r
 \r
-void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t *pxTask, signed char *pcTaskName )\r
 {\r
        /* This will get called if a stack overflow is detected during the context\r
        switch.  Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack\r