Thanks for pointing this out.

Here is the fix.

 

Best Regards,

Kevin

 

From: Andersson, Joakim <Joakim.Andersson@nordicsemi.no>
Sent: Monday, August 8, 2022 7:06 PM
To: Kevin Peng <Kevin.Peng@arm.com>; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: RE: Example Partition Updates

 

Not sure this is the correct place to post comments on the example code, but I can see that there is something outdated in the following code comment:

/**

* \brief An example service implementation that prints out an argument from the

*        client and then starts a timer.

*/


From what I can see the timer was removed in the last commit, so this should be updated.

 

If more examples are needed on how to write secure partitions then there is also an example in the zephyr project:
https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/tfm_integration/tfm_secure_partition

 

-Joakim.

 

From: Kevin Peng via TF-M <tf-m@lists.trustedfirmware.org>
Sent: mandag 8. august 2022 12:03
To: tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: [TF-M] Example Partition Updates

 

Hi all,

 

Please be noted that the TF-M example Secure Partition has been moved from the tf-m-tools repo to the tf-m-extras repo.

It has also been aligned with the latest TF-M. The documentations are improved as well.

It could be a good reference for Secure Partition developer starters.

 

Best Regards,

Kevin