mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-29 06:28:36 -04:00
Add in the CORTEX_A53_64-bit_UltraScale_MPSoC demo application (a demo has been included in the Xilinx SDK download for some time already).
Update a few demo application files to work with 64-bit data types.
This commit is contained in:
parent
51560d9a96
commit
5690221c5c
360 changed files with 206264 additions and 53 deletions
|
@ -1044,12 +1044,12 @@ static TickType_t uxTick = ( TickType_t ) -1;
|
|||
|
||||
static void prvAutoReloadTimerCallback( TimerHandle_t pxExpiredTimer )
|
||||
{
|
||||
uint32_t ulTimerID;
|
||||
size_t uxTimerID;
|
||||
|
||||
ulTimerID = ( uint32_t ) pvTimerGetTimerID( pxExpiredTimer );
|
||||
if( ulTimerID <= ( configTIMER_QUEUE_LENGTH + 1 ) )
|
||||
uxTimerID = ( size_t ) pvTimerGetTimerID( pxExpiredTimer );
|
||||
if( uxTimerID <= ( configTIMER_QUEUE_LENGTH + 1 ) )
|
||||
{
|
||||
( ucAutoReloadTimerCounters[ ulTimerID ] )++;
|
||||
( ucAutoReloadTimerCounters[ uxTimerID ] )++;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1065,19 +1065,19 @@ static void prvOneShotTimerCallback( TimerHandle_t pxExpiredTimer )
|
|||
/* A count is kept of the number of times this callback function is executed.
|
||||
The count is stored as the timer's ID. This is only done to test the
|
||||
vTimerSetTimerID() function. */
|
||||
static uint32_t ulCallCount = 0;
|
||||
uint32_t ulLastCallCount;
|
||||
static size_t uxCallCount = 0;
|
||||
size_t uxLastCallCount;
|
||||
|
||||
/* Obtain the timer's ID, which should be a count of the number of times
|
||||
this callback function has been executed. */
|
||||
ulLastCallCount = ( uint32_t ) pvTimerGetTimerID( pxExpiredTimer );
|
||||
configASSERT( ulLastCallCount == ulCallCount );
|
||||
uxLastCallCount = ( size_t ) pvTimerGetTimerID( pxExpiredTimer );
|
||||
configASSERT( uxLastCallCount == uxCallCount );
|
||||
|
||||
/* Increment the call count, then save it back as the timer's ID. This is
|
||||
only done to test the vTimerSetTimerID() API function. */
|
||||
ulLastCallCount++;
|
||||
vTimerSetTimerID( pxExpiredTimer, ( void * ) ulLastCallCount );
|
||||
ulCallCount++;
|
||||
uxLastCallCount++;
|
||||
vTimerSetTimerID( pxExpiredTimer, ( void * ) uxLastCallCount );
|
||||
uxCallCount++;
|
||||
|
||||
ucOneShotTimerCounter++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue