Install on Windows¶
Platform tools for NSX on Windows, using
winget and the
official Arm and SEGGER installers. These are steps 1–3 of
Install and Setup — when you're done, return there to install
the CLI and run nsx doctor.
Use a modern terminal
Run NSX from PowerShell or Windows Terminal.
1. System Prerequisites¶
NSX generates CMake projects that cross-compile for Arm Cortex-M targets. Install these host tools first:
| Tool | Version | Purpose |
|---|---|---|
| Python | 3.10+ | Runs the NSX CLI and module resolver |
| uv | latest | Fast Python dependency management |
| CMake | 3.24+ | Build-system generator |
| Ninja | any | Parallel build backend |
| Git | any | Fetches module sources from their upstream repos |
2. Compiler Toolchain¶
GCC (the Arm GNU Toolchain) is the default and builds every example. You only need one toolchain to get started.
Download and run the official Arm GNU Toolchain Windows installer from the Arm GNU Toolchain downloads page. Check "Add path to environment variable" at the end of the installer.
Verify the compiler is reachable (open a new terminal first so the updated
PATH is picked up):
Optional Toolchains¶
GCC is all most users need. NSX also supports two alternates — select either
with --toolchain armclang or --toolchain atfe on any build command.
Arm Compiler for Embedded (armclang) — 6.22+
A licensed commercial compiler (Arm Compiler 6). Install it from Arm,
ensure armclang is on your PATH, and NSX detects it automatically. No
environment variable is required.
Arm Toolchain for Embedded (ATfE) — experimental, 22.1+
ATfE is Arm's free LLVM-based bare-metal toolchain (clang + lld + picolibc with a newlib overlay).
- Download the Windows build from the Arm Toolchain for Embedded releases.
- Extract it to a stable location, e.g.
C:\ATfE-22.1.0. - Also extract the matching
ATfE-newlib-overlayon top of that same directory — NSX (andnsx doctor) require the bundlednewlib.cfg. - Point
ATFE_ROOTat the install directory (ATfE does not need to be onPATH— NSX invokes its binaries by absolute path):
See Toolchain Support for build-flag and linker details.
3. Debug Probe (Optional)¶
A SEGGER J-Link is required to flash firmware (nsx flash) and stream live
SWO output (nsx view). The Apollo510 EVB includes an onboard J-Link.
Download and run the J-Link Software and Documentation Pack installer from SEGGER.
Next Steps¶
Platform tools are in place — return to
Install and Setup to install the nsx CLI
and verify with nsx doctor.