Skip to content

Commit 21c3460

Browse files
readme: add memory sunburst to readme
Add two badges in the readme that point to memory sunburst in gh-pages. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent 5fc1404 commit 21c3460

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
[![Power Consumption Badge](https://img.shields.io/endpoint?url=https://nrfconnect.github.io/Asset-Tracker-Template/power_badge.json)](https://nrfconnect.github.io/Asset-Tracker-Template/power_measurements_plot.html)
1111

1212
[![RAM Usage thingy91x](https://img.shields.io/endpoint?url=https://nrfconnect.github.io/Asset-Tracker-Template/ram_badge.json)](https://nrfconnect.github.io/Asset-Tracker-Template/ram_history_plot.html)
13-
[![Flash Usage thingy91x](https://img.shields.io/endpoint?url=https://nrfconnect.github.io/Asset-Tracker-Template/flash_badge.json)](https://nrfconnect.github.io/Asset-Tracker-Template/flash_history_plot.html)
13+
[![RAM Sunburst](https://img.shields.io/badge/🔗_RAM_Report-Sunburst_View-blue)](https://nrfconnect.github.io/Asset-Tracker-Template/ram_memory_sunburst.html)
14+
15+
[![FLASH Usage thingy91x](https://img.shields.io/endpoint?url=https://nrfconnect.github.io/Asset-Tracker-Template/flash_badge.json)](https://nrfconnect.github.io/Asset-Tracker-Template/flash_history_plot.html)
16+
[![FLASH Sunburst](https://img.shields.io/badge/🔗_FLASH_Report-Sunburst_View-blue)](https://nrfconnect.github.io/Asset-Tracker-Template/rom_memory_sunburst.html)
1417

1518
## Overview
1619

tests/on_target/scripts/parse_memory_stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def parse_memory_stats(log_file, output_dir=None):
5757
ram_badge_file = os.path.join(output_dir, "ram_badge.json")
5858
flash_badge_file = os.path.join(output_dir, "flash_badge.json")
5959

60-
create_badge_json("RAM Usage thingy91x", ram_used, ram_total, ram_percent, ram_badge_file)
61-
create_badge_json("Flash Usage thingy91x", flash_used, flash_total, flash_percent, flash_badge_file)
60+
create_badge_json("🔗 RAM Usage thingy91x", ram_used, ram_total, ram_percent, ram_badge_file)
61+
create_badge_json("🔗 FLASH Usage thingy91x", flash_used, flash_total, flash_percent, flash_badge_file)
6262

6363
print("Memory Usage Statistics:")
6464
print(f"FLASH: {flash_used:,} B / {flash_total:,} B ({flash_percent:.2f}%)")

0 commit comments

Comments
 (0)