Skip to content

include

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

List of paths and the files contained within that shall be referenced as include paths in the exported IDE project.

Key Required Type Description
path Yes Include path
file_list No List of include files Exhaustive list of header files within the include path
condition No List of features The include path is added if all the given features are present
unless No List of features The include path is added unless any of the given features are present

The full list of header files on the include path are listed under the file_list key in order to make it possible to copy the correct content to the user project when generating with the copy flag set. It also makes it possible to separate public from internal header files when packaging a SDK for release.

Each header file is represented by the following data:

Key Required Type Description
path Yes Include path Path to the header file
condition No List of features The header file is added if all the given features are present
unless No List of features The header file is added unless any of the given features are present
1
2
3
4
5
include:
  - path: platform/emlib/inc
    file_list:
      - path: em_usart.h
        condition: device_has_usart
Back to top