Skip to content
neuralSPOT-X
API reference
HELIA HUB

nsx-module.yaml

Module metadata. Declares what a module is, what it builds, what it needs and what it is compatible with.

nsx-module.yaml fields
FieldTypeMeaning
schema_versionint (1), requiredModule metadata schema version.
module.namestring, requiredModule name. Must match the name used in the registry and in nsx.yml.
module.typestring (sdk_provider, soc, board, runtime, portable_api, algorithm, tooling, backend_specific), requiredWhat kind of module this is. Drives resolution order and compatibility rules.
module.versionstring, requiredModule version string.
module.categorystringGrouping used by the module catalog.
module.providerstringOrganization or project that supplies the module.
support.ambiqsuitebool (true), requiredWhether the module builds against AmbiqSuite. NSX requires true.
support.zephyrbool, requiredWhether the module ships a Zephyr integration. When true, integrations.zephyr becomes required.
build.cmake.packagestring, requiredCMake package name the module exports.
build.cmake.targetslist of string, requiredCMake targets the module exports. Must be non-empty.
depends.requiredlist of string, requiredModules that must be present. May be empty.
depends.optionallist of string, requiredModules used when present. May be empty.
compatibility.boardslist of string, requiredBoards the module supports. Must be non-empty.
compatibility.socslist of string, requiredSoCs the module supports. Must be non-empty.
compatibility.toolchainslist of string, requiredToolchains the module supports. Must be non-empty.
integrations.zephyr.pathstring, required when support.zephyr is trueZephyr module directory. Required when support.zephyr is true.
integrations.zephyr.module_ymlstring, required when support.zephyr is truePath to the Zephyr module.yml. Required when support.zephyr is true.
integrations.zephyr.kconfigstring, required when support.zephyr is truePath to the module's Kconfig. Required when support.zephyr is true.
constraints.required_sdk_providerstringSDK provider module this module must be built against.
summarystringOne-line description shown in the module catalog.
capabilitieslist of stringWhat the module provides, for search and agent discovery.
use_caseslist of stringSituations the module suits.
anti_use_caseslist of stringSituations the module does not suit.
agent_keywordslist of stringExtra search terms for agent tooling.
example_refslist of stringExamples that use the module.
composition_hintslist of stringModules this one is usually combined with.
schema_version: 1
module:
name: nsx-board-apollo510-evb
type: board
version: "0.1.0"
support:
ambiqsuite: true
zephyr: false
build:
cmake:
package: nsx_board_apollo510_evb
targets:
- nsx::board_apollo510_evb
depends:
required:
- nsx-ambiq-hal
optional: []
compatibility:
boards:
- apollo510_evb
socs:
- apollo510
toolchains:
- arm-none-eabi-gcc

NSX reads nsx-module.yaml through neuralspotx.metadata.validate_nsx_module_metadata, which raises ValueError when the document is invalid. The supported schema_version is 1.

Unknown keys: Kept. The validator checks the keys it knows and ignores the rest.