Skip to content

Equivalent of yotta --config with mbed-cli #329

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

Closed
markus-becker-tridonic-com opened this issue Aug 24, 2016 · 8 comments
Closed

Equivalent of yotta --config with mbed-cli #329

markus-becker-tridonic-com opened this issue Aug 24, 2016 · 8 comments

Comments

@markus-becker-tridonic-com

With yotta there was a possibility to select which config.json was used for the build (yotta --config my-config.json.

Is there a similar possibility with mbed-cli to choose a different file than mbed_app.json?

@MarceloSalazar @daniel-cesarini-tridonic-com

@screamerbg
Copy link
Contributor

screamerbg commented Aug 24, 2016

CC @bogdanm @theotherjimmy

@theotherjimmy
Copy link
Contributor

We could support a similar option in the mbed-os tools, and propagate that option up to mbed-cli. It would be all on the config system though.

@screamerbg
Copy link
Contributor

@theotherjimmy do you think you could look at introducing the option in the mbed-os tools? Adding the help to mbed CLI is trivial really. Also, could you please create issue under https://github.com/ARMmbed/mbed-os?

@screamerbg
Copy link
Contributor

Implemented with #337. This would be introduced with the next mbed CLI release.

@daniel-cesarini-tridonic-com

@screamerbg @theotherjimmy Thank you.

We will try this out as soon as it is ready and provide feedback on whether it solves our issue.

@screamerbg
Copy link
Contributor

I believe this is implemented and now live. Please reopen if that's not the case

@markus-becker-tridonic-com
Copy link
Author

@screamerbg --app-config only works with an updated mbed-os, or?

@bridadan
Copy link
Contributor

@markus-becker-tridonic-com I believe this was added in version 5.1.4 of mbed OS. This was the PR that added this functionality: ARMmbed/mbed-os#2593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants