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.
Dependents: blinky_max32630fthr
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 118 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 250 of file targets.py.
| def get_json_target_data | ( | ) |
Load the description of JSON target data
Definition at line 130 of file targets.py.
| def get_module_data | ( | ) |
Get the members of this module using Python's "inspect" module
Definition at line 145 of file targets.py.
| def get_target | ( | target_name ) |
Return the target instance starting from the target name
Definition at line 261 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 286 of file targets.py.
| def labels | ( | self ) |
Get all possible labels for this target
Definition at line 277 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 267 of file targets.py.
| def set_targets_json_location | ( | location = None ) |
Set the location of the targets.json file
Definition at line 136 of file targets.py.
Generated on Tue Jul 12 2022 14:21:39 by
1.7.2
