Merge pull request #1805 from sg-/move-target-json

move target description from tools into hal where the target code lives
pull/1800/merge
Russ Butler 2016-05-28 00:17:25 -05:00
commit 3055b2881c
2 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Target:
@staticmethod @staticmethod
@cached @cached
def get_json_target_data(): def get_json_target_data():
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "targets.json"), "rt") as f: with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "../hal/targets.json"), "rt") as f:
return Target.to_ascii(json.load(f)) return Target.to_ascii(json.load(f))
# Get the members of this module using Python's "inspect" module # Get the members of this module using Python's "inspect" module