hil: give lpcxpresso55s28 an OpenOCD debugger entry for agentrc's debug scripts
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 66a210e..ec8dbe4 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py
@@ -213,6 +213,7 @@ logger: NotRequired[str] # "rtt": console = the debug probe's RTT channel 0, not a VCOM (rtt skill) toolchain: NotRequired[str] # CI build bucket override, e.g. "riscv-gcc" (consumed by hil_ci_set_matrix.py) uart_uid: NotRequired[str] # console bridge serial when the flasher probe has no CDC (e.g. J-Trace) + debugger: NotRequired[FlasherCfg] # probe entry for agentrc's debug scripts (rtt, target-debug), not read here class HilConfig(TypedDict):
diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json index a1c6cbd..e77c37e 100644 --- a/test/hil/tinyusb.json +++ b/test/hil/tinyusb.json
@@ -280,6 +280,12 @@ "uid": "GSA0CQEQ", "vid_pid": "0x1fc9 0x0090", "args": "-t lpc55s28" + }, + "debugger": { + "name": "openocd", + "uid": "GSA0CQEQ", + "vid_pid": "0x1fc9 0x0090", + "args": "-f interface/cmsis-dap.cfg -c \"transport select swd\" -c \"adapter speed 1000\" -c \"swd newdap lpc55s28 cpu -expected-id 0x6ba02477\" -c \"dap create lpc55s28.dap -chain-position lpc55s28.cpu\" -c \"target create lpc55s28.cpu cortex_m -dap lpc55s28.dap -ap-num 0\"" } }, {