Skip to content
neuralSPOT-X
API reference
HELIA HUB

nsx create-app

Create a new standalone NSX app project

nsx create-app [-h] [--board BOARD] [--soc SOC] [--force]
[--no-bootstrap] [--template {default,npu-tflm}]
app_dir
Positional arguments
OptionValueDefaultDescription
app_dirvaluerequiredApp directory to create
Options for nsx create-app
OptionValueDefaultDescription
--board BOARDvalueapollo510_evbTarget board package suffix
--soc SOCvalueoptionalTarget SoC package suffix (default inferred from board)
--forceflagoptionalAllow writing into a non-empty app directory
--no-bootstrapflagoptionalCreate the app without initializing starter modules
--template TEMPLATEdefault | npu-tflmdefaultApp template (default: Minimal hello-world app (SWO printf loop); npu-tflm: TFLite Micro inference on the Ethos-U85 NPU (Vela model harness, heliaRT ethos-u dispatch))

--soc is normally inferred from --board. By default NSX bootstraps the starter module set for the selected board; --no-bootstrap creates the app shell without vendoring any starter modules.

The --template choices scaffold different apps:

  • default is a minimal hello-world app built around an SWO printf loop.
  • npu-tflm runs TFLite Micro inference on the Ethos-U85 NPU with a Vela model harness and heliaRT ethos-u dispatch. It seeds nsx-helia-rt and nsx-npu as direct dependencies and only accepts NPU boards (SoC atomiq110).

A template that targets specific SoCs is refused for other boards before any files are written or modules fetched. Use --template default or an NPU board.

Terminal window
nsx create-app hello_ap510 --board apollo510_evb
nsx create-app npu_demo --board atomiq110_fpga_turbo --template npu-tflm

-v/--verbose, -q/--quiet are parsed by nsx itself, so they go before the command name, as nsx -v create-app.