Skip to content

source

Required: No
Type: List of source files
Condition: Yes

List of files that shall be referenced as source files in the exported IDE project.

Key Required Type Description
path Yes Path to source file
condition No List of features The source file is added if all the given features are present
unless No List of features The source file is added unless any of the given features are present
folder (deprecated) No String Override the visual directory structure in IDE tree views. When set, the source file is shown under this path rather than the real path on disk. Does not change the location of the file on disk.
1
2
3
4
source:
  - path: em_usart.c
    condition:
      - device_has_usart
Back to top