Rtos API example
tools::targets Namespace Reference
Namespaces | |
namespace | lint |
namespace | LPC |
namespace | NCS |
namespace | REALTEK_RTL8195AM |
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 |
class | RTL8195ACode |
Functions | |
def | cached |
def | get_resolution_order |
def | target |
def | generate_py_target |
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 62 of file targets/__init__.py.
def tools::targets::generate_py_target | ( | new_targets, | |
name | |||
) |
Add one or more new target(s) represented as a Python dictionary in 'new_targets'. It is an error to add a target with a name that already exists.
Definition at line 108 of file targets/__init__.py.
def tools::targets::get_resolution_order | ( | json_data, | |
target_name, | |||
order, | |||
level = 0 |
|||
) |
Return the order in which target descriptions are searched for attributes. This mimics the Python 2.2 method resolution order, which is what the old targets.py module used. For more details, check http://makina-corpus.com/blog/metier/2014/python-tutorial-understanding-python-mro-class-search-path The resolution order contains (name, level) tuples, where "name" is the name of the class and "level" is the level in the inheritance hierarchy (the target itself is at level 0, its first parent at level 1, its parent's parent at level 2 and so on)
Definition at line 79 of file targets/__init__.py.
def tools::targets::get_target_detect_codes | ( | ) |
Returns dictionary mapping detect_code -> platform_name
Definition at line 559 of file targets/__init__.py.
def tools::targets::set_targets_json_location | ( | location = None ) |
Sets the location of the JSON file that contains the targets
Definition at line 568 of file targets/__init__.py.
def tools::targets::target | ( | name, | |
json_data | |||
) |
Construct a target object
Definition at line 98 of file targets/__init__.py.
Generated on Sun Jul 17 2022 08:25:44 by 1.7.2