-
Notifications
You must be signed in to change notification settings - Fork 19
Fix Travis and README, enable Mbed OS PSA by default #94
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
Commands for mbed-tools have been renamed since `.travis.yml` was first added to this repository.
getting-started/mbed_app.json
Outdated
| "platform.stdio-convert-newlines": true, | ||
| "target.features_add" : ["EXPERIMENTAL_API"], | ||
| "target.features_add" : ["EXPERIMENTAL_API", "PSA"], | ||
| "target.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.
Do we really need MBED_PSA_SRV? Shouldn't this example work also with a TF-M target?
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
Outdated
|
|
||
| ## Prerequisites | ||
| * Install <a href='https://github.com/ARMmbed/mbed-cli#installing-mbed-cli'>Mbed CLI</a> | ||
| This example enables Mbed OS PSA. It is compatible with **non-TF-M** targets, as TF-M has its own PSA 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.
This example should work with TF-M. If not, we need to understand why it doesn't and fix it.
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've updated it. Hopefully we can get this PR in to unblock Travis, and #95 actually fixes TF-M support.
README.md
Outdated
|
|
||
| List of examples contained within this repository: | ||
| * Example code snippets for using the library, with [documentation](https://github.com/ARMmbed/mbed-crypto/blob/development/docs/getting_started.md). | ||
| This repository contains an example demonstrating the compilation and use of Mbed Crypto on Mbed OS. |
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.
Existing issue, but we should say "PSA Crypto" instead of "Mbed Crypto". The example is expected to work with any PSA crypto 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.
Good point. Shall we also rename this repo to mbed-os-example-psa-crypto? Existing links to the old names will be redirected by GitHub.
|
@Patater Yes the main issue here is TF-M doesn't provide |
To enable Mbed OS PSA on a non-TF-M target, a user only needs to add
`"target.extra_labels_add": ["MBED_PSA_SRV"]`
without having to touch `"target.features_add"` in `mbed_app.json`.
This slightly simplifies the manual configuration.
We can remove the call to |
|
This is now combined into #95 |
Uh oh!
There was an error while loading. Please reload this page.