FreeRTOS SMP: direct access to current TCB inside stack macros

This commit is contained in:
Matth9814 2025-04-26 12:10:06 +02:00
parent 4ee6a1f22f
commit 94e9b887be
2 changed files with 149 additions and 58 deletions

View file

@ -5251,7 +5251,7 @@ BaseType_t xTaskIncrementTick( void )
#endif /* configGENERATE_RUN_TIME_STATS */
/* Check for stack overflow, if configured. */
taskCHECK_FOR_STACK_OVERFLOW();
taskCHECK_FOR_STACK_OVERFLOW( xCoreID );
/* Before the currently running task is switched out, save its errno. */
#if ( configUSE_POSIX_ERRNO == 1 )