# Getting started

heliaDSP is distributed and built as source. Every integration path builds the same two CMake targets from the same tree: `CMSISDSP`, which is Arm's CMSIS-DSP library compiled from the qualified CMSIS-DSP commit of Ambiq's upstream-tracking fork, and `helia_dsp` (alias `nsx::helia_dsp`), which links `CMSISDSP` and will carry heliaDSP's own operations. An application links `helia_dsp`, includes `arm_math.h`, and calls `arm_*` functions as it would with CMSIS-DSP.

## Choose a path

Choose the path that already resolves dependencies in your firmware build.

| Your project | Path | What you do |
| --- | --- | --- |
| A CMake firmware or host build that you own | [Direct CMake](https://ambiqai.github.io/helia-dsp/getting-started/cmake/) | Check out heliaDSP with its submodule, `add_subdirectory()` it, link `helia_dsp`. |
| An NSX application | [neuralSPOT-X](https://ambiqai.github.io/helia-dsp/getting-started/neuralspot-x/) | Add the `helia-dsp` module and link `nsx::helia_dsp`; NSX supplies the board's compiler flags. |
| A Zephyr application | [Zephyr](https://ambiqai.github.io/helia-dsp/getting-started/zephyr/) | Register heliaDSP and its copy of the qualified CMSIS-DSP commit as two Zephyr modules and enable `CONFIG_CMSIS_DSP` and `CONFIG_HELIA_DSP`. |
| Function-level experiments on a PC | [Python](https://ambiqai.github.io/helia-dsp/getting-started/python/) | Build Arm's `cmsisdsp` package from the submodule and `heliadsp` from `helia/python`. They model what a function computes, not its speed or a particular Helium kernel. |

All three firmware paths check at configure time that the CMSIS-DSP source is the qualified CMSIS-DSP commit, and stop with a message if it is not.

## What to download

A Git checkout needs the submodule:

```sh
git clone --recurse-submodules https://github.com/AmbiqAI/helia-dsp
```

Each release also attaches `helia-dsp-v<version>.tar.gz`, which contains this repository and the files of the qualified CMSIS-DSP commit and builds without Git or network access. The source archives GitHub generates automatically for a tag omit the submodule and do not build.

## Requirements

- CMake 3.20 or later and a C compiler. The examples in these pages were run with CMake 4.4.2 and, for host builds, GCC 15.2.0 on Linux x86-64.
- For Cortex-M builds outside NSX: the CMSIS-Core headers. Qualification uses [CMSIS_6](https://github.com/ARM-software/CMSIS_6) v6.2.0.
- For Helium builds (Apollo510 and other Cortex-M55 parts): a compiler from the policy in [Toolchains](https://ambiqai.github.io/helia-dsp/guide/toolchains/). ATfE 22.1.0 is the compiler heliaDSP qualifies and recommends for Helium builds.

## Next

- [Direct CMake](https://ambiqai.github.io/helia-dsp/getting-started/cmake/): includes a host example that builds and runs.
- [Contracts](https://ambiqai.github.io/helia-dsp/guide/contracts/): what changes for the caller in a Helium build.
