Skip to content

SDK Extension (.slce)

The .slce file sits at the root of an SDK extension. It behaves similarly to the .slcs file in an SDK, and contains a list of paths to search for components.

SDK extensions can reside in the following locations:

  • Within the extension subdirectory of an SDK.
  • Within the extension subdirectory of a project.
  • In a sibling directory of an SDK. In this case, the directory must have the _extension suffix.

No matter whether an SDK extension resides with an SDK or a project, it must extend a specific SDK. The ID of this SDK must match the SDK used for project generation, but the version number is allowed to differ to allow extensions to be updated asynchronously from SDKs. See sdk for more details.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
workspace
  gecko_sdk
    gecko_sdk.slcs
    extension         # Extensions within an SDK
      foo
        foo.slce
      bar
        bar.slce
  baz_extension       # Extension next to an SDK
    baz.slce
  project
    project.slcp
    extension         # Extensions within a project
      quux
        quux.slce
Back to top