nsx rtt
Capture RTT channel 0 from a running app (no flash/reset)
Usage
nsx rtt [-h] [--app-dir APP_DIR] [--board BOARD] [--build-dir BUILD_DIR] [--target TARGET] [--discover-probe | --probe-serial PROBE_SERIAL] [--duration DURATION] [--startup-timeout STARTUP_TIMEOUT] [--file CAPTURE] [--print-settings] [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 | Override board from nsx.yml |
--build-dir BUILD_DIR | value | optional | Configured build directory |
--target TARGET | value | optional | Executable CMake target (default: app name) |
--discover-probe | flag | optional | Ignore configured preference and require exactly one local USB probe. Cannot be combined with --probe-serial. |
--probe-serial PROBE_SERIAL | value | optional | SEGGER J-Link USB serial number. Cannot be combined with --discover-probe. |
--duration DURATION | value | 10.0 | Capture seconds after channel readiness (default: 10) |
--startup-timeout STARTUP_TIMEOUT | value | 10.0 | Seconds to connect and discover channel 0 (default: 10) |
--file, --capture CAPTURE | value | optional | Create a new binary capture file; existing files are refused |
--print-settings | flag | optional | Print resolved settings as JSON without accessing probes |
--version, -v/--verbose, -q/--quiet are parsed by nsx itself, so they go before the command
name, as nsx -v rtt.