Commit 8f55261
committed
ci: add worst-case stack usage report to RAM memory view
Add a puncover-based stack usage page (`ram_memory_view.html`) linked
from the RAM badge. Enables `CONFIG_STACK_USAGE` in `prj.conf` so
the build emits `.su` files for puncover to analyze.
The new `generate_ram_memory_view.py` script resolves Kconfig stack
entries to their thread entry points, runs puncover, and renders an
HTML table showing worst-case static stack depth vs. allocation.
`update_memory_badges.sh` now accepts the app ELF and build dir as
optional args and generates the stack report when available. Falls
back to the RAM sunburst if puncover fails.
Remove the `pr-size-diff.sh` script and its CI steps; the RAM badge
now links to the richer stack view instead.
Signed-off-by: Simen S. Røstad <simen.rostad@nordicsemi.no>1 parent d2a3438 commit 8f55261
8 files changed
Lines changed: 493 additions & 145 deletions
File tree
- .github/workflows
- app
- docs/common
- scripts/ci
- tests/on_target/scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
| 164 | + | |
166 | 165 | | |
167 | | - | |
168 | 166 | | |
169 | 167 | | |
170 | 168 | | |
171 | | - | |
172 | 169 | | |
173 | 170 | | |
174 | 171 | | |
175 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
| |||
256 | 255 | | |
257 | 256 | | |
258 | 257 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | 258 | | |
279 | 259 | | |
280 | 260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
This file was deleted.
0 commit comments