zephyr/modules/trusted-firmware-m
Jonathon Penix d6041d62b3 cmake: kconfig: Add new abstraction for -Oz optimization level
Both Clang [1] and (recently) GCC [2] support this flag to enable
additional codesize optimizations beyond -Os, possibly at the expense of
performance.

This tradeoff is worthwhile for some (and, Clang's -Oz seems to be
closer to GCC's -Os currently), so add a new abstraction for this flag
so users can select it as appropriate.

[1] https://clang.llvm.org/docs/CommandGuide/clang.html#cmdoption-O0
[2] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-Oz

Signed-off-by: Jonathon Penix <jpenix@quicinc.com>
2024-06-14 19:05:50 -04:00
..
interface tfm: Use PSA error codes instead of TFM error codes 2024-01-17 16:52:52 +01:00
nordic build: namespace autoconf.h with zephyr/ 2024-05-28 22:03:55 +02:00
psa
src modules: tf-m: Remove building of PSA arch tests 2024-01-17 16:52:52 +01:00
CMakeLists.txt modules: tf-m: support MCUboot signature types other than RSA-3072 2024-05-29 04:56:40 -07:00
Kconfig
Kconfig.tfm cmake: kconfig: Add new abstraction for -Oz optimization level 2024-06-14 19:05:50 -04:00
Kconfig.tfm.crypto_modules tfm: Fix help text for crypto key module functionality 2023-07-25 09:15:32 +02:00
Kconfig.tfm.partitions modules: tf-m: restore check on CONFIG_TFM_PARTITION_INITIAL_ATTESTATION 2024-05-29 04:56:40 -07:00