-
Notifications
You must be signed in to change notification settings - Fork 8
Support Mbed CLI 2 #20
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
ef555a9 to
88a4c4b
Compare
5153ca5 to
4dfce79
Compare
4dfce79 to
d597fec
Compare
0dcfd99 to
64e1184
Compare
evedon
left a 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.
Code changes look good
This commit adds CMakeLists.txt to support Mbed CLI 2, and updates README with build steps aligned with other official Mbed examples.
eac40b9 to
5e53fbb
Compare
|
Sorry for the many force pushes. After many trials and errors, Circle CI finally works! |
|
Can we use docker in Travis? I think that will save the problem of downloading tools, and make the flow neat |
This should be aligned for all Mbed OS official examples, none of which use Mbed OS docker for Travis. I can change this particular PR, but for consistency we should refactor all of them. @0xc0170 |
|
The scope of this PR is to update existing scripts to use Mbed CLI 2. Here's Travis's documentation: https://docs.travis-ci.com/user/docker/ |
I agree that to use Mbed OS docker for Travis is not in scope. Let's not do any work on this now as the work needs to be prioritised first. |
|
@hugueskamba @0xc0170 Can one of you review the cmake changes please? |
The CMake LGTM. |
This is based on
CMakeLists.txtfrom mbed-os-example-blinky, withmbed-psaadded to the list of libraries to link.The Travis script has been changed to build with Mbed CLI 2 (only) to align with other Mbed official examples (e.g. mbed-os-example-blinky).
Tested: