Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-tools by
Diff: toolchains/__init__.py
- Revision:
- 2:5f044fef8f98
- Parent:
- 0:4a2e5f0422d6
- Child:
- 7:e811f5dd6560
--- a/toolchains/__init__.py Wed Mar 30 16:27:19 2016 +0000 +++ b/toolchains/__init__.py Wed Mar 30 19:28:05 2016 +0100 @@ -26,9 +26,9 @@ from inspect import getmro from multiprocessing import Pool, cpu_count -from workspace_tools.utils import run_cmd, mkdir, rel_path, ToolException, NotSupportedException, split_path -from workspace_tools.settings import BUILD_OPTIONS, MBED_ORG_USER -import workspace_tools.hooks as hooks +from tools.utils import run_cmd, mkdir, rel_path, ToolException, NotSupportedException, split_path +from tools.settings import BUILD_OPTIONS, MBED_ORG_USER +import tools.hooks as hooks #Disables multiprocessing if set to higher number than the host machine CPUs @@ -745,9 +745,9 @@ def var(self, key, value): self.notify({'type': 'var', 'key': key, 'val': value}) -from workspace_tools.settings import ARM_BIN -from workspace_tools.settings import GCC_ARM_PATH, GCC_CR_PATH -from workspace_tools.settings import IAR_PATH +from tools.settings import ARM_BIN +from tools.settings import GCC_ARM_PATH, GCC_CR_PATH +from tools.settings import IAR_PATH TOOLCHAIN_BIN_PATH = { 'ARM': ARM_BIN, @@ -757,9 +757,9 @@ 'IAR': IAR_PATH } -from workspace_tools.toolchains.arm import ARM_STD, ARM_MICRO -from workspace_tools.toolchains.gcc import GCC_ARM, GCC_CR -from workspace_tools.toolchains.iar import IAR +from tools.toolchains.arm import ARM_STD, ARM_MICRO +from tools.toolchains.gcc import GCC_ARM, GCC_CR +from tools.toolchains.iar import IAR TOOLCHAIN_CLASSES = { 'ARM': ARM_STD,