Skip to content

Component Overview

The SLC component description file (.slcc) describes a collection of source files and other data that makes up a discrete piece of software, such as a peripheral driver, a wireless stack, or a crypto library. Components can be associated with an SDK or an SDK extension. In both cases, the parent directory of the component file must be added to the search path in the respective .slcs/.slce file for the component to be discovered by the dependency solver.

The id of a component must be unique within a SDK or SDK extension.

All paths to files referenced within a component file are relative to their parent SDK/extension top-level directory. Components may make use of the root_path property to set a common prefix for all other paths in the file.

Components may depend on other components using the feature string concept. Components may provide, require and conflict with features.

Components may use configuration headers to expose configurable settings to the user, and template files to produce project-specific output based on their own state and the state of other components.

Back to top