move target description from tools into hal where the target code lives

pull/1805/head
Sam Grove 2016-05-28 12:46:08 +08:00
parent 60c862c206
commit d94627e042
2 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Target:
@staticmethod
@cached
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))
# Get the members of this module using Python's "inspect" module