Skip to content

Commit 62a114b

Browse files
authored
Merge branch 'main' into adjust_CR5_port_fpu_config
2 parents 8e9dad5 + b213ad8 commit 62a114b

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

include/FreeRTOS.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,6 @@
10681068
#define xTaskParameters TaskParameters_t
10691069
#define xTaskStatusType TaskStatus_t
10701070
#define xTimerHandle TimerHandle_t
1071-
#define xCoRoutineHandle CoRoutineHandle_t
10721071
#define pdTASK_HOOK_CODE TaskHookFunction_t
10731072
#define portTICK_RATE_MS portTICK_PERIOD_MS
10741073
#define pcTaskGetTaskName pcTaskGetName

portable/ThirdParty/GCC/RP2040/library.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
add_library(FreeRTOS-Kernel-Core INTERFACE)
88
target_sources(FreeRTOS-Kernel-Core INTERFACE
9-
${FREERTOS_KERNEL_PATH}/croutine.c
109
${FREERTOS_KERNEL_PATH}/event_groups.c
1110
${FREERTOS_KERNEL_PATH}/list.c
1211
${FREERTOS_KERNEL_PATH}/queue.c

tasks.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,7 @@ BaseType_t xTaskResumeAll( void )
21972197
* appropriate ready list. */
21982198
while( listLIST_IS_EMPTY( &xPendingReadyList ) == pdFALSE )
21992199
{
2200-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
2200+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xPendingReadyList ) ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
22012201
listREMOVE_ITEM( &( pxTCB->xEventListItem ) );
22022202
portMEMORY_BARRIER();
22032203
listREMOVE_ITEM( &( pxTCB->xStateListItem ) );
@@ -2365,11 +2365,11 @@ char * pcTaskGetName( TaskHandle_t xTaskToQuery ) /*lint !e971 Unqualified char
23652365

23662366
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
23672367
{
2368-
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
2368+
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
23692369

23702370
do
23712371
{
2372-
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
2372+
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
23732373

23742374
/* Check each character in the name looking for a match or
23752375
* mismatch. */
@@ -2771,7 +2771,7 @@ BaseType_t xTaskIncrementTick( void )
27712771
* item at the head of the delayed list. This is the time
27722772
* at which the task at the head of the delayed list must
27732773
* be removed from the Blocked state. */
2774-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
2774+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( pxDelayedTaskList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
27752775
xItemValue = listGET_LIST_ITEM_VALUE( &( pxTCB->xStateListItem ) );
27762776

27772777
if( xConstTickCount < xItemValue )
@@ -3059,7 +3059,7 @@ void vTaskSwitchContext( void )
30593059

30603060
/* Select a new task to run using either the generic C or port
30613061
* optimised asm code. */
3062-
taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3062+
taskSELECT_HIGHEST_PRIORITY_TASK(); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
30633063
traceTASK_SWITCHED_IN();
30643064

30653065
/* After the new task is switched in, update the global errno. */
@@ -3184,7 +3184,7 @@ BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList )
31843184
*
31853185
* This function assumes that a check has already been made to ensure that
31863186
* pxEventList is not empty. */
3187-
pxUnblockedTCB = listGET_OWNER_OF_HEAD_ENTRY( pxEventList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3187+
pxUnblockedTCB = listGET_OWNER_OF_HEAD_ENTRY( pxEventList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
31883188
configASSERT( pxUnblockedTCB );
31893189
listREMOVE_ITEM( &( pxUnblockedTCB->xEventListItem ) );
31903190

@@ -3248,7 +3248,7 @@ void vTaskRemoveFromUnorderedEventList( ListItem_t * pxEventListItem,
32483248

32493249
/* Remove the event list form the event flag. Interrupts do not access
32503250
* event flags. */
3251-
pxUnblockedTCB = listGET_LIST_ITEM_OWNER( pxEventListItem ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3251+
pxUnblockedTCB = listGET_LIST_ITEM_OWNER( pxEventListItem ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
32523252
configASSERT( pxUnblockedTCB );
32533253
listREMOVE_ITEM( pxEventListItem );
32543254

@@ -3700,7 +3700,7 @@ static void prvCheckTasksWaitingTermination( void )
37003700
{
37013701
taskENTER_CRITICAL();
37023702
{
3703-
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3703+
pxTCB = listGET_OWNER_OF_HEAD_ENTRY( ( &xTasksWaitingTermination ) ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
37043704
( void ) uxListRemove( &( pxTCB->xStateListItem ) );
37053705
--uxCurrentNumberOfTasks;
37063706
--uxDeletedTasksWaitingCleanUp;
@@ -3829,15 +3829,15 @@ static void prvCheckTasksWaitingTermination( void )
38293829

38303830
if( listCURRENT_LIST_LENGTH( pxList ) > ( UBaseType_t ) 0 )
38313831
{
3832-
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3832+
listGET_OWNER_OF_NEXT_ENTRY( pxFirstTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
38333833

38343834
/* Populate an TaskStatus_t structure within the
38353835
* pxTaskStatusArray array for each task that is referenced from
38363836
* pxList. See the definition of TaskStatus_t in task.h for the
38373837
* meaning of each TaskStatus_t structure member. */
38383838
do
38393839
{
3840-
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
3840+
listGET_OWNER_OF_NEXT_ENTRY( pxNextTCB, pxList ); /*lint !e9079 void * is used as this macro is used with timers too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
38413841
vTaskGetInfo( ( TaskHandle_t ) pxNextTCB, &( pxTaskStatusArray[ uxTask ] ), pdTRUE, eState );
38423842
uxTask++;
38433843
} while( pxNextTCB != pxFirstTCB );

timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@
541541
static void prvProcessExpiredTimer( const TickType_t xNextExpireTime,
542542
const TickType_t xTimeNow )
543543
{
544-
Timer_t * const pxTimer = ( Timer_t * ) listGET_OWNER_OF_HEAD_ENTRY( pxCurrentTimerList ); /*lint !e9087 !e9079 void * is used as this macro is used with tasks and co-routines too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
544+
Timer_t * const pxTimer = ( Timer_t * ) listGET_OWNER_OF_HEAD_ENTRY( pxCurrentTimerList ); /*lint !e9087 !e9079 void * is used as this macro is used with tasks too. Alignment is known to be fine as the type of the pointer stored and retrieved is the same. */
545545

546546
/* Remove the timer from the list of active timers. A check has already
547547
* been performed to ensure the list is not empty. */

0 commit comments

Comments
 (0)