Closed
Description
Description
- Type: Bug
- Priority: Major
mbed CLI tool copies *.json, *.a files and potentially some other stuff that is given in --source <path>
Bug
Target
K64F
Toolchain:
GCC_ARM|ARM
Toolchain version:
4.9.3
mbed-cli version:
0.9.5
meed-os sha:
56f60a0
Steps to reproduce
- Compile mbed-os as a static library (using --build libmbed-os)
- Compile mbed-client as a static library (using --build libmbed-client)
- Compile some
foo
application that has a single main.cpp (prints hello world or something) and uses--source libmbed-os
and--source libmbed-client
when compiling, e.g.:
mbed compile -j1 --build .build-foo -t GCC_ARM -m K64F --artifact-name foo -v --source .build-libmbed-os --source .build-libmbed-client -v
Expected behavior
foo
application should cleanly compile
Actual behavior
ConfigException: Library name 'mbed-os' is not unique (defined in '.build-libmbed-os/mbed_lib.json' and '.build-libmbed-client/mbed_lib.json')
Metadata
Metadata
Assignees
Labels
No labels