Skip to content

Commit 0677db0

Browse files
committed
Includes app_config when starting get_config.py
The get_config.py scripts supports providing the app_config file path as an argument, but mbed.py does not include it, when starting get_config.py, which means that the configuration being built will differ from the output of get_config.py, when building with an app_config != mbed_app.json.
1 parent 15886f8 commit 0677db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mbed/mbed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2728,6 +2728,7 @@ def compile_(toolchain=None, target=None, macro=False, profile=False,
27282728
+ list(chain.from_iterable(zip(repeat('--profile'), profile or [])))
27292729
+ list(chain.from_iterable(zip(repeat('--source'), source)))
27302730
+ (['-v'] if verbose else [])
2731+
+ (['--app-config', app_config] if app_config else [])
27312732
+ (list(chain.from_iterable(zip(repeat('--prefix'), config_prefix))) if config_prefix else []),
27322733
env=env)
27332734
else:

0 commit comments

Comments
 (0)