Update the demo directory to use the version 8 type naming conventions.

This commit is contained in:
Richard Barry 2014-02-11 12:04:59 +00:00
parent c6d8892b0d
commit 5a2a8fc319
639 changed files with 3127 additions and 3470 deletions

View file

@ -82,7 +82,7 @@
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 1
#define configCPU_CLOCK_HZ ( ( unsigned long ) 62500000 )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
#define configMAX_PRIORITIES ( 5 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 30 * 1024 ) )

View file

@ -49,7 +49,7 @@ static vu16 TextColor = 0x0000, BackColor = 0xFFFF;
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
#define timerDly( x ) vTaskDelay( ( x * 10 ) / portTICK_RATE_MS );
#define timerDly( x ) vTaskDelay( ( x * 10 ) / portTICK_PERIOD_MS );
#define vBlockToWait( x )
/*******************************************************************************

View file

@ -136,7 +136,7 @@
/* The time between cycles of the 'check' functionality (defined within the
tick hook. */
#define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS )
#define mainCHECK_DELAY ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
/* Task priorities. */
#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 )
@ -191,7 +191,7 @@ extern void vSetupHighFrequencyTimer( void );
/*-----------------------------------------------------------*/
/* The queue used to send messages to the LCD task. */
xQueueHandle xLCDQueue;
QueueHandle_t xLCDQueue;
/*-----------------------------------------------------------*/
@ -347,7 +347,7 @@ static void prvSetupHardware( void )
}
/*-----------------------------------------------------------*/
void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )
void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
{
/* This function will get called if a task overflows its stack. If the
parameters are corrupt then inspect pxCurrentTCB to find which was the

View file

@ -103,7 +103,7 @@ hold the send count. This is just #defined to a meaningful name. */
#define SendCount Buffer2NextDescAddr
/* If no buffers are available, then wait this long before looking again.... */
#define uipBUFFER_WAIT_DELAY ( 3 / portTICK_RATE_MS )
#define uipBUFFER_WAIT_DELAY ( 3 / portTICK_PERIOD_MS )
/* ...and don't look more than this many times. */
#define uipBUFFER_WAIT_ATTEMPTS ( 30 )
@ -479,7 +479,7 @@ unsigned long ul;
void vMAC_ISR( void )
{
unsigned long ulStatus;
extern xSemaphoreHandle xEMACSemaphore;
extern SemaphoreHandle_t xEMACSemaphore;
long xHigherPriorityTaskWoken = pdFALSE;
/* What caused the interrupt? */

View file

@ -85,7 +85,7 @@
/*-----------------------------------------------------------*/
/* 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 ])
@ -110,7 +110,7 @@ clock_time_t clock_time( void );
/*-----------------------------------------------------------*/
/* The semaphore used by the ISR to wake the uIP task. */
xSemaphoreHandle xEMACSemaphore;
SemaphoreHandle_t xEMACSemaphore;
/* The buffer used by the uIP stack. In this case the pointer is used to
point to one of the Rx buffers. */
@ -253,7 +253,7 @@ void vApplicationProcessFormInput( char *pcInputString )
char *c, *pcText;
static char cMessageForDisplay[ 32 ];
static const char *pcMessage = cMessageForDisplay;
extern xQueueHandle xLCDQueue;
extern QueueHandle_t xLCDQueue;
/* Process the form input sent by the IO page of the served HTML. */