/*\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
#define emacMAX_WAIT_CYCLES ( ( portBASE_TYPE ) ( configTICK_RATE_HZ / 40 ) )\r
\r
/* The time to block waiting for input. */\r
-#define emacBLOCK_TIME_WAITING_FOR_INPUT ( ( portTickType ) 100 )\r
+#define emacBLOCK_TIME_WAITING_FOR_INPUT ( ( TickType_t ) 100 )\r
\r
/* Peripheral setup for the EMAC. */\r
#define emacPERIPHERAL_A_SETUP ( ( unsigned long ) AT91C_PB2_ETX0 ) | \\r
#define emacINTERRUPT_LEVEL ( 5 )\r
#define emacNO_DELAY ( 0 )\r
#define emacTOTAL_FRAME_HEADER_SIZE ( 54 )\r
-#define emacPHY_INIT_DELAY ( 5000 / portTICK_RATE_MS )\r
+#define emacPHY_INIT_DELAY ( 5000 / portTICK_PERIOD_MS )\r
#define emacRESET_KEY ( ( unsigned long ) 0xA5000000 )\r
#define emacRESET_LENGTH ( ( unsigned long ) ( 0x01 << 8 ) )\r
\r
\r
\r
/* The semaphore used by the EMAC ISR to wake the EMAC task. */\r
-static xSemaphoreHandle xSemaphore = NULL;\r
+static SemaphoreHandle_t xSemaphore = NULL;\r
\r
/* Holds the index to the next buffer from which data will be read. */\r
static volatile unsigned long ulNextRxBuffer = 0;\r
/*-----------------------------------------------------------*/\r
\r
/* See the header file for descriptions of public functions. */\r
-xSemaphoreHandle xEMACInit( void )\r
+SemaphoreHandle_t xEMACInit( void )\r
{\r
/* Code supplied by Atmel -------------------------------*/\r
\r