Install on macOS
The macOS commands live on the main Install page, in the macOS tab of each step. Everything there uses Homebrew and works on Apple silicon and Intel.
In short:
brew install python uv cmake ninja gitbrew install --cask gcc-arm-embeddedbrew install --cask segger-jlinkuv tool install neuralspotxnsx doctorOptional toolchains
Section titled “Optional toolchains”GCC builds every packaged example. Both alternates below are optional, and nsx doctor
reports them only when it finds them.
Arm Compiler for Embedded (armclang)
Section titled “Arm Compiler for Embedded (armclang)”A licensed commercial compiler. Install it from Arm, make sure armclang is on your
PATH, and NSX picks it up. No environment variable is needed. Select it per command with
--toolchain armclang.
Arm Toolchain for Embedded (ATfE)
Section titled “Arm Toolchain for Embedded (ATfE)”ATfE is Arm’s LLVM based bare-metal toolchain (clang, lld and picolibc with a newlib overlay). NSX treats it as experimental.
-
Download the macOS build from the Arm Toolchain for Embedded releases.
-
Extract it somewhere stable, for example
/Applications/ATFEToolchain/ATfE-22.1.0. -
Extract the matching
ATfE-newlib-overlayon top of that same directory. NSX andnsx doctorboth need the bundlednewlib.cfg. -
Point
ATFE_ROOTat the install directory. ATfE does not need to be onPATH, because NSX invokes its binaries by absolute path.Terminal window export ATFE_ROOT="/Applications/ATFEToolchain/ATfE-22.1.0" # add to ~/.zshrc
Select it per command with --toolchain atfe.
Check your environment with nsx doctor.