1
- # PSA Tools
1
+ # PSA tools
2
2
3
- This document will describe the following scripts:
3
+ This document describes the following scripts:
4
4
5
5
* \_\_ init\_\_ .py
6
6
* generate_partition_code.py
@@ -11,18 +11,18 @@ This document will describe the following scripts:
11
11
12
12
## \_\_ init\_\_ .py
13
13
14
- This file holds common function dedicated to help SiP with their post-build logic.
15
-
16
- * find_secure_image - Scans a Resource object to find the correct binary of the secure image to merge with the non-secure build.
14
+ This file holds common functions dedicated to help SiP with their postbuild logic.
17
15
16
+ * find_secure_image - Scans a Resource object to find the correct binary of the secure image to merge with the nonsecure build.
18
17
19
18
## Code generation scripts
20
19
21
- mbed-os holds 2 implementations of PSA:
22
- * MBED_SPM - Implementation for dual core v7 targets.
20
+ Mbed OS holds two implementations of PSA:
21
+
22
+ * MBED_SPM - Implementation for dual-core v7 targets.
23
23
* TF-M - Implementation for v8 targets.
24
24
25
- each implementation requires a set of auto generated files describing the secure partitions.
25
+ Each implementation requires a set of autogenerated files describing the secure partitions:
26
26
27
27
* ` generate_partition_code.py ` - Generate files for both implementations.
28
28
* ` generate_mbed_spm_partition_code.py ` - Generate files for MBED_SPM.
@@ -31,7 +31,7 @@ each implementation requires a set of auto generated files describing the secure
31
31
32
32
## Secure image generation
33
33
34
- ` release.py ` is the script assigned with compiling the secure images.
34
+ ` release.py ` is the script assigned with compiling the secure images:
35
35
36
36
```
37
37
usage: release.py [-h] [-m MCU]
@@ -41,9 +41,10 @@ optional arguments:
41
41
-m MCU, --mcu MCU build for the given MCU
42
42
```
43
43
44
- when ` MCU ` is not specified the script will compile all the images for all the targets
44
+ When ` MCU ` is not specified, the script compiles all the images for all the targets.
45
+
46
+ This script should be run in following scenarios:
45
47
46
- This script should be ran in following scenarios:
47
48
* Release.
48
49
* Update to files originating in the secure side.
49
50
* Drivers update.
0 commit comments