From d94627e042506796469a0cf053c1c0f041cbe970 Mon Sep 17 00:00:00 2001 From: Sam Grove Date: Sat, 28 May 2016 12:46:08 +0800 Subject: [PATCH] move target description from tools into hal where the target code lives --- {workspace_tools => hal}/targets.json | 0 workspace_tools/targets.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {workspace_tools => hal}/targets.json (100%) diff --git a/workspace_tools/targets.json b/hal/targets.json similarity index 100% rename from workspace_tools/targets.json rename to hal/targets.json diff --git a/workspace_tools/targets.py b/workspace_tools/targets.py index 97a811329f..6fb1ca9c5a 100755 --- a/workspace_tools/targets.py +++ b/workspace_tools/targets.py @@ -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