commit | e50f0a9f4b6ec831cc16195f67c8f3b9a605a09b | [log] [tgz] |
---|---|---|
author | Dávid Házi <david.hazi@arm.com> | Wed Jul 06 14:46:01 2022 +0200 |
committer | Anton Komlev <Anton.Komlev@arm.com> | Thu Aug 11 15:30:17 2022 +0200 |
tree | 0224df5870e6ebbbbf4904639fa2e21c33cc4f93 | |
parent | 09f93cd3cf7bc98fe506cb827d5cd617fa564f28 [diff] |
Build: Change default build option to MinSizeRel * By default CMake's Release option builds with -O3, which isn't efficient for Cortex-M devices, where we wanted the lowest ROM/RAM usage. * If TFM_SYSTEM_PROCESSOR is defined, then build and link with this cpu instead of arch with both armclang and gcc Signed-off-by: Dávid Házi <david.hazi@arm.com> Change-Id: I7550ab435fcf6bb595dcc153665009e47163214b