mirror of https://github.com/ARMmbed/mbed-os.git
move target description from tools into hal where the target code lives
parent
60c862c206
commit
d94627e042
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue