mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-01 08:54:14 -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
|
@ -89,7 +89,7 @@
|
|||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) SYS_CLK_FREQ )
|
||||
#define configMAX_PRIORITIES ( 5 )
|
||||
#define configMINIMAL_STACK_SIZE ( 1024 )
|
||||
|
|
|
@ -253,7 +253,7 @@ void _general_exception_handler( unsigned long ulCause, unsigned long ulStatus )
|
|||
|
||||
static void prvCheckTask( void *pvParameters )
|
||||
{
|
||||
portTickType xLastExecutionTime, ulTicksToWait = mainNO_ERROR_PERIOD;
|
||||
TickType_t xLastExecutionTime, ulTicksToWait = mainNO_ERROR_PERIOD;
|
||||
unsigned long ulLastRegTest1 = 0UL, ulLastRegTest2 = 0UL;
|
||||
const char * pcMessage;
|
||||
|
||||
|
|
|
@ -76,12 +76,12 @@ COM driver. */
|
|||
#include "Serial.h"
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#define serINVALID_QUEUE ( ( xQueueHandle ) 0 )
|
||||
#define serNO_BLOCK ( ( portTickType ) 0 )
|
||||
#define serINVALID_QUEUE ( ( QueueHandle_t ) 0 )
|
||||
#define serNO_BLOCK ( ( TickType_t ) 0 )
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
static xQueueHandle xRxedChars;
|
||||
static xQueueHandle xCharsForTx;
|
||||
static QueueHandle_t xRxedChars;
|
||||
static QueueHandle_t xCharsForTx;
|
||||
|
||||
alt_u32 uartControl;
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
@ -124,7 +124,7 @@ void vSerialClose( xComPortHandle xPort )
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, portTickType xBlockTime )
|
||||
signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime )
|
||||
{
|
||||
/* The port handle is not required as this driver only supports one port. */
|
||||
( void ) pxPort;
|
||||
|
@ -145,7 +145,7 @@ signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedC
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, portTickType xBlockTime )
|
||||
signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime )
|
||||
{
|
||||
signed portBASE_TYPE lReturn = pdPASS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue