-
Notifications
You must be signed in to change notification settings - Fork 19
Enable Mbed OS PSA #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1a00c2d
to
8d8dadc
Compare
The compilation is okay with review suggestions in ARMmbed/mbed-os#14652 |
4e4633c
to
dcfe4c4
Compare
Now ready for review |
README.md
Outdated
@@ -9,6 +9,9 @@ The examples in this repository demonstrate how to use the ATECC608A secure elem | |||
|
|||
A target with I2C and power supply connections, connected to an ATECC608A secure element as shown in [Hardware interface](#hardware-interface). | |||
|
|||
Note: This example enables Mbed OS PSA. It is _not_ suitable for or compatible with TF-M which has its own PSA implementations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- implementations
+ implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
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.
By default, Mbed OS PSA is only enabled on K64F and K66F. This example overrides the configuration to globally enable Mbed OS PSA as needed. We build NRF52_DK in Travis to verify this override. This target was chosen because the pins for atecc608a are already provided in `mbed_app.json`.
be6b504
to
a585a4f
Compare
@@ -1,18 +1,15 @@ | |||
{ | |||
"target_overrides": { | |||
"*": { | |||
"target.features_add" : ["EXPERIMENTAL_API"], | |||
"target.features_add" : ["EXPERIMENTAL_API", "PSA"], | |||
"extra_labels_add": ["MBED_PSA_SRV"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[ERROR] Attempt to override undefined parameter 'app.extra_labels_add' in 'application[*]' [mbed] Working path "/builds/workspace/mbed-os-ci_build-example-GCC_ARM/examples/mbed-os-example-atecc608a/atecc608a" (program)
. This should be target.extra_labels_add
This is from Mbed OS master testing (see the last PR log ARMmbed/mbed-os#14661 (comment)).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on this. Somehow even with target
missing it works with Mbed CLI 2.
Enable Mbed OS PSA
README.md:
atecc608a/mbed_app/json:
.travis.yml: