ARMmbed / ARMmbed/mbed-tools

Build Mbed application with out-of-tree modules

Open
#310 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
49
Forks
32
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
My Mbed project has a specific source tree:

> mbed_app/
> ├─ mbed_app.json
> third_party/
> ├─ wifi_lib/
> │ ├─ mbed_lib.json

I want to build a Mbed application with out-of-tree WiFi module (Mbed OS compatible [wifi-ism43362](https://github.com/ARMmbed/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.

Contributor guide

Open the contributing guide

Research direction

Start at the mbed-tools configure command and the code that generates config.cmake; trace how mbed_lib.json files are discovered and merged. Done means an out-of-tree configuration path can be supplied without moving or symlinking the module, and the generated configuration includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.