You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/03/06 21:16:53 UTC
[19/50] [abbrv] incubator-mynewt-newt git commit: This closes #39
This closes #39
This patch improves the output of the size command. The output is now similar to `make ram_report` and `make rom_report` in Zephyr. New flags were added for this purpose:
Flags:
-F, --flash Print FLASH statistics
-R, --ram Print RAM statistics
The size statistics are broken down into a tree-like structure, where
the leaves are symbols and branches are folders and files. For
each tree element there its size in bytes and percentage contribution
to the total size of the memory region.
```
Path Size
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/745efe95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/745efe95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/745efe95
Branch: refs/heads/master
Commit: 745efe95622cfb2e558b8c518230abf762e5cd05
Parents: 78d0066 4b91c27
Author: Sterling Hughes <st...@runtime.io>
Authored: Thu Feb 23 09:59:37 2017 -0800
Committer: Sterling Hughes <st...@runtime.io>
Committed: Thu Feb 23 09:59:37 2017 -0800
----------------------------------------------------------------------
newt/builder/size.go | 34 +++-
newt/builder/size_report.go | 332 +++++++++++++++++++++++++++++++++++++++
newt/builder/symbol_tree.go | 194 +++++++++++++++++++++++
newt/cli/build_cmds.go | 18 ++-
4 files changed, 574 insertions(+), 4 deletions(-)
----------------------------------------------------------------------