Skip to content

Commit ca4d451

Browse files
author
Cruz Monrreal
authored
Merge pull request ARMmbed#147 from kegilbert/revert-romram-report
Revert RAM/ROM reporting segment, went in after 5.10.4
2 parents 991939f + 8a1c77f commit ca4d451

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ Mbed OS Version: 999999
124124
CPU ID: 0x410fc241
125125
Compiler ID: 2
126126
Compiler Version: 60300
127-
RAM0: Start 0x20000000 Size: 0x30000
128-
RAM1: Start 0x1fff0000 Size: 0x10000
129-
ROM0: Start 0x0 Size: 0x100000
130127
================= CPU STATS =================
131128
Idle: 98% Usage: 2%
132129
================ HEAP STATS =================

stats_report.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ class SystemReport {
4141
printf("CPU ID: 0x%lx \r\n", sys_stats.cpu_id);
4242
printf("Compiler ID: %d \r\n", sys_stats.compiler_id);
4343
printf("Compiler Version: %ld \r\n", sys_stats.compiler_version);
44-
45-
for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
46-
if (sys_stats.ram_size[i] != 0) {
47-
printf("RAM%d: Start 0x%lx Size: 0x%lx \r\n", i, sys_stats.ram_start[i], sys_stats.ram_size[i]);
48-
}
49-
}
50-
for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
51-
if (sys_stats.rom_size[i] != 0) {
52-
printf("ROM%d: Start 0x%lx Size: 0x%lx \r\n", i, sys_stats.rom_start[i], sys_stats.rom_size[i]);
53-
}
54-
}
5544
}
5645

5746
~SystemReport(void)

0 commit comments

Comments
 (0)