]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_LPC1768_IAR/webserver/emac.c
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE...
[freertos] / FreeRTOS / Demo / CORTEX_LPC1768_IAR / webserver / emac.c
index 4ae28a905212bcae2d6b7e5b38ac1640cd23d5b6..77fa05209748f03578f0a7a5aadbeffa152c1570 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    FreeRTOS V7.5.3 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+    FreeRTOS V8.1.2 - 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
     the terms of the GNU General Public License (version 2) as published by the\r
     Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
 \r
-    >>! NOTE: The modification to the GPL is included to allow you to distribute\r
-    >>! a combined work that includes FreeRTOS without being obliged to provide\r
-    >>! the source code for proprietary components outside of the FreeRTOS\r
-    >>! kernel.\r
+    >>!   NOTE: The modification to the GPL is included to allow you to     !<<\r
+    >>!   distribute a combined work that includes FreeRTOS without being   !<<\r
+    >>!   obliged to provide the source code for proprietary components     !<<\r
+    >>!   outside of the FreeRTOS kernel.                                   !<<\r
 \r
     FreeRTOS is distributed in the hope that it will be useful, but WITHOUT ANY\r
     WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
@@ -74,7 +74,7 @@
 #include "EthDev_LPC17xx.h"\r
 \r
 /* Time to wait between each inspection of the link status. */\r
-#define emacWAIT_FOR_LINK_TO_ESTABLISH ( 500 / portTICK_RATE_MS )\r
+#define emacWAIT_FOR_LINK_TO_ESTABLISH ( 500 / portTICK_PERIOD_MS )\r
 \r
 /* Short delay used in several places during the initialisation process. */\r
 #define emacSHORT_DELAY                                   ( 2 )\r
@@ -87,7 +87,7 @@
 #define emacDIV_44                                     ( 0x28 )\r
 \r
 /* If no buffers are available, then wait this long before looking again.... */\r
-#define emacBUFFER_WAIT_DELAY  ( 3 / portTICK_RATE_MS )\r
+#define emacBUFFER_WAIT_DELAY  ( 3 / portTICK_PERIOD_MS )\r
 \r
 /* ...and don't look more than this many times. */\r
 #define emacBUFFER_WAIT_ATTEMPTS       ( 30 )\r
@@ -144,7 +144,7 @@ static unsigned short prvReadPHY( unsigned char ucPhyReg, long *plStatus );
 /*-----------------------------------------------------------*/\r
 \r
 /* The semaphore used to wake the uIP task when data arrives. */\r
-extern xSemaphoreHandle xEMACSemaphore;\r
+extern SemaphoreHandle_t xEMACSemaphore;\r
 \r
 /* Each ucBufferInUse index corresponds to a position in the pool of buffers.\r
 If the index contains a 1 then the buffer within pool is in use, if it\r