Skip to content

Code Generation

Always Generate Signals

Always update the signals enumeration before generating code?

Default: No

Clang-Format Style Options

Options used by Embedded Engineer and Clang Format to format the output code.

(Currently supported Clang Format Style version: 15.0.2)


ColumnLimit: 120,
BasedOnStyle: LLVM,
BreakBeforeBraces: Allman,
IndentWidth: 4,
UseTab: Never,
AccessModifierOffset: -4,
PointerAlignment: Left,
AllowShortFunctionsOnASingleLine: None,
AlignConsecutiveAssignments: false,
AlignTrailingComments: false,
BinPackParameters: false,
PenaltyReturnTypeOnItsOwnLine: 1000,
SortIncludes: false,
AlignAfterOpenBracket: Align

sub properties

You can set sub properties like in BraceWrapping by simply adding a new { } block:


ColumnLimit: 120,
BreakBeforeBraces: Custom,
BraceWrapping: { AfterEnum: true, AfterStruct: false, SplitEmptyFunction: false }

Generate includes in .c file

Generates includes in .c instead of .h file

Default: No

Sync User Code

Perform the User Code Synchronization and the comments required for this feature?

Default: Yes

Use strict data typing

Checks if the types are correctly defined. See Types and Typing for further information.

Default: Yes

Only generate explicit includes

Only generates includes that are explicitly defined via the "Usage" connector.

Default: No