-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Problem with overriding mbed_lib.json configuration for private libraries #491
Comments
I found another issue that is connected to the one above. If I add my custom library as dependency using
If I move said library from |
Hi, I confirm the last message from @byq77. The I am using PIO 5.2.2 on Windows 10. |
Hello again @byq77, I just resolve the problem about the
I recommend adding the But for other libraries around the web that doesn't have a |
Problem description
Using
mbed_app.json
I am able to override configuration for my target that is defined by core mbed framework. However, if I try to override options defined by my own library it won't work.Reproduction
Content of my
lib
directory:mbed_lib.json
looks like this:platform.ini
:core2
is my custom board.mbed_app.json
:My project builds without any problem if I don't override foo-lib option. In addition to that, generated
mbed_config.h
contains following lines:so it seems that
mbed_lib.json
is processed correctly. However, if I modifymbed_app.json
:the build fails with error:
The text was updated successfully, but these errors were encountered: