Daiki Kato / mbed-os-lychee

Dependents:   mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more

Embed: (wiki syntax)

« Back to documentation index

Target Class Reference

Target Class Reference

Inherits collections::namedtuple.

Public Member Functions

def get_json_target_data
def set_targets_json_location
def get_module_data
def __getattr__
def get_target
def program_cycle_s
def labels
def init_hooks

Detailed Description

An object to represent a Target (MCU/Board)

Definition at line 119 of file targets.py.


Member Function Documentation

def __getattr__ (   self,
  attrname 
)
Return the value of an attribute. This function only computes the
attribute's value once, then adds it to the instance attributes (in
__dict__), so the next time it is returned directly

Definition at line 251 of file targets.py.

def get_json_target_data (  )
Load the description of JSON target data

Definition at line 131 of file targets.py.

def get_module_data (  )
Get the members of this module using Python's "inspect" module

Definition at line 146 of file targets.py.

def get_target (   target_name )
Return the target instance starting from the target name 

Definition at line 262 of file targets.py.

def init_hooks (   self,
  hook,
  toolchain_name 
)
Initialize the post-build hooks for a toolchain. For now, this
function only allows "post binary" hooks (hooks that are executed
after the binary image is extracted from the executable file)

Definition at line 290 of file targets.py.

def labels (   self )
Get all possible labels for this target

Definition at line 278 of file targets.py.

def program_cycle_s (   self )
Special override for program_cycle_s as it's default value depends
upon is_disk_virtual

Definition at line 268 of file targets.py.

def set_targets_json_location (   location = None )
Set the location of the targets.json file

Definition at line 137 of file targets.py.