Memory Report from Console

Hello Devzone Support,

is it possible to run the "Memory Report" from the nRF Connect SDK VS Code extension also from the console for continuous integration purposes?

Best regards,
Patrick

Parents
  • Yes:

    Fullscreen
    1
    2
    3
    west build -t rom_report
    west build -t ram_report
    west build -t partition_manager_report
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    or

    Fullscreen
    1
    2
    3
    4
    cd build
    ninja rom_report
    ninja ram_report
    ninja partition_manager_report
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    The second option works for child images as well.
    Here is an example for MCUboot:

    Fullscreen
    1
    2
    3
    4
    cd build/mcuboot
    ninja rom_report
    ninja ram_report
    ninja partition_manager_report
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Documentation:

    Optimization Tools

    Partition Manager

    Regards,
    Sigurd Hellesvik

  • Bonus tip:

    You can find available commands for a build with

    Fullscreen
    1
    2
    cd build
    ninja help
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Regards,
    Sigurd Hellesvik

  • Great, thank you very much!

Reply Children
No Data