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: docs/porting/psa/spm.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Secure Partition Manager (SPM) is a part of the PSA Firmware Framework that is responsible for isolating software in partitions, managing the execution of software within partitions and providing inter-process communication (IPC) between partitions.
4
4
5
-
For more information about SPM, please refer to [the SPM overview page](../apis/psa-api.html).
5
+
For more information about SPM, please see the [SPM API page](../apis/psa-spm.html).
6
6
7
7
<spanclass="notes">This page gives guidelines for silicon partners adding SPM capabilities.</span>
8
8
@@ -12,11 +12,11 @@ For more information about SPM, please refer to [the SPM overview page](../apis/
12
12
13
13
For information about the platform types supported by the Mbed implementation of PSA, see [Platform types](../reference/psa-api.html#platform-types).
14
14
15
-
#### JSON target definition
15
+
#### Defining a PSA-compliant target in targets.json
16
16
17
17
When adding a new target, add a new root target node to the `mbed-os/targets/targets.json` file. For PSA support, define specific PSA-related fields for this target:
18
18
19
-
- A secure target must inherit from `SPE_Target` metatarget.
19
+
- A secure target must inherit from the `SPE_Target` metatarget.
20
20
- A nonsecure target must inherit from `NSPE_Target`.
21
21
- Only for multicore architectures:
22
22
- Both targets must add the `SPM_MAILBOX` component. You can read more about the mailbox mechanism in the [mailbox section](#mailbox).
@@ -75,6 +75,8 @@ The following flags and labels must be added to each target type to add the rele
75
75
|`TFM` (label) ||||✓|✓|
76
76
77
77
78
+
For more information about working with the `targets.json` file, please see [Adding and configuring targets](../reference/adding-and-configuring-targets.html).
79
+
78
80
#### Memory layout
79
81
80
82
Typically, PSA platforms share the same RAM and flash between secure and nonsecure cores. To provide PSA isolation level 1 or higher, you need to partition both RAM and flash to secure and nonsecure parts, in a way the following image describes:
0 commit comments