mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08: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
|
@ -82,7 +82,7 @@
|
|||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 1
|
||||
#define configCPU_CLOCK_HZ ( 50000000UL )
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 80 )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24000 ) )
|
||||
#define configMAX_TASK_NAME_LEN ( 12 )
|
||||
|
|
|
@ -149,7 +149,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 )
|
||||
|
||||
/* Size of the stack allocated to the uIP task. */
|
||||
#define mainBASIC_WEB_STACK_SIZE ( configMINIMAL_STACK_SIZE * 3 )
|
||||
|
@ -220,7 +220,7 @@ void vApplicationIdleHook( void ) __attribute__((naked));
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* The queue used to send messages to the OLED task. */
|
||||
xQueueHandle xOLEDQueue;
|
||||
QueueHandle_t xOLEDQueue;
|
||||
|
||||
/* The welcome text. */
|
||||
const char * const pcWelcomeMessage = " www.FreeRTOS.org";
|
||||
|
@ -459,7 +459,7 @@ void ( *vOLEDClear )( void ) = NULL;
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )
|
||||
void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
|
||||
{
|
||||
for( ;; );
|
||||
}
|
||||
|
|
|
@ -96,12 +96,12 @@ void vMACHandleTask( void *pvParameters );
|
|||
/*-----------------------------------------------------------*/
|
||||
|
||||
/* The semaphore used to wake the uIP task when data arrives. */
|
||||
xSemaphoreHandle xEMACSemaphore = NULL;
|
||||
SemaphoreHandle_t xEMACSemaphore = NULL;
|
||||
|
||||
/* The semaphore used to wake the interrupt handler task. The peripheral
|
||||
is processed at the task level to prevent the need to read the entire FIFO from
|
||||
within the ISR itself. */
|
||||
xSemaphoreHandle xMACInterruptSemaphore = NULL;
|
||||
SemaphoreHandle_t xMACInterruptSemaphore = NULL;
|
||||
|
||||
/* The buffer used by the uIP stack. In this case the pointer is used to
|
||||
point to one of the Rx buffers. */
|
||||
|
|
|
@ -134,7 +134,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;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -301,7 +301,7 @@ void vApplicationProcessFormInput( char *pcInputString, portBASE_TYPE xInputLeng
|
|||
{
|
||||
char *c, *pcText;
|
||||
static char cMessageForDisplay[ 32 ];
|
||||
extern xQueueHandle xOLEDQueue;
|
||||
extern QueueHandle_t xOLEDQueue;
|
||||
xOLEDMessage xOLEDMessage;
|
||||
|
||||
/* Process the form input sent by the IO page of the served HTML. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue