Skip to content

Commit 5e10555

Browse files
author
Jimmy Brisson
committed
Configure sdk keys with mbed cli config
1 parent edbeb5e commit 5e10555

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mbed/mbed.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,10 @@ def get_env(self):
15751575
for c in compilers:
15761576
if self.get_cfg(c+'_PATH'):
15771577
env['MBED_'+c+'_PATH'] = self.get_cfg(c+'_PATH')
1578+
config_options = ['COLOR', 'CLOUD_SDK_API_KEY', 'CLOUD_SDK_HOST']
1579+
for opt in config_options:
1580+
if self.get_cfg(opt):
1581+
env['MBED_' + opt] = self.get_cfg(opt)
15781582

15791583
return env
15801584

0 commit comments

Comments
 (0)