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
|
@ -125,12 +125,12 @@
|
|||
|
||||
/* Demo application definitions. */
|
||||
#define mainQUEUE_SIZE ( 3 )
|
||||
#define mainLED_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainERROR_LED_DELAY ( ( portTickType ) 50 / portTICK_RATE_MS )
|
||||
#define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS )
|
||||
#define mainLED_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_LED_DELAY ( ( TickType_t ) 50 / portTICK_PERIOD_MS )
|
||||
#define mainCHECK_DELAY ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
|
||||
#define mainLIST_BUFFER_SIZE 2048
|
||||
#define mainNO_DELAY ( 0 )
|
||||
#define mainSHORT_DELAY ( 150 / portTICK_RATE_MS )
|
||||
#define mainSHORT_DELAY ( 150 / portTICK_PERIOD_MS )
|
||||
|
||||
/* Task priorities. */
|
||||
#define mainLED_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 )
|
||||
|
@ -144,15 +144,15 @@
|
|||
|
||||
/* The semaphore used to wake the button task from within the external interrupt
|
||||
handler. */
|
||||
xSemaphoreHandle xButtonSemaphore;
|
||||
SemaphoreHandle_t xButtonSemaphore;
|
||||
|
||||
/* The queue that is used to send message to vPrintTask for display in the
|
||||
terminal output window. */
|
||||
xQueueHandle xPrintQueue;
|
||||
QueueHandle_t xPrintQueue;
|
||||
|
||||
/* The rate at which the LED will toggle. The toggle rate increases if an
|
||||
error is detected in any task. */
|
||||
static portTickType xLED_Delay = mainLED_DELAY;
|
||||
static TickType_t xLED_Delay = mainLED_DELAY;
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
|
@ -261,7 +261,7 @@ static void vLEDTask( void *pvParameters )
|
|||
static void vCheckTask( void *pvParameters )
|
||||
{
|
||||
portBASE_TYPE xErrorOccurred = pdFALSE;
|
||||
portTickType xLastExecutionTime;
|
||||
TickType_t xLastExecutionTime;
|
||||
const char * const pcPassMessage = "PASS\n";
|
||||
const char * const pcFailMessage = "FAIL\n";
|
||||
|
||||
|
@ -402,7 +402,7 @@ extern void (vButtonISRWrapper) ( void );
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )
|
||||
void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
|
||||
{
|
||||
/* Check pcTaskName for the name of the offending task, or pxCurrentTCB
|
||||
if pcTaskName has itself been corrupted. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue