2.5 Component includes section

The includes section is a dedicated place for #include preprocessor statements.

The declarations that result from the #include statements are visible in the bodies of the component behaviors. However, the #include statements are not expanded into the LISA+ code itself. This means that #defines coming from the #include statements are not visible in the LISA+ code and the included header files must not contain any LISA+ code.

Declarations in the includes sections can be made visible globally to other components. ARM recommends using unique names in the includes section that do not conflict with other component declarations, for example in shared component header files.

Non-ConfidentialPDF file icon PDF version101092_0100_04_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.