Skip to content

Commit 8bae910

Browse files
committed
Remove obsolete functions.
1 parent d8ca0e1 commit 8bae910

File tree

3 files changed

+0
-45
lines changed

3 files changed

+0
-45
lines changed

include/FreeRTOS.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@
243243
#define INCLUDE_uxTaskGetStackHighWaterMark2 0
244244
#endif
245245

246-
#ifndef INCLUDE_pxTaskGetStackStart
247-
#define INCLUDE_pxTaskGetStackStart 0
248-
#endif
249-
250246
#ifndef INCLUDE_eTaskGetState
251247
#define INCLUDE_eTaskGetState 0
252248
#endif
@@ -523,10 +519,6 @@
523519
#define traceMOVED_TASK_TO_OVERFLOW_DELAYED_LIST()
524520
#endif
525521

526-
#ifndef traceMOVED_TASK_TO_SUSPENDED_LIST
527-
#define traceMOVED_TASK_TO_SUSPENDED_LIST( pxTCB )
528-
#endif
529-
530522
#ifndef traceQUEUE_CREATE
531523
#define traceQUEUE_CREATE( pxNewQueue )
532524
#endif

include/task.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,27 +1597,6 @@ UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) PRIVILEGED_FUNCTIO
15971597
*/
15981598
configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
15991599

1600-
/**
1601-
* task.h
1602-
* @code{c}
1603-
* uint8_t* pxTaskGetStackStart( TaskHandle_t xTask);
1604-
* @endcode
1605-
*
1606-
* INCLUDE_pxTaskGetStackStart must be set to 1 in FreeRTOSConfig.h for
1607-
* this function to be available.
1608-
*
1609-
* Returns the start of the stack associated with xTask. That is,
1610-
* the highest stack memory address on architectures where the stack grows down
1611-
* from high memory, and the lowest memory address on architectures where the
1612-
* stack grows up from low memory.
1613-
*
1614-
* @param xTask Handle of the task associated with the stack returned.
1615-
* Set xTask to NULL to return the stack of the calling task.
1616-
*
1617-
* @return A pointer to the start of the stack.
1618-
*/
1619-
uint8_t* pxTaskGetStackStart( TaskHandle_t xTask) PRIVILEGED_FUNCTION;
1620-
16211600
/* When using trace macros it is sometimes necessary to include task.h before
16221601
* FreeRTOS.h. When this is done TaskHookFunction_t will not yet have been defined,
16231602
* so the following two prototypes will cause a compilation error. This can be

tasks.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,6 @@ static void prvAddNewTaskToReadyList( TCB_t * pxNewTCB )
17081708
mtCOVERAGE_TEST_MARKER();
17091709
}
17101710

1711-
traceMOVED_TASK_TO_SUSPENDED_LIST(pxTCB);
17121711
vListInsertEnd( &xSuspendedTaskList, &( pxTCB->xStateListItem ) );
17131712

17141713
#if ( configUSE_TASK_NOTIFICATIONS == 1 )
@@ -3989,21 +3988,6 @@ static void prvCheckTasksWaitingTermination( void )
39893988
#endif /* INCLUDE_uxTaskGetStackHighWaterMark */
39903989
/*-----------------------------------------------------------*/
39913990

3992-
#if (INCLUDE_pxTaskGetStackStart == 1)
3993-
uint8_t* pxTaskGetStackStart( TaskHandle_t xTask)
3994-
{
3995-
TCB_t *pxTCB;
3996-
UBaseType_t uxReturn;
3997-
(void)uxReturn;
3998-
3999-
pxTCB = prvGetTCBFromHandle( xTask );
4000-
return ( uint8_t * ) pxTCB->pxStack;
4001-
}
4002-
4003-
#endif /* INCLUDE_pxTaskGetStackStart */
4004-
/*-----------------------------------------------------------*/
4005-
4006-
40073991
#if ( INCLUDE_vTaskDelete == 1 )
40083992

40093993
static void prvDeleteTCB( TCB_t * pxTCB )

0 commit comments

Comments
 (0)