We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca46b42 + bec879f commit eae8f9dCopy full SHA for eae8f9d
mbed/mbed.py
@@ -1384,6 +1384,8 @@ def unset_root(self, path=None):
1384
1385
# Gets mbed OS dir (unified)
1386
def get_os_dir(self):
1387
+ if self.get_cfg('MBED_OS_DIR', None) is not None:
1388
+ return self.get_cfg('MBED_OS_DIR')
1389
if os.path.isdir(os.path.join(self.path, 'mbed-os')):
1390
return os.path.join(self.path, 'mbed-os')
1391
elif self.name == 'mbed-os':
0 commit comments