Skip to content

Commit 9457e5e

Browse files
authored
Update spm.md
Replacing non-secure with nonsecure
1 parent 7b1a526 commit 9457e5e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/porting/psa/spm.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ Typically, PSA platforms share the same RAM and flash between secure and nonsecu
6363
```text
6464
RAM
6565
+-----------+-------------+--------------------------------------------------+
66-
| Secure | Shared | Non-Secure |
66+
| Secure | Shared | Nonsecure |
6767
| RAM | RAM | RAM |
6868
+-----------+-------------+--------------------------------------------------+
6969
7070
Flash
7171
+-----------------------+----------------------------------------------------+
72-
| Secure | Non-Secure |
72+
| Secure | Nonsecure |
7373
| Flash | Flash |
7474
+-----------------------+----------------------------------------------------+
7575
@@ -85,7 +85,7 @@ Linker scripts must include `MBED_ROM_START`, `MBED_ROM_SIZE`, `MBED_RAM_START`
8585

8686
Typically, shared memory is located adjacent (before or after) to the nonsecure RAM, for saving MPU regions. The shared memory region is nonsecure memory that both cores use.
8787

88-
#### Linker script example for GCC_ARM
88+
#### Linker script example for GCC_ARM compiler
8989

9090
```
9191
...
@@ -116,7 +116,7 @@ MEMORY
116116
...
117117
```
118118

119-
#### Linker script example for ARM
119+
#### Linker script example for ARM compiler
120120

121121
```
122122
...
@@ -157,7 +157,7 @@ LR_IROM1 MBED_ROM_START MBED_ROM_SIZE {
157157
...
158158
```
159159

160-
#### Linker script example for IAR
160+
#### Linker script example for IAR compiler
161161

162162
```
163163
...
@@ -256,6 +256,6 @@ Arm provides a list of tests to make sure the HAL functions are implemented acco
256256
After finalizing the porting, execute the following tests:
257257

258258
- **tests-psa-spm_smoke:** This test will make sure that the porting of the mailbox mechanism (for dual core systems) is successful.
259-
- **tests-mbed_hal-spm:** This test will make sure the porting of the memory protection (*spm_hal_memory_protection_init()* implementation) makes the correct partitioning between secure RAM/Flash and non-secure RAM/Flash.
259+
- **tests-mbed_hal-spm:** This test will make sure the porting of the memory protection (*spm_hal_memory_protection_init()* implementation) makes the correct partitioning between secure RAM/Flash and nonsecure RAM/Flash.
260260

261261
We recommended you leave the memory protection part (*spm_hal_memory_protection_init()* implementation) to the end of the porting. First, implement and test other HAL functions. After these tests pass, implement *spm_hal_memory_protection_init()*, and run the entire test suite again, including the memory protection related tests.

0 commit comments

Comments
 (0)