-
Notifications
You must be signed in to change notification settings - Fork 30
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
Build Mbed application with out-of-tree modules #310
Comments
Hi @ATmobica, building out-of-tree modules should be possible. This is controlled by CMake instead of mbed-tools. Could you try adding the following to mbed_app/CMakeLists.txt: add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../third_party/wifi_lib wifi_lib_build) ? Note that the second argument of |
@LDong-Arm Yes, the building works but the propagation settings from mbed_lib.json file does not.
But I couldn't pass the path to mbed_lib.json file to it. |
This is a good point. The idea behind automatically scanning
@ARMmbed/mbed-os-core What do you think of @ATmobica's suggestion? |
@LDong-Arm Hi, is there any progress or decisions on this issue? |
Is your feature request related to a problem? Please describe.
My Mbed project has a specific source tree:
I want to build a Mbed application with out-of-tree WiFi module (Mbed OS compatible wifi-ism43362 ) but I do not see the possibility of indicating the path to it and join the configuration from mbed_lib.json.
Now, the only option is to move wifi_lib to mbed_project directory (create a symlink for example) and I would like to avoid it.
Describe the solution you'd like
Added option to include .json out-of-tree configuration file when generating mbed config.cmake. For example, this could be a new argument to the mbed-tools configure command.
The text was updated successfully, but these errors were encountered: