mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Update the demo directory to use the version 8 type naming conventions.
This commit is contained in:
parent
c6d8892b0d
commit
5a2a8fc319
639 changed files with 3127 additions and 3470 deletions
|
@ -74,11 +74,11 @@ void vEMACISR_Wrapper( void ) __attribute__((naked));
|
|||
function to ensure the stack frame is correctly set up. */
|
||||
void vEMACISR_Handler( void ) __attribute__((noinline));
|
||||
|
||||
static xSemaphoreHandle xEMACSemaphore;
|
||||
static SemaphoreHandle_t xEMACSemaphore;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vPassEMACSemaphore( xSemaphoreHandle xSemaphore )
|
||||
void vPassEMACSemaphore( SemaphoreHandle_t xSemaphore )
|
||||
{
|
||||
xEMACSemaphore = xSemaphore;
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ one not be immediately available when trying to transmit a frame. */
|
|||
#define emacINTERRUPT_LEVEL ( 5 )
|
||||
#define emacNO_DELAY ( 0 )
|
||||
#define emacTOTAL_FRAME_HEADER_SIZE ( 54 )
|
||||
#define emacPHY_INIT_DELAY ( 5000 / portTICK_RATE_MS )
|
||||
#define emacPHY_INIT_DELAY ( 5000 / portTICK_PERIOD_MS )
|
||||
#define emacRESET_KEY ( ( unsigned long ) 0xA5000000 )
|
||||
#define emacRESET_LENGTH ( ( unsigned long ) ( 0x01 << 8 ) )
|
||||
|
||||
|
@ -191,11 +191,11 @@ const char cMACAddress[ 6 ] = { uipMAC_ADDR0, uipMAC_ADDR1, uipMAC_ADDR2, uipMAC
|
|||
const unsigned char ucIPAddress[ 4 ] = { uipIP_ADDR0, uipIP_ADDR1, uipIP_ADDR2, uipIP_ADDR3 };
|
||||
|
||||
/* The semaphore used by the EMAC ISR to wake the EMAC task. */
|
||||
static xSemaphoreHandle xSemaphore = NULL;
|
||||
static SemaphoreHandle_t xSemaphore = NULL;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
xSemaphoreHandle xEMACInit( void )
|
||||
SemaphoreHandle_t xEMACInit( void )
|
||||
{
|
||||
/* Code supplied by Atmel -------------------------------*/
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
* is used by the EMAC ISR to indicate that Rx packets have been received.
|
||||
* If the initialisation fails then NULL is returned.
|
||||
*/
|
||||
xSemaphoreHandle xEMACInit( void );
|
||||
SemaphoreHandle_t xEMACInit( void );
|
||||
|
||||
/*
|
||||
* Send the current uIP buffer. This copies the uIP buffer to one of the
|
||||
|
|
|
@ -54,13 +54,13 @@
|
|||
#include "partest.h"
|
||||
|
||||
/* How long to wait before attempting to connect the MAC again. */
|
||||
#define uipINIT_WAIT ( 100 / portTICK_RATE_MS )
|
||||
#define uipINIT_WAIT ( 100 / portTICK_PERIOD_MS )
|
||||
|
||||
/* Shortcut to the header within the Rx buffer. */
|
||||
#define xHeader ((struct uip_eth_hdr *) &uip_buf[ 0 ])
|
||||
|
||||
/* The semaphore used by the ISR to wake the uIP task. */
|
||||
static xSemaphoreHandle xEMACSemaphore;
|
||||
static SemaphoreHandle_t xEMACSemaphore;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue