mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -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
|
@ -97,7 +97,7 @@
|
|||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 57600000 )
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMAX_PRIORITIES ( 4 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 120 )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 18 * 1024 ) )
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
/* Demo application definitions. */
|
||||
#define mainQUEUE_SIZE ( 3 )
|
||||
#define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS )
|
||||
#define mainCHECK_DELAY ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
|
||||
#define mainBASIC_WEB_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 )
|
||||
|
||||
/* Task priorities. */
|
||||
|
@ -124,7 +124,7 @@ extern void vuIP_Task( void *pvParameters );
|
|||
static void vLCDTask( void *pvParameters );
|
||||
|
||||
/* The queue used to send messages to the LCD task. */
|
||||
xQueueHandle xLCDQueue;
|
||||
QueueHandle_t xLCDQueue;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -170,7 +170,7 @@ int main (void)
|
|||
static void vCheckTask( void *pvParameters )
|
||||
{
|
||||
portBASE_TYPE xErrorOccurred = pdFALSE;
|
||||
portTickType xLastExecutionTime;
|
||||
TickType_t xLastExecutionTime;
|
||||
unsigned portBASE_TYPE uxColumn = 0;
|
||||
xLCDMessage xMessage;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ void vEMAC_ISR_Wrapper( void ) __attribute__((naked));
|
|||
separate to the wrapper to ensure the correct stack frame is set up. */
|
||||
void vEMAC_ISR_Handler( void ) __attribute__((noinline));
|
||||
|
||||
extern xSemaphoreHandle xEMACSemaphore;
|
||||
extern SemaphoreHandle_t xEMACSemaphore;
|
||||
|
||||
void vEMAC_ISR_Handler( void )
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "emac.h"
|
||||
|
||||
/* The semaphore used to wake the uIP task when data arives. */
|
||||
xSemaphoreHandle xEMACSemaphore = NULL;
|
||||
SemaphoreHandle_t xEMACSemaphore = NULL;
|
||||
|
||||
static unsigned short *rptr;
|
||||
static unsigned short *tptr;
|
||||
|
|
|
@ -127,7 +127,7 @@ clock_time_t clock_time( void );
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* The semaphore used by the ISR to wake the uIP task. */
|
||||
extern xSemaphoreHandle xEMACSemaphore;
|
||||
extern SemaphoreHandle_t xEMACSemaphore;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -296,7 +296,7 @@ void vApplicationProcessFormInput( char *pcInputString, portBASE_TYPE xInputLeng
|
|||
{
|
||||
char *c, *pcText;
|
||||
static char cMessageForDisplay[ 32 ];
|
||||
extern xQueueHandle xLCDQueue;
|
||||
extern QueueHandle_t xLCDQueue;
|
||||
xLCDMessage xLCDMessage;
|
||||
|
||||
/* Process the form input sent by the IO page of the served HTML. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue