/*\r
- FreeRTOS V8.0.0:rc1 - Copyright (C) 2014 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
#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