UNPKG

jlink-mcp

Version:

MCP server for SEGGER J-Link debug probes — LLM-driven embedded debugging with RTT, GDB server, and Trice/Pigweed support

51 lines 1.68 kB
export interface JLinkConfig { /** Path to SEGGER J-Link installation directory */ installDir: string; /** Target device name (e.g., "NRF52840_XXAA", "STM32F407VG") */ device: string; /** Interface: SWD or JTAG */ interface: "SWD" | "JTAG"; /** Connection speed in kHz */ speed: number; /** Serial number of J-Link (optional, for multi-probe setups) */ serialNumber?: string; /** GDB server port */ gdbPort: number; /** RTT telnet port */ rttTelnetPort: number; /** SWO telnet port */ swoTelnetPort: number; } export interface TelnetProxyConfig { /** Port for the telnet proxy (for Trice/Pigweed) */ listenPort: number; /** Source port to proxy from (usually RTT telnet port) */ sourcePort: number; /** Source host */ sourceHost: string; } export interface TriceConfig { /** Path to trice binary */ binaryPath: string; /** Path to til.json (Trice ID List) */ idListPath: string; /** Encoding format */ encoding: string; } export interface PigweedConfig { /** Path to detokenizer database (.csv or .elf) */ tokenDatabase: string; /** Path to Python or pw command */ pythonPath: string; } export interface ExtensionConfig { jlink: JLinkConfig; telnetProxy: TelnetProxyConfig; trice: TriceConfig; pigweed: PigweedConfig; } export declare function getConfig(): ExtensionConfig; export declare function getJLinkExePath(config: JLinkConfig): string; export declare function getJLinkGDBServerPath(config: JLinkConfig): string; export declare function getJLinkRTTClientPath(config: JLinkConfig): string; //# sourceMappingURL=config.d.ts.map