Skip to main content

neuralspotx

CI Docs Release

neuralspotx is the NSX tooling repo.

NSX is a lightweight bare-metal workflow for Ambiq targets. It provides:

  • the nsx CLI
  • packaged app templates
  • packaged CMake helpers
  • built-in board definitions
  • curated metadata for module and SDK selection

The primary audience is app developers creating small, focused NSX applications for bring-up, profiling, validation, and simple demos.

NSX is also the build-and-deploy vehicle for Ambiq's Helia AI stack:

  • heliaRT — optimized LiteRT (TFLite Micro) runtime, shipped as an NSX module
  • heliaAOT — ahead-of-time compiler that generates NSX modules from .tflite models
  • heliaPROFILER — on-device model profiler built on NSX

Documentation

The documentation site is https://ambiqai.github.io/neuralspotx/: getting started, guides, the module catalog, and a CLI, Python API and configuration reference generated from the source. Agents can read llms.txt or any route's .md rendition instead.

The site itself is an Astro project in astro-site/, published from main by .github/workflows/docs.yml. To work on it:

cd <nsx-repo>
uv sync --group docs          # the reference is generated from the package
npm --prefix astro-site ci
npm --prefix astro-site run dev
npm --prefix astro-site run validate

Maintainer material that is not published lives in docs/maintainers/: release mechanics, repo layout, board and module coverage, design decisions, and how the docs site is built.

Quick Start

NSX uses an app-first flow. Each app is a self-contained project directory with vendored modules, board definitions, and build helpers.

For app users, the cleanest install path is uv, which nsx doctor already requires:

uv tool install neuralspotx
nsx doctor
nsx create-app blinky_ap510 --board apollo510_evb --template blinky

uvx --from neuralspotx nsx doctor runs a single command without installing anything. pipx install neuralspotx works too if you already manage your CLI tools that way.

For contributors working from a source checkout:

cd <nsx-repo>
uv sync
source .venv/bin/activate
uv tool install pre-commit
pre-commit install
nsx doctor
nsx create-app blinky_ap510 --board apollo510_evb --template blinky

pre-commit install sets up the lint and pre-push hooks that CI also runs. See CONTRIBUTING.md for what runs at each stage.

Build the app:

nsx configure --app-dir blinky_ap510
nsx build --app-dir blinky_ap510

After flashing with nsx flash --app-dir blinky_ap510, the first BSP LED blinks every half second. No SWO viewer is needed. Omit --template blinky to create the existing SWO hello-world app instead.

Repo Scope

This repo owns:

  • src/neuralspotx
  • packaged templates
  • packaged board definitions
  • CMake helper assets used by generated apps

Built-in firmware modules are described by the packaged registry and fetched from their default upstream repos as needed. Normal app users create standalone app directories and let NSX manage module resolution, vendoring, configuration, build, flash, and view flows.

For RTT-enabled firmware, nsx rtt --duration 10 --file capture.bin captures channel 0 using the ELF control-block address. Install neuralspotx[rtt] and SEGGER J-Link Software; pipx users can run pipx inject neuralspotx pylink-square. See the RTT capture guide.

Fully prepared apps can also build with standard CMake commands without installing NSX. See Build without installing NSX for preparation, relocation, and offline-sharing requirements.

App debug commands (flash, view, app-aware reset, and rtt) require the configured debug handoff. Explicit probe serials are temporary; --discover-probe ignores a configured preference. Existing apps must adopt the input contract and update helpers explicitly.

Metadata

Release files for neuralspotx 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neuralspotx 1.0.1
File Size Uploaded Provenance Actions
neuralspotx-1.0.1.tar.gz 489.3 kB With provenance Details for neuralspotx-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neuralspotx 1.0.1
File Interpreter ABI Platform Actions
neuralspotx-1.0.1-py3-none-any.whl Python 3 none any Details for neuralspotx-1.0.1-py3-none-any.whl

Total release size: 936.4 kB

Release files / neuralspotx-1.0.1.tar.gz

Download URL neuralspotx-1.0.1.tar.gz
Size 489.3 kB
Tags Source
SHA-256 checksum
How to use checksums
327b84f48491417e662ba2a88aea3d903897c36f7a74a0ebd3d237cdf3c8b87b
BLAKE2b-256 checksum
How to use checksums
3b7eaaa64ffdebc37ddb627083a11291e06ed0b2d67410408dc01669324772e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / neuralspotx-1.0.1-py3-none-any.whl

Download URL neuralspotx-1.0.1-py3-none-any.whl
Size 447.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
858fd45c218b6e8e7cbd2c018a0ee1ba48a17e2e7fb1b908abe42dfe254ca850
BLAKE2b-256 checksum
How to use checksums
b1a46155f9263d9bb83c9262ac11c3d46707c6c3bfc9bce4fdfce23f1a5b4fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for neuralspotx 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for neuralspotx-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page