Skip to content

define

Required: No
Type: List of defines
Condition: Yes

Preprocessor macro passed to the compiler and assembler via the command line.

Key Required Type Description
name Yes String Name of the macro
value No String Value of the macro. If not set, the macro will be empty
condition No List of features The macro is added if all the given features are present
unless No List of features The macro is added unless any of the given features are present
1
2
3
4
define:
  - name: EFR32MG21A010F1024IM32
  - name: HAS_FOO
    value: "1"
Back to top