How to disable TFM_CRYPTO_AEAD_MODULE_ENABLED

Hi,

Due to the flash size limitation, we want to reduce the code size of TF-M. After I set CONFIG_TFM_CRYPTO_AEAD_MODULE_ENABLED=n in SDK v2.2.0, the size of TF-M code can be reduced by about 32KB, but the program does not run into the main of the app, but into tfm_hal_system_halt. 


How to turn off TFM_CRYPTO_AEAD_MODULE_ENABLED?
Or how to configure TF-M to reduce code size?

Also, we need to set CONFIG_TFM_PROFILE_TYPE_NOT_SET=y instead of using TF-M mini mode.


Parents Reply Children
No Data
Related