Skip to content

Add app config switch #337

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

Merged
merged 2 commits into from
Sep 12, 2016

Conversation

ConorPKeegan
Copy link
Contributor

@ConorPKeegan ConorPKeegan commented Aug 31, 2016

Changes

  • Add command line switch --app-config to specify the location of an app config file
  • Specified file must be in the same format as mbed_app.json

Example

This is an example use of the switch, where test.json is in the format of a mbed_app.json file

$ mbed test --compile -m K64F -t GCC_ARM --app-config test.json

Dependencies

@ConorPKeegan
Copy link
Contributor Author

@mazimkhan Please can you review this

@ConorPKeegan
Copy link
Contributor Author

@bridadan To include the new changes from ARMmbed/mbed-os#2593 (the changes in make.py), which command needs to be changed, it seems to me that it would be compile?

@bridadan
Copy link
Contributor

bridadan commented Sep 1, 2016

Yup! mbed compile goes to make.py and mbed test goes to test.py (only for --compile and --compile-list)

@ConorPKeegan
Copy link
Contributor Author

@sg- @screamerbg Can we get this merged (depends on ARMmbed/mbed-os#2593)?

@screamerbg
Copy link
Contributor

LGTM

@screamerbg screamerbg merged commit 96b1d10 into ARMmbed:master Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants