compiler_flags - ChairImpSec/PROLEAD GitHub Wiki

Type

String

Default

None - Compilation is deactivated by default.

Description

To use PROLEAD_SW's internal compiler, you can specify the compiler flags for compilation here. If you're compiling your source code externally, you can leave this field empty. If you encounter linker errors during compilation we recommend addding the compiler flag --specs=nosys.specs.

Impact

If you provide your design as a binary, PROLEAD_SW will start the evaluation directly. If you use the internal compiler, PROLEAD_SW will first compile your design before starting the evaluation. The difference in runtime is solely due to the compilation process.

Examples

"software": {
    "compiler_flags": "-march=armv7-m -O3"
}

In this example, we enable the compiler to perform optimizations at the O3 level, allowing for maximum optimization.