Files
PX4-Autopilot/platforms
Afonso Oliveira d78ffbd1cb fix(nuttx): scale task stack sizes with the pointer size
Module stack sizes are tuned for 32-bit targets. The POSIX task spawn
and the work queues already pass them through PX4_STACK_ADJUSTED(),
which doubles them when pointers are 64-bit; px4_task_spawn_cmd() on
NuttX did not, so a 64-bit NuttX target overflows stacks such as the
SIH simulator's. On 32-bit targets PX4_STACK_ADJUSTED() leaves the size
unchanged.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-10-23 22:42:28 +02:00
..
…