forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing build sizes
Oleg Hahm edited this page Aug 9, 2015
·
1 revision
There is a make target for build size comparison. 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 info-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
...
Note: make info-buildsizes-diff needs bash 4, so your system must not be older than 20-Feb-2009 …
Check it out, the output contains colors. ;)
(This page is mostly a copy of René Kijewski's explanation in https://github.com/RIOT-OS/RIOT/pull/1033.)
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: CC2538DK
- Board: HikoB Fox
- Board: IoT LAB M3
- Board: LimiFrog-v1
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: Nucleo-L1
- Board: Nucleo-F334
- Board: Nucleo-F303
- Board: Nucleo-F091
- Board: Mulle
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: Phytec phyWAVE-KW22
- Board: RFduino
- Board: Samr21 xpro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: UDOO
- Board: yunjia-nrf51822
- Family: ATmega
- Board: Arduino Mega2560
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo