How to export and import Memory report in the vscode

Hi,

I am looking for a way to export memory data reports to share for analysis purposes and import them on a new instance of VS Code. I see the ram, rom.json files under the app/build. 

1. Is it possible to have it in a pdf?

2. how to import ram, rom json files in the vscode to revisualise them?  to see like this:

3. if none of the above is possible, can you please describe the best way to share it in a human-readable type

Thank you

Parents
  • Hello,

    1. Is it possible to have it in a pdf?

    You can generate the memory map from https://docs.zephyrproject.org/latest/develop/optimizations/tools.html using -t ram_report or -t rom_report and from there convert it to whatever file format you desire. It will most likely be generated as a .txt by default or simply printed to terminal.

    2. How to import ram, rom json files in the vscode to revisualise them?  to see like this:

    I am not sure if it is possible to import already generated maps to the tool. You can try to build it within the extension and use memory report action. 

    3. if none of the above is possible, can you please describe the best way to share it in a human-readable type

    Can you elaborate this query a bit? 

    Thanks,

    BR

    Kazi

Reply
  • Hello,

    1. Is it possible to have it in a pdf?

    You can generate the memory map from https://docs.zephyrproject.org/latest/develop/optimizations/tools.html using -t ram_report or -t rom_report and from there convert it to whatever file format you desire. It will most likely be generated as a .txt by default or simply printed to terminal.

    2. How to import ram, rom json files in the vscode to revisualise them?  to see like this:

    I am not sure if it is possible to import already generated maps to the tool. You can try to build it within the extension and use memory report action. 

    3. if none of the above is possible, can you please describe the best way to share it in a human-readable type

    Can you elaborate this query a bit? 

    Thanks,

    BR

    Kazi

Children
Related