Skip to content

Instantly share code, notes, and snippets.

@ajsb85
Created January 5, 2023 09:55
Show Gist options
  • Save ajsb85/387e10bdc3075d3ba50b2157ab06822f to your computer and use it in GitHub Desktop.
Save ajsb85/387e10bdc3075d3ba50b2157ab06822f to your computer and use it in GitHub Desktop.
ESP32-C3: Built-In USB JTAG
{
"version": "0.2.0",
"configurations": [
{
"cwd": "${workspaceRoot}",
"name": "Arduino on ESP32-C3",
"request": "attach",
"type": "cortex-debug",
"executable": "C:\\Users\\ajsb85\\AppData\\Local\\Temp\\arduino-sketch-24D205A16753448794B9DE06E581D6E3/MAX14521E_Example1_Blink.ino.elf",
"servertype": "openocd",
"serverpath": "C:\\Users\\ajsb85\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\openocd-esp32\\v0.11.0-esp32-20220706/bin/openocd",
"armToolchainPath": "C:\\Users\\ajsb85\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\riscv32-esp-elf-gcc\\gcc8_4_0-esp-2021r2-patch5/bin/",
"configFiles": [
"debug.cfg"
],
"toolchainPrefix": "riscv32-esp-elf",
"svdFile": "esp32c3.svd",
"serverArgs": [
"-d3"
],
"overrideAttachCommands": [
"set remote hardware-watchpoint-limit 8",
"monitor reset",
"monitor halt",
"monitor gdb_sync",
"thb setup"
],
"overrideRestartCommands": [
"monitor reset",
"monitor halt",
"monitor gdb_sync",
"thb setup"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment