From da1483568762d902c6372304d40e47144407280b Mon Sep 17 00:00:00 2001 From: Angel Cascarino Date: Wed, 19 Jun 2024 19:27:05 +0100 Subject: [PATCH] Additional commentary --- portable/ThirdParty/xClang/XCOREAI/port.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portable/ThirdParty/xClang/XCOREAI/port.c b/portable/ThirdParty/xClang/XCOREAI/port.c index 59db73251..ba910434e 100644 --- a/portable/ThirdParty/xClang/XCOREAI/port.c +++ b/portable/ThirdParty/xClang/XCOREAI/port.c @@ -18,7 +18,8 @@ uint32_t ulPortYieldRequired[ portMAX_CORE_COUNT ] = { pdFALSE }; case in v11 - in single-core FreeRTOS the symbol pxCurrentTCB is defined instead. This breaks this port in a number of ways. A quick solution is to define pxCurrentTCBs here - it simply needs to be a pointer to pxCurrentTCB. - We will actually populate this pointer in the RTOS kernel entry function. + We will actually populate this pointer in the RTOS kernel entry function, + which in a single-core FreeRTOS instance only runs once. */ void * pxCurrentTCBs; #endif