Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 124 of file targets/__init__.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 272 of file targets/__init__.py.
def get_json_target_data | ( | ) |
Load the description of JSON target data
Definition at line 139 of file targets/__init__.py.
def get_module_data | ( | ) |
Get the members of this module using Python's "inspect" module
Definition at line 172 of file targets/__init__.py.
def get_target | ( | target_name ) |
Return the target instance starting from the target name
Definition at line 283 of file targets/__init__.py.
def init_hooks | ( | self, | |
hook, | |||
toolchain | |||
) |
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) Positional Arguments: hook - the hook object to add post-binary-hooks to toolchain - the toolchain object for inspection
Definition at line 311 of file targets/__init__.py.
def labels | ( | self ) |
Get all possible labels for this target
Definition at line 299 of file targets/__init__.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 289 of file targets/__init__.py.
def set_targets_json_location | ( | location = None ) |
Set the location of the targets.json file
Definition at line 162 of file targets/__init__.py.
Generated on Tue Jul 12 2022 14:27:27 by
