Additional commentary

This commit is contained in:
Angel Cascarino 2024-06-19 19:27:05 +01:00
parent 50958c1659
commit da14835687

View file

@ -18,7 +18,8 @@ uint32_t ulPortYieldRequired[ portMAX_CORE_COUNT ] = { pdFALSE };
case in v11 - in single-core FreeRTOS the symbol pxCurrentTCB is defined 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 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. 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; void * pxCurrentTCBs;
#endif #endif