mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #1805 from sg-/move-target-json
move target description from tools into hal where the target code livespull/1800/merge
						commit
						3055b2881c
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue