/*\r
- FreeRTOS V7.5.2 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+ FreeRTOS V8.0.0:rc1 - 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
#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
#define emacPINSEL2_VALUE ( 0x50150105 )\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
/*-----------------------------------------------------------*/\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