Skip to content

Commit c44d174

Browse files
update openOCD fallback boards definition (#1695)
1 parent 2169c28 commit c44d174

File tree

1 file changed

+251
-35
lines changed

1 file changed

+251
-35
lines changed

src/espIdf/openOcd/defaultBoards.ts

Lines changed: 251 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -20,87 +20,303 @@ import { IdfBoard } from "./boardConfiguration";
2020

2121
export const defaultBoards = [
2222
{
23-
name: "ESP32 module",
24-
description: "ESP32 used with ESP-PROG board",
23+
name: "ESP-WROVER-KIT 3.3V",
24+
description: "ESP-WROVER-KIT with 3.3V ESP32-WROVER-B module",
2525
target: "esp32",
26-
configFiles: ["interface/ftdi/esp32_devkitj_v1.cfg", "target/esp32.cfg"],
26+
configFiles: ["board/esp32-wrover-kit-3.3v.cfg"],
27+
} as IdfBoard,
28+
{
29+
name: "ESP-WROVER-KIT 1.8V",
30+
description: "ESP-WROVER-KIT with 1.8V ESP32-WROVER-B module",
31+
target: "esp32",
32+
configFiles: ["board/esp32-wrover-kit-1.8v.cfg"],
33+
} as IdfBoard,
34+
{
35+
name: "ESP32-ETHERNET-KIT",
36+
description: "ESP32-ETHERNET-KIT with ESP32-WROVER-E module",
37+
target: "esp32",
38+
configFiles: ["board/esp32-ethernet-kit-3.3v.cfg"],
39+
} as IdfBoard,
40+
{
41+
name: "ESP32 chip (via ESP-PROG)",
42+
description: "ESP32 debugging via ESP-PROG board",
43+
target: "esp32",
44+
configFiles: [
45+
"interface/ftdi/esp_ftdi.cfg",
46+
"target/esp32.cfg"
47+
],
48+
} as IdfBoard,
49+
{
50+
name: "ESP32 chip (via ESP-PROG-2)",
51+
description: "ESP32 debugging via ESP-PROG-2 board",
52+
target: "esp32",
53+
configFiles: [
54+
"board/esp32-bridge.cfg"
55+
],
56+
} as IdfBoard,
57+
{
58+
name: "ESP32-SOLO-1 module (via ESP-PROG)",
59+
description: "ESP32-SOLO-1 debugging via ESP-PROG board",
60+
target: "esp32",
61+
configFiles: [
62+
"interface/ftdi/esp_ftdi.cfg",
63+
"target/esp32-solo-1.cfg"
64+
],
65+
} as IdfBoard,
66+
{
67+
name: "ESP32-S2-KALUGA-1",
68+
description: "ESP32-S2-KALUGA-1 kit",
69+
target: "esp32s2",
70+
configFiles: ["board/esp32s2-kaluga-1.cfg"],
71+
} as IdfBoard,
72+
{
73+
name: "ESP32-S2 chip (via ESP-PROG)",
74+
description: "ESP32-S2 debugging via ESP-PROG board",
75+
target: "esp32s2",
76+
configFiles: [
77+
"interface/ftdi/esp_ftdi.cfg",
78+
"target/esp32s2.cfg"
79+
],
80+
} as IdfBoard,
81+
{
82+
name: "ESP32-S2 chip (via ESP-PROG-2)",
83+
description: "ESP32-S2 debugging via ESP-PROG-2 board",
84+
target: "esp32s2",
85+
configFiles: [
86+
"board/esp32s2-bridge.cfg"
87+
],
88+
} as IdfBoard,
89+
{
90+
name: "ESP32-S3 chip (via builtin USB-JTAG)",
91+
description: "ESP32-S3 debugging via builtin USB-JTAG",
92+
target: "esp32s3",
93+
configFiles: [
94+
"board/esp32s3-builtin.cfg"
95+
],
96+
} as IdfBoard,
97+
{
98+
name: "ESP32-S3 chip (via ESP-PROG)",
99+
description: "ESP32-S3 debugging via ESP-PROG board",
100+
target: "esp32s3",
101+
configFiles: [
102+
"interface/ftdi/esp_ftdi.cfg",
103+
"target/esp32s3.cfg"
104+
],
105+
} as IdfBoard,
106+
{
107+
name: "ESP32-S3 chip (via ESP-PROG-2)",
108+
description: "ESP32-S3 debugging via ESP-PROG-2 board",
109+
target: "esp32s3",
110+
configFiles: [
111+
"board/esp32s3-bridge.cfg"
112+
],
113+
} as IdfBoard,
114+
{
115+
name: "ESP32-C2 chip (via ESP-PROG)",
116+
description: "ESP32-C2 debugging via ESP-PROG board",
117+
target: "esp32c2",
118+
configFiles: [
119+
"board/esp32c2-ftdi.cfg"
120+
],
121+
} as IdfBoard,
122+
{
123+
name: "ESP32-C2 chip (via ESP-PROG-2)",
124+
description: "ESP32-C2 debugging via ESP-PROG-2 board",
125+
target: "esp32c2",
126+
configFiles: [
127+
"board/esp32c2-bridge.cfg"
128+
],
129+
} as IdfBoard,
130+
{
131+
name: "ESP32-C3 chip (via builtin USB-JTAG)",
132+
description: "ESP32-C3 debugging via builtin USB-JTAG",
133+
target: "esp32c3",
134+
configFiles: [
135+
"board/esp32c3-builtin.cfg"
136+
],
27137
} as IdfBoard,
28138
{
29139
name: "ESP32-C3 chip (via ESP-PROG)",
30-
description: "ESP32-C3 used with ESP-PROG board",
140+
description: "ESP32-C3 debugging via ESP-PROG board",
31141
target: "esp32c3",
32-
configFiles: ["board/esp32c3-ftdi.cfg"],
142+
configFiles: [
143+
"board/esp32c3-ftdi.cfg"
144+
],
33145
} as IdfBoard,
34146
{
35147
name: "ESP32-C3 chip (via ESP-PROG-2)",
36148
description: "ESP32-C3 debugging via ESP-PROG-2 board",
37149
target: "esp32c3",
38-
configFiles: ["board/esp32c3-bridge.cfg"],
150+
configFiles: [
151+
"board/esp32c3-bridge.cfg"
152+
],
39153
} as IdfBoard,
40154
{
41-
name: "ESP32-C3 chip (via builtin USB-JTAG)",
42-
description: "ESP32-C3 debugging via builtin USB-JTAG",
43-
target: "esp32c3",
44-
configFiles: ["board/esp32c3-builtin.cfg"],
155+
name: "ESP32-C5 chip (via builtin USB-JTAG)",
156+
description: "ESP32-C5 debugging via builtin USB-JTAG",
157+
target: "esp32c5",
158+
configFiles: [
159+
"board/esp32c5-builtin.cfg"
160+
],
161+
} as IdfBoard,
162+
{
163+
name: "ESP32-C5 chip (via ESP-PROG)",
164+
description: "ESP32-C5 debugging via ESP-PROG board",
165+
target: "esp32c5",
166+
configFiles: [
167+
"board/esp32c5-ftdi.cfg"
168+
],
169+
} as IdfBoard,
170+
{
171+
name: "ESP32-C5 chip (via ESP-PROG-2)",
172+
description: "ESP32-C5 debugging via ESP-PROG-2 board",
173+
target: "esp32c5",
174+
configFiles: [
175+
"board/esp32c5-bridge.cfg"
176+
],
177+
} as IdfBoard,
178+
{
179+
name: "ESP32-C6 chip (via builtin USB-JTAG)",
180+
description: "ESP32-C6 debugging via builtin USB-JTAG",
181+
target: "esp32c6",
182+
configFiles: [
183+
"board/esp32c6-builtin.cfg"
184+
],
45185
} as IdfBoard,
46186
{
47187
name: "ESP32-C6 chip (via ESP-PROG)",
48-
description: "ESP32-C6 used with ESP-PROG board",
188+
description: "ESP32-C6 debugging via ESP-PROG board",
49189
target: "esp32c6",
50-
configFiles: ["board/esp32c6-ftdi.cfg"],
190+
configFiles: [
191+
"board/esp32c6-ftdi.cfg"
192+
],
51193
} as IdfBoard,
52194
{
53195
name: "ESP32-C6 chip (via ESP-PROG-2)",
54196
description: "ESP32-C6 debugging via ESP-PROG-2 board",
55197
target: "esp32c6",
56-
configFiles: ["board/esp32c6-bridge.cfg"],
198+
configFiles: [
199+
"board/esp32c6-bridge.cfg"
200+
],
57201
} as IdfBoard,
58202
{
59-
name: "ESP32-C6 chip (via builtin USB-JTAG)",
60-
description: "ESP32-C6 debugging via builtin USB-JTAG",
203+
name: "ESP32-C6 chip with LP core (via builtin USB-JTAG)",
204+
description: "ESP32-C6 with LP core debugging via builtin USB-JTAG",
61205
target: "esp32c6",
62-
configFiles: ["board/esp32c6-builtin.cfg"],
206+
configFiles: [
207+
"board/esp32c6-lpcore-builtin.cfg"
208+
],
209+
} as IdfBoard,
210+
{
211+
name: "ESP32-C6 chip with LP core (via ESP-PROG)",
212+
description: "ESP32-C6 with LP core debugging via ESP-PROG board",
213+
target: "esp32c6",
214+
configFiles: [
215+
"board/esp32c6-lpcore-ftdi.cfg"
216+
],
217+
} as IdfBoard,
218+
{
219+
name: "ESP32-C6 chip with LP core (via ESP-PROG-2)",
220+
description: "ESP32-C6 with LP core debugging via ESP-PROG-2 board",
221+
target: "esp32c6",
222+
configFiles: [
223+
"board/esp32c6-lpcore-bridge.cfg"
224+
],
225+
} as IdfBoard,
226+
{
227+
name: "ESP32-C61 chip (via builtin USB-JTAG)",
228+
description: "ESP32-C61 debugging via builtin USB-JTAG",
229+
target: "esp32c61",
230+
configFiles: [
231+
"board/esp32c61-builtin.cfg"
232+
],
233+
} as IdfBoard,
234+
{
235+
name: "ESP32-C61 chip (via ESP-PROG)",
236+
description: "ESP32-C61 debugging via ESP-PROG board",
237+
target: "esp32c61",
238+
configFiles: [
239+
"board/esp32c61-ftdi.cfg"
240+
],
241+
} as IdfBoard,
242+
{
243+
name: "ESP32-C61 chip (via ESP-PROG-2)",
244+
description: "ESP32-C61 debugging via ESP-PROG-2 board",
245+
target: "esp32c61",
246+
configFiles: [
247+
"board/esp32c61-bridge.cfg"
248+
],
63249
} as IdfBoard,
64250
{
65251
name: "ESP32-H2 chip (via builtin USB-JTAG)",
66252
description: "ESP32-H2 debugging via builtin USB-JTAG",
67253
target: "esp32h2",
68-
configFiles: ["board/esp32h2-builtin.cfg"],
254+
configFiles: [
255+
"board/esp32h2-builtin.cfg"
256+
],
69257
} as IdfBoard,
70258
{
71259
name: "ESP32-H2 chip (via ESP-PROG)",
72260
description: "ESP32-H2 debugging via ESP-PROG board",
73261
target: "esp32h2",
74-
configFiles: [ "board/esp32h2-ftdi.cfg"],
262+
configFiles: [
263+
"board/esp32h2-ftdi.cfg"
264+
],
75265
} as IdfBoard,
76266
{
77267
name: "ESP32-H2 chip (via ESP-PROG-2)",
78268
description: "ESP32-H2 debugging via ESP-PROG-2 board",
79269
target: "esp32h2",
80-
configFiles: ["board/esp32h2-bridge.cfg"],
270+
configFiles: [
271+
"board/esp32h2-bridge.cfg"
272+
],
81273
} as IdfBoard,
82274
{
83-
name: "ESP32-S2 module",
84-
description: "ESP32-S2 used with ESP-PROG board",
85-
target: "esp32s2",
86-
configFiles: ["interface/ftdi/esp32_devkitj_v1.cfg", "target/esp32s2.cfg"],
275+
name: "ESP32-H4 chip (via builtin USB-JTAG)",
276+
description: "ESP32-H4 debugging via builtin USB-JTAG",
277+
target: "esp32h4",
278+
configFiles: [
279+
"board/esp32h4-builtin.cfg"
280+
],
87281
} as IdfBoard,
88282
{
89-
name: "ESP32-S2 chip (via ESP-PROG-2)",
90-
description: "ESP32-S2 debugging via ESP-PROG-2 board",
91-
target: "esp32s2",
92-
configFiles: ["board/esp32s2-bridge.cfg"],
283+
name: "ESP32-H4 chip (via ESP-PROG)",
284+
description: "ESP32-H4 debugging via ESP-PROG board",
285+
target: "esp32h4",
286+
configFiles: [
287+
"board/esp32h4-ftdi.cfg"
288+
],
93289
} as IdfBoard,
94290
{
95-
name: "ESP32-S3 chip (via ESP-PROG)",
96-
description: "ESP32-S3 used with ESP-PROG board",
97-
target: "esp32s3",
98-
configFiles: ["interface/ftdi/esp32_devkitj_v1.cfg", "target/esp32s3.cfg"],
291+
name: "ESP32-H4 chip (via ESP-PROG-2)",
292+
description: "ESP32-H4 debugging via ESP-PROG-2 board",
293+
target: "esp32h4",
294+
configFiles: [
295+
"board/esp32h4-bridge.cfg"
296+
],
99297
} as IdfBoard,
100298
{
101-
name: "ESP32-S3 chip (via builtin USB-JTAG)",
102-
description: "ESP32-S3 debugging via builtin USB-JTAG",
103-
target: "esp32s3",
104-
configFiles: ["board/esp32s3-builtin.cfg"],
299+
name: "ESP32-P4 chip (via builtin USB-JTAG)",
300+
description: "ESP32-P4 debugging via builtin USB-JTAG",
301+
target: "esp32p4",
302+
configFiles: [
303+
"board/esp32p4-builtin.cfg"
304+
],
305+
} as IdfBoard,
306+
{
307+
name: "ESP32-P4 chip (via ESP-PROG)",
308+
description: "ESP32-P4 debugging via ESP-PROG board",
309+
target: "esp32p4",
310+
configFiles: [
311+
"board/esp32p4-ftdi.cfg"
312+
],
313+
} as IdfBoard,
314+
{
315+
name: "ESP32-P4 chip (via ESP-PROG-2)",
316+
description: "ESP32-P4 debugging via ESP-PROG-2 board",
317+
target: "esp32p4",
318+
configFiles: [
319+
"board/esp32p4-bridge.cfg"
320+
],
105321
} as IdfBoard,
106322
];

0 commit comments

Comments
 (0)