mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-28 05:58:36 -04:00
Add traceMALLOC() and traceFREE() macros.
This commit is contained in:
parent
23fa077241
commit
7ec4773131
4 changed files with 11 additions and 1 deletions
|
@ -122,7 +122,9 @@ static unsigned char *pucAlignedHeap = NULL;
|
|||
pvReturn = pucAlignedHeap + xNextFreeByte;
|
||||
xNextFreeByte += xWantedSize;
|
||||
}
|
||||
}
|
||||
|
||||
traceMALLOC( pvReturn, xWantedSize );
|
||||
}
|
||||
xTaskResumeAll();
|
||||
|
||||
#if( configUSE_MALLOC_FAILED_HOOK == 1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue