Skip to content
Martin Kojtal edited this page Dec 11, 2015 · 14 revisions

Each tool has specific settings. This section describes what options are available per tool. The value for each attribute depends on the tool definition.

An option which supports multiple options should be defined as:

Misccontrols:
- debug
-g

Most of the tools support templates or misc options.

Template is a project file which gets parsed and used for generating a project.

Misc options mis there are various tool specific options (in many cases there's standard way - c/cxx/asm/ld flags). So besides those flags, a tool can provide specific options like setting localhost address and similar. Look at the tool what options it provides.

An example of misc options for IAR:

iar:
    misc:
        c_flags:
        - --dlib_config
        - --dlib_config
        cxx_flags:
        - --cxx_flags_test
        - --cxx_flags_test
        ld_flags:
        - --misrac2004
        - --misrac2004
        asm_flags:
        - --asm_flags_test
        - --asm_flags_test
### uVision attributes

uVision supports templates and also misc options (they can be combined).

Misc options means there are c/cxx/asm/ld flags which uvision supports. Look at armcc/armlink/armasm flags which are supported. For instance, cxx_flag is --cpp11, which enables c++11.

### IAR attributes

IAR supports templates and misc options (they can be combined).

Misc options means there are c/cxx/asm/ld flags which IAR supports. Look at IAR devel guide which lists all available flags.

### CoIDE attributes

Not needed, they are taken from the project template.

This tool does not provide any misc options, as it can't be invoked via command line like other tools.

### Makefile attributes

As we are using custom makefile, there's no template support.

Misc options are supported. It can be c/cxx/asm/ld flags, common_flags, standard_libraries..

### Eclipse Makefile GNU ARM attributes

As Eclipse project is based on Makefile, the attributes are the same as for Makefile.

### CMake attributes

As we are using custom cmake, there's no template support.

Misc options are supported. It can be c/cxx/asm/ld flags, common_flags, standard_libraries.