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: BLE_file_test BLE_Blink ExternalEncoder
GccArm Class Reference
Inherits tools::export::makefile::Makefile.
Public Member Functions | |
def | generate |
def | get_toolchain |
def | add_config |
def | flags |
def | get_source_paths |
def | check_supported |
def | gen_file |
def | make_key |
def | group_project_files |
Detailed Description
GCC ARM specific makefile target
Definition at line 106 of file export/makefile/__init__.py.
Member Function Documentation
def add_config | ( | self ) | [inherited] |
Add the containgin directory of mbed_config.h to include dirs
Definition at line 79 of file exporters.py.
def check_supported | ( | self ) | [inherited] |
Indicated if this combination of IDE and MCU is supported
Definition at line 122 of file exporters.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 88 of file exporters.py.
def gen_file | ( | self, | |
template_file, | |||
data, | |||
target_file | |||
) | [inherited] |
Generates a project file from a template using jinja
Definition at line 129 of file exporters.py.
def generate | ( | self ) | [inherited] |
Generate the makefile Note: subclasses should not need to override this method
Reimplemented in Eclipse.
Definition at line 35 of file export/makefile/__init__.py.
def get_source_paths | ( | self ) | [inherited] |
Returns a list of the directories where source files are contained
Definition at line 113 of file exporters.py.
def get_toolchain | ( | self ) | [inherited] |
A helper getter function that we should probably eliminate
Definition at line 75 of file exporters.py.
def group_project_files | ( | self, | |
sources | |||
) | [inherited] |
Group the source files by their encompassing directory Positional Arguments: sources - array of sourc locations Returns a dictionary of {group name: list of source locations}
Definition at line 153 of file exporters.py.
def make_key | ( | self, | |
src | |||
) | [inherited] |
From a source file, extract group name Positional Arguments: src - the src's location
Definition at line 143 of file exporters.py.
Generated on Tue Jul 12 2022 15:21:10 by
