Page MenuHomePhabricator

Boot: Optional logging
Closed, ResolvedPublic

Description

Make optional (compile time configurable) the logging in MCUboot.

Event Timeline

davidvincze added a comment.EditedOct 14 2019, 12:48 PM

Change in code size with disabled logging in MCUBoot:

cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=<....> -DPROJ_CONFIG=/home/davvin01/arm/tfm/configs/ConfigRegression.cmake -DTARGET_PLATFORM=AN521 -DCOMPILER=GNUARM ../

Commit Build typeFLASH RAM
LOG enabled397485e326b1dd968eb77bddb29dca789b84156aRelease26,476 Bytes26,528 Bytes
LOG disabledb0d621bd74f7d63655c1c0ee4e319d3c80c6f7e6Release21,176 Bytes26,496 Bytes
Change- 20.01%- 0.12%
LOG enabled397485e326b1dd968eb77bddb29dca789b84156aMinsizerel25,656 Bytes26,528 Bytes
LOG disabledb0d621bd74f7d63655c1c0ee4e319d3c80c6f7e6Minsizerel20,348 Bytes26,496 Bytes
Change- 20.68%- 0.12%
davidvincze closed this task as Resolved.Oct 17 2019, 12:07 PM