Skip to content

[Exporters] Resolving Python errors and uVision build issues #2895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 3, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing python import errors
  • Loading branch information
bridadan committed Oct 3, 2016
commit 0c76ba54ffd4cc79fe0167d15f33d679babde80d
8 changes: 2 additions & 6 deletions tools/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@
from argparse import ArgumentParser
from os.path import normpath, realpath

from tools.paths import EXPORT_DIR, MBED_DRIVERS, MBED_PLATFORM, \
MBED_HAL, MBED_TARGETS_PATH, MBED_LIBRARIES
from tools.paths import EXPORT_DIR, MBED_HAL, MBED_LIBRARIES
from tools.export import EXPORTERS, mcu_ide_matrix
from tools.tests import TESTS, TEST_MAP
from tools.tests import test_known, test_name_known, Test
from tools.targets import TARGET_NAMES
from tools.utils import argparse_filestring_type, argparse_many, args_error
from tools.utils import argparse_force_lowercase_type
from tools.utils import argparse_force_uppercase_type
from tools.project_api import export_project
from tools.project_api import export_project, get_exporter_toolchain
from tools.options import extract_profile


Expand Down Expand Up @@ -55,9 +54,6 @@ def setup_project(ide, target, program=None, source_dir=None, build=None, export
if MBED_LIBRARIES in test.dependencies:
test.dependencies.remove(MBED_LIBRARIES)
test.dependencies.append(MBED_HAL)
test.dependencies.append(MBED_DRIVERS)
test.dependencies.append(MBED_PLATFORM)
test.dependencies.append(MBED_TARGETS_PATH)


src_paths = [test.source_dir]
Expand Down