Closed
Description
Description
- Type: Bug
- Priority: Minor
Bug
Target
K64F
Toolchain:
ARM
Toolchain version:
5.06
mbed-cli version:
1.1.1
mbed-os sha:
78474a5
Expected behavior
Should return maximum stack memory usage to date
Actual behavior
Calling max_stack() returns: aligned stacksize-4
Steps to reproduce
Enhancement
Reason to enhance or problem with existing solution
Suggested enhancement
thread stack should be filled with the osRtxStackFillPattern pattern instead of hardcoded 0xE25A2EA5U.
rtx_thread.c already sets the first byte to osRtxStackMagicWord (0xE25A2EA5U) and the rest is filled with the osRtxStackFillPattern.