Skip to content

Commit a2a0690

Browse files
committed
Update debug configs
1 parent 75ccf79 commit a2a0690

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

Diff for: tools/ide-debug/esp32.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"demangle":true,
66
"postAttachCommands":[
77
"set remote hardware-watchpoint-limit 2",
8+
"monitor reset halt",
9+
"thb setup"
10+
],
11+
"overrideRestartCommands":[
812
"monitor reset halt",
913
"flushregs",
10-
"thb setup",
1114
"c"
1215
]
1316
}

Diff for: tools/ide-debug/esp32c3.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"toolchainPrefix":"riscv32-esp-elf",
44
"request":"attach",
55
"demangle":true,
6-
"postAttachCommands":[
7-
"set remote hardware-watchpoint-limit 8"
8-
]
6+
"overrideAttachCommands":[
7+
"set remote hardware-watchpoint-limit 8",
8+
"monitor reset",
9+
"monitor halt"
10+
],
11+
"overrideRestartCommands":[]
912
}

Diff for: tools/ide-debug/esp32s2.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
"demangle":true,
66
"postAttachCommands":[
77
"set remote hardware-watchpoint-limit 2",
8+
"monitor reset halt",
9+
"thb setup"
10+
],
11+
"overrideRestartCommands":[
812
"monitor reset halt",
913
"flushregs",
10-
"thb setup",
1114
"c"
1215
]
1316
}

Diff for: tools/ide-debug/esp32s3.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"toolchainPrefix":"xtensa-esp32s3-elf",
44
"request":"attach",
55
"demangle":true,
6-
"postAttachCommands":[
7-
"set remote hardware-watchpoint-limit 2"
8-
]
6+
"overrideAttachCommands":[
7+
"set remote hardware-watchpoint-limit 2",
8+
"monitor reset halt",
9+
"thb setup"
10+
],
11+
"overrideRestartCommands":[]
912
}

0 commit comments

Comments
 (0)