make: comprehensive list of the boards' filesizes#1033
make: comprehensive list of the boards' filesizes#1033OlegHahm merged 3 commits intoRIOT-OS:masterfrom Kijewski:buildsizes
Conversation
Makefile.include
Outdated
There was a problem hiding this comment.
C+P mishap, fixed.
|
I added another target |
|
Nice, now add corresponding *diff commands ;) |
|
That was much more complicated than I have expected. Anyways, I introduced a new Makefile variable You can use it like that: $ cd RIOT/test/test_something
$ git checkout master
$ make buildtest BINDIRBASE=master-bin
$ git checkout my-branch
$ make buildtest BINDIRBASE=my-branch-bin
$ make buildsizes-diff OLDBIN=master-bin NEWBIN=my-branch-bin
text data bss dec BOARD/BINDIRBASE
0 0 0 0 avsextrem **← this line contains the diff**
57356 1532 96769 155657 master-bin
57356 1532 96769 155657 my-branch-bin
...
Check it out, the output contains colors. ;) |
|
Whoa! |
|
Does not cope well with missing stuff.. |
|
Now a missing .elf file renders: |
|
awesome stuff! rebased on master, run in ccn-lite-client: those |
|
Fixed. |
|
Needs update if #1039 is merged first |
|
I guess you could squash already... |
|
Squashed |
|
Ready to be merged? |
|
I think all error conditions are handled now, and even if not, it won't hurt. So ... ready to merge. |
|
ACK |
make: comprehensive list of the boards' filesizes
|
I'm trying to run
Has something changed? |
|
I can reproduce this (non-)behavior. Can you open an issue? I will investigate. |
|
@noshky, should work again. |
Ever wondered if your change sucks for some board?
This PR adds a maketarget that prints a comprehensive list of the sizes for all boards:
Use
make buildtestbeforehand.