Skip to content

Commit 196d64a

Browse files
committed
Enable Mbed OS PSA
README.md: * Document the fact that this example enables Mbed OS PSA which cannot coexist with TF-M. atecc608a/mbed_app/json: * Remove SAML21J18A which is not supported by the latest Mbed OS. * Enable Mbed OS PSA required by the example.
1 parent 9833cd8 commit 196d64a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ The examples in this repository demonstrate how to use the ATECC608A secure elem
99

1010
A target with I2C and power supply connections, connected to an ATECC608A secure element as shown in [Hardware interface](#hardware-interface).
1111

12+
Note: This example enables Mbed OS PSA. It is _not_ suitable for or compatible with TF-M which has its own PSA implementation
13+
(e.g. Arm TrustZone on Arm v8-M).
14+
1215
## Mbed OS build tools
1316

1417
### Mbed CLI 2

atecc608a/mbed_app.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
{
22
"target_overrides": {
33
"*": {
4-
"target.features_add" : ["EXPERIMENTAL_API"],
4+
"target.features_add" : ["EXPERIMENTAL_API", "PSA"],
5+
"extra_labels_add": ["MBED_PSA_SRV"],
56
"platform.stdio-baud-rate": 9600,
67
"platform.stdio-convert-newlines": true,
78
"mbed-trace.enable": 0
89
},
910
"NRF52_DK": {
1011
"cryptoauthlib.i2c_sda": "P0_26",
1112
"cryptoauthlib.i2c_scl": "P0_27"
12-
},
13-
"SAML21J18A": {
14-
"cryptoauthlib.i2c_sda": "PA08",
15-
"cryptoauthlib.i2c_scl": "PA09"
1613
}
1714
},
1815
"macros": [

0 commit comments

Comments
 (0)