Hi all,

 

While working on TFM TZ related stuff I have noticed that TFM docs/integration_guide/index.rst states that

 

 

But currently  neither CMSIS RToS nor FreeRToS implements this function, also there is no default implementation for bare metal case. So currently it is user responsibility to implement this function. Also currently for TFM tests it is implemented in test repository (<tf-m-tests repo>/ app/tfm_ns_interface.c).

 

I think this is bad user experience because each user have to implement this function. I think TFM should provide implementation of this function for most common use cases (for example, CMSIS RToS, AWS FreeRToS, bare metal, …). Files with implementation should be installed during build process.

Default implementations will cover most of use cases and will fit for majority of the users.

 

This way TFM will be more user friendly.

 

What are your thoughts on this topic? Will TFM accept such a patch?

 

Regards,

Bohdan Hunko

 

Cypress Semiconductor Ukraine

Engineer

CSUKR CSS ICW SW FW

Mobile: +38099 50 19 714
Bohdan.Hunko@infineon.com