mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 22:25:14 -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, _);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ PP_SCRIPT_DIR="$START_WD/custom_build_scripts_RP2040"
|
|||
PP_SCRIPT="./preprocess_tasks_c.sh"
|
||||
PP_TASK_C="$START_WD/preprocessed_files/tasks__pp.c"
|
||||
|
||||
FONT_SIZE=16
|
||||
FONT_SIZE=17
|
||||
|
||||
# Flags to SKIP expensive proofs:
|
||||
# - VERIFAST_SKIP_BITVECTOR_PROOF__STACK_ALIGNMENT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue