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.
1 parent 46707ac commit ba643a9Copy full SHA for ba643a9
main.cpp
@@ -36,5 +36,16 @@ int main()
36
*/
37
printf("Compiler Version: %d \n", stats.compiler_version);
38
39
+ /* RAM / ROM memory start and size information */
40
+ for (int i = 0; i < MBED_MAX_MEM_REGIONS; i++) {
41
+ if (stats.ram_size[i] != 0) {
42
+ printf("RAM%d: Start 0x%x Size: 0x%x \n",i , stats.ram_start[i], stats.ram_size[i]);
43
+ }
44
45
46
+ if (stats.rom_size[i] != 0) {
47
+ printf("ROM%d: Start 0x%x Size: 0x%x \n",i, stats.rom_start[i], stats.rom_size[i]);
48
49
50
return 0;
51
}
0 commit comments