probe-web / @probe-web/dap / ProbeLaunchArguments
Interface: ProbeLaunchArguments
Defined in: adapter.ts:23
Arguments of launch / attach (custom fields of this adapter).
Extends
LaunchRequestArguments
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
transport? | "websocket" | "webusb" | websocket (default): probe-rs serve at url. webusb: probe-rs in a Worker in this page, over WebUSB (the probe must already be granted to the page; no disassembly). | adapter.ts:28 |
url? | string | probe-rs serve WebSocket URL; required for the websocket transport. | adapter.ts:30 |
token? | string | Token probe-rs serve was started with. | adapter.ts:32 |
probe? | string | Probe to use: substring of its identifier or serial number (first probe if omitted). | adapter.ts:34 |
chip? | string | Target chip name as probe-rs knows it, e.g. MCXA153. | adapter.ts:36 |
protocol? | "Jtag" | "Swd" | Debug wire protocol (default Swd). | adapter.ts:38 |
program? | string | Uint8Array<ArrayBufferLike> | Firmware ELF: bytes, or a URL to fetch. Loaded for debug info; flashed on launch unless flash is false. | adapter.ts:40 |
flash? | boolean | Set to false to launch without flashing program (default true). | adapter.ts:42 |
format? | "target" | "elf" | "bin" | "hex" | "uf2" | "idf" | Image format for flashing: target (default) uses the chip's own default, e.g. idf on ESP32 chips, elf on most others. | adapter.ts:44 |
svd? | string | Uint8Array<ArrayBufferLike> | CMSIS-SVD for the Peripherals scope: bytes or URL. | adapter.ts:46 |
rtt? | boolean | Show RTT output as DAP output events (default true when the program links RTT). | adapter.ts:48 |
rttChannels? | { channelNumber?: number; dataFormat?: "String" | "BinaryLE" | "Defmt"; }[] | Per-channel RTT configuration (channelNumber, dataFormat), as probe-rs's own launch.json has. Channels default to String, so a firmware writing samples to one has to say so — otherwise its bytes are decoded as text and land in the console as noise. | adapter.ts:55 |
stopOnEntry? | boolean | Stop at the reset vector after launch instead of running. | adapter.ts:57 |