Skip to content

Commit fca2f44

Browse files
committed
Remove "Enabling PSA at application level"
Overriding `inherits` in `mbed_app.json` is not always feasible - if a target already has another inheritance in `targets.json`, the existing one will be overriden. To avoid potential issues, we should not recommend this method of enabling PSA.
1 parent 342353e commit fca2f44

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docs/porting/security/psa_targets_in_mbed-os.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -357,22 +357,6 @@ If an Armv8-M PSA target cannot inherit from `PSA_V8_M` because it has to inheri
357357
]
358358
```
359359

360-
## Enabling PSA at application level
361-
362-
Having an entropy source is crucial for Mbed TLS and PSA. The [entropy source porting document](../porting/entropy-sources.html) discusses why and how to add an entropy source.
363-
364-
If your target doesn't have a True Random Number Generator (TRNG), configure it as a non-PSA target in `targets/targets.json`. In this scenario, if an application wants to use the target as a PSA target, then it is the application's responsibility to provide an entropy source and mark that target as a PSA target at the application level. To enable PSA for a target from an application, use the config option [target_overrides](../reference/configuration.html).
365-
366-
An example of `mbed_app.json`:
367-
368-
```json
369-
"target_overrides": {
370-
"K64F": {
371-
"inherits": ["PSA_V7_M"]
372-
}
373-
}
374-
```
375-
376360
## Build and validation
377361

378362
The [mbed-os-tf-m-regression-tests repository](https://github.com/ARMmbed/mbed-os-tf-m-regression-tests) contains build scripts, TF-M regression tests and PSA API compliance tests. Please follow instructions there to build and validate your TF-M target.

0 commit comments

Comments
 (0)