This directory contains minimal sample configuration files for attaching VS Code's cortex-debug extension to the ArduinoNRF USB CDC GDB stub bridge.
launch.json- attachesarm-none-eabi-gdbtolocalhost:3335and expects an ELF atbuild/Debug/sketch.ino.elf.tasks.json- startsusb_gdbstub_bridge.ps1forpromicro_nrf52840on TCP port3335and waits until the bridge is ready for a GDB client.
- The board is running a
usbgdbstubbuild such asexamples/UsbGdbStubBreakpoint. - The service / maintenance CDC is the port used for the bridge.
- The example is ProMicro-oriented; adjust
-Board, ELF path, or TCP port as needed for your workspace.
For the end-to-end Arduino IDE 2 flow and bridge behavior, see ../../platform/ARDUINO_IDE2_USB_GDBSTUB.md.