You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: portable/ThirdParty/GCC/ARM_CM33_TFM/README.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ for Arm M-profile architecture. Please get the details from this [link](https://
14
14
# Derivation of the source code
15
15
16
16
*```os_wrapper_freertos.c```
17
-
The implementation of APIs which are defined in ```\os_wrapper\mutex.h``` by tf-m-tests
18
-
(tag: TF-Mv1.4.0). The implementation is based on FreeRTOS mutex type semaphore.
17
+
The implementation of APIs which are defined in ```\ns_interface\os_wrapper\mutex.h``` by tf-m-tests
18
+
(tag: TF-Mv1.5.0). The implementation is based on FreeRTOS mutex type semaphore.
19
19
20
20
# Usage notes
21
21
@@ -27,19 +27,19 @@ To build a project based on this port:
27
27
28
28
### Get the TF-M source code
29
29
30
-
See the [link](https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/) to get the source code. This port is based on TF-M version **tag: TF-Mv1.4.0**.
30
+
See the [link](https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/) to get the source code. This port is based on TF-M version **tag: TF-Mv1.5.0**.
31
31
32
32
### Build TF-M
33
33
34
34
Please refer to this [link](https://tf-m-user-guide.trustedfirmware.org/docs/technical_references/instructions/tfm_build_instruction.html) to build the secure side.
35
-
_**Note:**```TFM_NS_CLIENT_IDENTIFICATION``` must be configured as "OFF" when building TF-M_.
35
+
_**Note:**```TFM_NS_MANAGE_NSID``` must be configured as "OFF" when building TF-M_.
36
36
37
37
## Build the Non-Secure Side
38
38
39
39
Please copy all the files in ```freertos_kernel\portable\GCC\ARM_CM33_NTZ``` into the ```freertos_kernel\portable\ThirdParty\GCC\ARM_CM33_TFM``` folder before using this port. Note that TrustZone is enabled in this port. The TF-M runs in the Secure Side.
40
40
41
-
Please call the API ```tfm_ns_interface_init()``` which is defined in ```tfm_ns_interface.c``` by tf-m-tests
42
-
(tag: TF-Mv1.4.0)at the very beginning of your application. Otherwise, it will always fail when calling a TF-M service in the Nonsecure Side.
41
+
Please call the API ```tfm_ns_interface_init()``` which is defined in ```\app\tfm_ns_interface.c``` by tf-m-tests
42
+
(tag: TF-Mv1.5.0)at the very beginning of your application. Otherwise, it will always fail when calling a TF-M service in the Nonsecure Side.
43
43
44
44
### Configuration in FreeRTOS kernel
45
45
@@ -59,8 +59,7 @@ This macro should be configured as 0 because TF-M doesn't use the secure context
59
59
60
60
To enable calling TF-M services by the Non-Secure Side, the files below should be included in the FreeRTOS project and built together.
61
61
* files in ```trusted-firmware-m\build\install\interface\src```
62
-
These files contain the implementation of PSA Functional Developer APIs which can be called by Non-Secure Side directly and PSA Firmware Framework APIs in the IPC model. These files should be taken
63
-
as part of the Non-Secure source code.
62
+
These files contain the implementation of PSA Functional Developer APIs which can be called by Non-Secure Side directly and PSA Firmware Framework APIs in the IPC model. These files should be taken as part of the Non-Secure source code.
64
63
* files in ```trusted-firmware-m\build\install\interface\include```
65
64
These files are the necessary header files to call TF-M services.
0 commit comments