ARMmbed / mbed-tools

⚠️ Beta Status: New command line tooling for Mbed OS
Apache License 2.0
45 stars 30 forks source link

Missing `--app-config` option #291

Closed LDong-Arm closed 3 years ago

LDong-Arm commented 3 years ago

Describe the bug Mbed CLI 1 offers an --app-config option to let users specify the application configuration JSON instead of assuming mbed_app.json. This is not currently provided by mbed-tools, but useful when

To Reproduce Try to build an application (e.g. blinky) with --app-config, for example

mbed-tools compile -t GCC_ARM -m K64F --app-config mbed-os/TESTS/configs/experimental.json

and the error is

Error: no such option: --app-config

Expected behavior An option --app-config is available to both mbed-tools configure and mbed-tools compile. The specified JSON is used for generating mbed_config.cmake.

Screenshots N/A

Desktop (please complete the following information):

Mbed (please complete the following information):

Additional context N/A