mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 01:13:29 +00:00
Armv7-M: Remove Px4-only setting of stack to 0xff. This is incompatible with standard NuttX stack montitoring logic
This commit is contained in:
parent
2e8667d304
commit
0004e78ec4
1 changed files with 0 additions and 4 deletions
|
|
@ -97,10 +97,6 @@ void up_initial_state(struct tcb_s *tcb)
|
|||
/* Set the stack limit value */
|
||||
|
||||
xcp->regs[REG_R10] = (uint32_t)tcb->stack_alloc_ptr + 64;
|
||||
|
||||
/* Fill the stack with a watermark value */
|
||||
|
||||
memset(tcb->stack_alloc_ptr, 0xff, tcb->adj_stack_size);
|
||||
#endif
|
||||
|
||||
/* Save the task entry point (stripping off the thumb bit) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue