Skip to content

Commit 656b46b

Browse files
authored
Merge pull request #65 from LDong-Arm/mbed_psa_requirement
Enable Mbed OS PSA
2 parents 9833cd8 + a585a4f commit 656b46b

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,15 @@ matrix:
9393
- <<: *cmake-build-test
9494
name: "CMake atecc608a example - debug (K64F)"
9595
env: NAME=cmake_test TARGET_NAME=K64F PROFILE=debug CACHE_NAME=debug-K64F
96+
97+
- <<: *cmake-build-test
98+
name: "CMake atecc608a example - develop (NRF52_DK)"
99+
env: NAME=cmake_test TARGET_NAME=NRF52_DK PROFILE=develop CACHE_NAME=develop-NRF52_DK
100+
101+
- <<: *cmake-build-test
102+
name: "CMake atecc608a example - release (NRF52_DK)"
103+
env: NAME=cmake_test TARGET_NAME=NRF52_DK PROFILE=release CACHE_NAME=release-NRF52_DK
104+
105+
- <<: *cmake-build-test
106+
name: "CMake atecc608a example - debug (NRF52_DK)"
107+
env: NAME=cmake_test TARGET_NAME=NRF52_DK PROFILE=debug CACHE_NAME=debug-NRF52_DK

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)