Hi all,
The patches have been merged. Please be noted again:
* IPC model is now built by default * Keeping the -DTFM_PSA_API=ON is still OK in your CI or build scripts, but it’s recommended to remove it. * To build library model, please use -DTFM_LIB_MODEL=TRUE
Best Regards, Kevin
From: TF-M tf-m-bounces@lists.trustedfirmware.org On Behalf Of Kevin Peng via TF-M Sent: Thursday, September 16, 2021 11:05 AM To: tf-m@lists.trustedfirmware.org Cc: nd nd@arm.com Subject: Re: [TF-M] Use IPC Model to build by default
Hi all,
The patch in CI for this change is ready as well. https://review.trustedfirmware.org/q/topic:%22ipc_model_by_default%22+(statu...)
We’d like to merge them in this week, if there were no objections.
With this patch, if you build IPC model the commands do not need to change. But it is recommended to remove the -DTFM_PSA_API=ON. If you build library model, you need to add -DTFM_LIB_MODEL=TRUE.
Best Regards, Kevin
From: TF-M <tf-m-bounces@lists.trustedfirmware.orgmailto:tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Kevin Peng via TF-M Sent: Friday, September 10, 2021 5:37 PM To: tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org Cc: nd <nd@arm.commailto:nd@arm.com> Subject: [TF-M] Use IPC Model to build by default
Hi all,
Please be noted that we are changing the build system to build IPC model by default instead of Library model for the following reasons:
* The Library Model is not being developed anymore. It does not support for new FF-M features. * New comers to TF-M should be encouraged to start with the IPC model to have the better experiences. * Most importantly, Library Model will be replaced by SFN Model in future.
Patch here: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/11384
With this patch, the TFM_PSA_API is not intended for users to choose between library and IPC model anymore. To build Library model, please set TFM_LIB_MODEL to ON. The TFM_PSA_API=ON can be kept as is for the time being.
So there would be impacts wherever Library Model is used. Please get prepared.
Thanks.
Best Regards, Kevin