ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.67k stars 2.98k forks source link

Should be able to define target_overrides in libraries #2072

Closed janjongboom closed 8 years ago

janjongboom commented 8 years ago

I have a library that depends on mbed Client. In the past I'd just reference mbed Client as a dependency and be done with it. Now I need to declare the CLIENT feature in mbed_app.json. I added an mbed_app.json file to my library but it's not being picked up by mbed-cli.

That's highly annoying because now I need to tell the user to not only reference my app but also add stuff to this config file, where in the past this would go automatically when he includes my library.

@sg- @screamerbg

bridadan commented 8 years ago

I think you need to use mbed_lib.json instead?

It looks like the config system docs are still in a PR: https://github.com/mbedmicro/mbed/pull/1984/files

janjongboom commented 8 years ago

Yep, that worked. Thanks.