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.
Eclipse Class Reference
Inherits tools::export::makefile::Makefile.
Inherited by EclipseArmc5, EclipseGcc, and EclipseIAR.
Public Member Functions | |
def | generate |
def | is_target_supported |
def | format_flags |
def | build |
def | get_toolchain |
def | add_config |
def | flags |
def | get_source_paths |
def | gen_file |
def | make_key |
def | group_project_files |
Detailed Description
Generic Eclipse project. Intended to be subclassed by classes that specify a type of Makefile.
Definition at line 8 of file export/cdt/__init__.py.
Member Function Documentation
def add_config | ( | self ) | [inherited] |
Add the containgin directory of mbed_config.h to include dirs
Definition at line 87 of file exporters.py.
def build | ( | project_name, | |
log_name = "build_log.txt" , |
|||
cleanup = True |
|||
) | [inherited] |
Build Make project
Reimplemented from Exporter.
Definition at line 152 of file export/makefile/__init__.py.
def flags | ( | self ) | [inherited] |
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
Definition at line 96 of file exporters.py.
def format_flags | ( | self ) | [inherited] |
Format toolchain flags for Makefile
Definition at line 140 of file export/makefile/__init__.py.
def gen_file | ( | self, | |
template_file, | |||
data, | |||
target_file, | |||
kwargs | |||
) | [inherited] |
Generates a project file from a template using jinja
Definition at line 133 of file exporters.py.
def generate | ( | self ) |
Generate Makefile, .cproject & .project Eclipse project file, py_ocd_settings launch file, and software link .p2f file
Reimplemented from Makefile.
Definition at line 12 of file export/cdt/__init__.py.
def get_source_paths | ( | self ) | [inherited] |
Returns a list of the directories where source files are contained
Definition at line 124 of file exporters.py.
def get_toolchain | ( | self ) | [inherited] |
A helper getter function that we should probably eliminate
Definition at line 83 of file exporters.py.
def group_project_files | ( | self, | |
sources | |||
) | [inherited] |
Group the source files by their encompassing directory Positional Arguments: sources - array of source locations Returns a dictionary of {group name: list of source locations}
Definition at line 162 of file exporters.py.
def is_target_supported | ( | cls, | |
target_name | |||
) | [inherited] |
Query support for a particular target NOTE: override this method if your exporter does not provide a static list of targets Positional Arguments: target_name - the name of the target.
Reimplemented from Exporter.
Definition at line 48 of file export/makefile/__init__.py.
def make_key | ( | self, | |
src | |||
) | [inherited] |
From a source file, extract group name Positional Arguments: src - the src's location
Definition at line 148 of file exporters.py.
Generated on Thu Jul 14 2022 14:36:33 by
