# nsx run

Run a built Corstone ELF on the Arm FVP

## Usage

```text
nsx run [-h] [--app-dir APP_DIR] [--board BOARD]
               [--build-dir BUILD_DIR] [--elf ELF] [--fvp FVP]
               [--timeout TIMEOUT]
               [app]
```

## Arguments

| Option | Value | Default | Description |
| --- | --- | --- | --- |
| app | value | optional | App name or directory (overrides --app-dir; resolved under ./ and ./examples) |

## Options

| Option | Value | Default | Description |
| --- | --- | --- | --- |
| --app-dir APP_DIR | value | . | App directory containing nsx.yml |
| --board BOARD | value | optional | Select the execution board from nsx.yml |
| --build-dir BUILD_DIR | value | optional | Configured build directory |
| --elf ELF | value | optional | ELF inside the build directory (default: app name) |
| --fvp FVP | value | optional | Path to the Arm model executable (default: search PATH) |
| --timeout TIMEOUT | value | 30.0 | Model execution limit in seconds (default: 30) |

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