mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-12 06:35:19 -05:00
Verified macro taskCHECK_FOR_STACK_OVERFLOW.
This commit is contained in:
parent
2f0b8bc82f
commit
d3bda01f16
5 changed files with 81 additions and 8 deletions
|
|
@ -28,7 +28,7 @@ predicate stack_p_2(StackType_t * pxStack,
|
|||
// `taskCHECK_FOR_STACK_OVERFLOW` macro on RP2040 port expects minimal stack size
|
||||
ulFreeBytes >= 0 &*&
|
||||
ulUsedCells >= 0 &*&
|
||||
ulFreeBytes + ulUsedCells * sizeof(StackType_t) >= 3 * sizeof(StackType_t);
|
||||
ulFreeBytes + ulUsedCells * sizeof(StackType_t) >= 4 * sizeof(StackType_t);
|
||||
|
||||
predicate unalignedRestOfStack_p(char* p, uint32_t ulUnalignedBytes) =
|
||||
chars(p, ulUnalignedBytes, _);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue