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.
CCES Class Reference
Inherits tools::export::exporters::Exporter.
Public Member Functions | |
def | is_target_supported |
def | flags |
def | format_path |
def | format_inc_path |
def | format_src_path |
def | clean_flags |
def | parse_flags |
def | convert_common_options |
def | convert_assembler_options |
def | convert_compiler_options |
def | convert_linker_options |
def | get_cces_path |
def | get_project_create_command |
def | get_project_build_command |
def | generate |
def | build |
Detailed Description
mbed exporter for Analog Devices' CrossCore Embedded Studio(TM)
Definition at line 41 of file export/cces/__init__.py.
Member Function Documentation
def build | ( | project_name, | |
log_name = 'build_log.txt' , |
|||
cleanup = True |
|||
) |
Build the generated CCES project using headless builder.
Definition at line 416 of file export/cces/__init__.py.
def clean_flags | ( | container, | |
flags_to_remove | |||
) |
Some flags are handled by CCES already, so there's no need to include them twice.
Definition at line 109 of file export/cces/__init__.py.
def convert_assembler_options | ( | flags ) |
Converts the assembler flags into CCES options and removes them from the flags list
Definition at line 152 of file export/cces/__init__.py.
def convert_common_options | ( | prefix, | |
options, | |||
flags | |||
) |
Converts the common flags into CCES options and removes them from the flags list
Definition at line 132 of file export/cces/__init__.py.
def convert_compiler_options | ( | flags ) |
Converts the compiler flags into CCES options and removes them from the flags list
Definition at line 174 of file export/cces/__init__.py.
def convert_linker_options | ( | flags ) |
Converts the linker flags into CCES options and removes them from the flags list
Definition at line 220 of file export/cces/__init__.py.
def flags | ( | self ) |
Returns a dictionary of toolchain flags. Keys of the dictionary are: cxx_flags - c++ flags c_flags - c flags ld_flags - linker flags asm_flags - assembler flags common_flags - common options Skip macros because headless tools handles them separately
Definition at line 61 of file export/cces/__init__.py.
def format_inc_path | ( | path ) |
Formats the given include path relative to the project directory
Definition at line 95 of file export/cces/__init__.py.
def format_path | ( | path, | |
prefix | |||
) |
Formats the given source path relative to the project directory using the prefix
Definition at line 84 of file export/cces/__init__.py.
def format_src_path | ( | path ) |
Formats the given source path relative to the project directory
Definition at line 102 of file export/cces/__init__.py.
def generate | ( | self ) |
Generate the CCES project files using headless builder.
Definition at line 292 of file export/cces/__init__.py.
def get_cces_path | ( | root ) |
Returns the path to the CCES executable
Definition at line 238 of file export/cces/__init__.py.
def get_project_build_command | ( | cces_path, | |
workspace, | |||
project_name | |||
) |
Generate the headless tools build command string with the given parameters
Definition at line 275 of file export/cces/__init__.py.
def get_project_create_command | ( | cces_path, | |
workspace, | |||
project_name | |||
) |
Generate the headless tools projectcreate command string with the given parameters
Definition at line 257 of file export/cces/__init__.py.
def is_target_supported | ( | cls, | |
target_name | |||
) |
Query support for a particular target Positional Arguments: target_name - the name of the target.
Definition at line 49 of file export/cces/__init__.py.
def parse_flags | ( | flags, | |
options, | |||
booleans | |||
) |
Parse the values in `booleans`, insert them into the `options` dictionary and remove them from `flags`
Definition at line 119 of file export/cces/__init__.py.
Generated on Tue Jul 12 2022 17:12:48 by
