Skip to content

Commit 4959605

Browse files
committed
wip
1 parent 9f37df0 commit 4959605

File tree

2 files changed

+9
-107
lines changed

2 files changed

+9
-107
lines changed

extra/ci_inspect_logs.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,17 @@ def color_entry(values):
258258
print("<details><summary>Raw data</summary><blockquote>\n")
259259
print("<table>")
260260
for soc, board in sorted((ALL_BOARD_DATA[board]['soc'], board) for board in artifact_boards):
261-
print(f"<td><code>{soc}</code></td>")
262261
print(f"<td><code>{board}</code></td>")
262+
print(f"<td><code>{soc}</code></td>")
263263
print(f"<td><pre>")
264-
for r in REGIONS_BY_SOC[soc]:
264+
sorted_regions = ['FLASH', 'RAM'] + sorted(r for r in REGIONS_BY_SOC[soc] if r not in ('FLASH', 'RAM'))
265+
for r in sorted_regions:
265266
used, total = BOARD_MEM_REPORTS[board].get(r, ['',''])
266-
print(f"{r:>20} {used:8} {total:8}")
267+
print(f"{r:>25} {used:8} {total:8}")
268+
print
269+
for c in ('CONFIG_HEAP_MEM_POOL_SIZE', 'CONFIG_LLEXT_HEAP_SIZE', 'CONFIG_MBEDTLS_HEAP_SIZE'):
270+
if c in BOARD_CONFIGS[board]:
271+
print(f"{c:>25} {BOARD_CONFIGS[board][c]:8}")
267272
print("</pre></td></tr>")
268273
print("</table></blockquote></details>")
269274

@@ -319,6 +324,7 @@ def color_entry(values):
319324
continue # Skip to the next board
320325

321326
BOARD_MEM_REPORTS[board] = { region.replace(':',''): [used, total] for region, used, total in report_data }
327+
BOARD_MEM_REPORTS[board].pop('IDT_LIST', None)
322328
REGIONS_BY_SOC[soc].update(BOARD_MEM_REPORTS[board].keys())
323329

324330
# Get list of expected errors for this board/variant

extra/ci_mem_report.py

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)