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
|
@ -84,7 +84,7 @@
|
|||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_IDLE_HOOK 1
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMAX_PRIORITIES ( 4 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 70 )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 2048 - 256 ) )
|
||||
|
|
|
@ -151,8 +151,8 @@ that all the other tasks are operating without error. If no errors are found
|
|||
the LED is toggled with mainCHECK_PERIOD frequency. If an error is found
|
||||
then the toggle rate increases to mainERROR_CHECK_PERIOD. */
|
||||
#define mainCHECK_TASK_LED ( 7 )
|
||||
#define mainCHECK_PERIOD ( ( portTickType ) 3000 / portTICK_RATE_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainCHECK_PERIOD ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* LED that is toggled by the button push interrupt. */
|
||||
#define mainBUTTON_PUSH_LED ( 5 )
|
||||
|
@ -206,7 +206,7 @@ portBASE_TYPE xLocalError = pdFALSE;
|
|||
|
||||
/* The queue used to send data from the button push ISR to the Button Push
|
||||
task. */
|
||||
static xQueueHandle xButtonQueue;
|
||||
static QueueHandle_t xButtonQueue;
|
||||
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
@ -236,8 +236,8 @@ void vMain( void )
|
|||
|
||||
static void vErrorChecks( void *pvParameters )
|
||||
{
|
||||
portTickType xDelayPeriod = mainCHECK_PERIOD;
|
||||
portTickType xLastWakeTime;
|
||||
TickType_t xDelayPeriod = mainCHECK_PERIOD;
|
||||
TickType_t xLastWakeTime;
|
||||
|
||||
/* Initialise xLastWakeTime to ensure the first call to vTaskDelayUntil()
|
||||
functions correctly. */
|
||||
|
|
|
@ -90,13 +90,13 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, portTickType xBlockTime )
|
||||
signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime )
|
||||
{
|
||||
return pdFALSE;
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
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 xReturn = pdPASS;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue