You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add scripts and a CI workflow step that compare static stack usage
between a PR and its merge base. On each PR, the workflow rebuilds
with `CONFIG_STACK_USAGE=y`, runs puncover via `stack_threads.py`,
and posts a sticky comment with a per-thread table showing configured
size, max static depth, delta vs base, and remaining margin.
Thread entry points are discovered from `K_THREAD_DEFINE` in app
sources; Zephyr/NCS subsystem stacks are resolved via `rg` in the
west tree with a small fallback map. Work queues list configured
size only since puncover can't attribute depth per queue.
Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>
0 commit comments