We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf51d1a + ba643a9 commit cc63c6aCopy full SHA for cc63c6a
main.cpp
@@ -41,5 +41,16 @@ int main()
41
*/
42
printf("Compiler Version: %d \n", stats.compiler_version);
43
44
+ /* RAM / ROM memory start and size information */
45
+ for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
46
+ if (stats.ram_size[i] != 0) {
47
+ printf("RAM%d: Start 0x%x Size: 0x%x \n",i , stats.ram_start[i], stats.ram_size[i]);
48
+ }
49
50
51
+ if (stats.rom_size[i] != 0) {
52
+ printf("ROM%d: Start 0x%x Size: 0x%x \n",i, stats.rom_start[i], stats.rom_size[i]);
53
54
55
return 0;
56
}
0 commit comments