‑‑module_summary
In this section:
Syntax
‑‑module_summary {filename|directory}Parameters
See Rules for specifying a filename or directory as parameters.
Description
Use this option to produce a JSON file that lists all source files that contribute to memory usage in the linked image. This list is also included in the linker map file generated by the --map option, under the heading Module summary.
Caution
To set related options, choose Project>Options>Linker>List>Generate linker map file.