joey shelton / LED_Demo

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Embed: (wiki syntax)

« Back to documentation index

tools::targets Namespace Reference

tools::targets Namespace Reference

Data Structures

class  HookError
 Generic Target class that reads and interprets the data in targets.json. More...
class  Target
class  LPCTargetCode
class  LPC4088Code
class  TEENSY3_1Code
class  MTSCode
class  MCU_NRF51Code

Functions

def cached
def get_target_detect_codes
def set_targets_json_location

Detailed Description

mbed SDK
Copyright (c) 2011-2016 ARM Limited

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Function Documentation

def tools::targets::cached (   func )
A simple decorator used for automatically caching data returned by a
function

Definition at line 52 of file targets.py.

def tools::targets::get_target_detect_codes (  )
Returns dictionary mapping detect_code -> platform_name

Definition at line 510 of file targets.py.

def tools::targets::set_targets_json_location (   location = None )
Sets the location of the JSON file that contains the targets

Definition at line 519 of file targets.py.