mirror of https://github.com/ARMmbed/mbed-os.git
Correct usage of get_config
parent
c225f2c82d
commit
eaa4ee4179
|
@ -56,7 +56,7 @@ if __name__ == '__main__':
|
|||
options.prefix = options.prefix or [""]
|
||||
|
||||
try:
|
||||
params, macros, features = get_config(
|
||||
params, macros, features, _ = get_config(
|
||||
options.source_dir,
|
||||
target,
|
||||
options.tool[0] if options.tool else None,
|
||||
|
|
|
@ -2245,7 +2245,7 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name,
|
|||
else:
|
||||
target_name = target
|
||||
target = TARGET_MAP[target_name]
|
||||
cfg, _, _ = get_config(base_source_paths, target, app_config=app_config)
|
||||
cfg, _, _, _ = get_config(base_source_paths, target, app_config=app_config)
|
||||
|
||||
baud_rate = 9600
|
||||
if 'platform.stdio-baud-rate' in cfg:
|
||||
|
|
Loading…
Reference in New Issue