Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 13f15e9

Browse filesBrowse files
committed
Add support for esp-elf-gdb
1 parent aa1f60e commit 13f15e9
Copy full SHA for 13f15e9

File tree

Expand file treeCollapse file tree

4 files changed

+195
-55
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+195
-55
lines changed

‎.github/scripts/on-release.sh

Copy file name to clipboardExpand all lines: .github/scripts/on-release.sh
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ sed "s/version=.*/version=$ver$extent/g" | \
200200
sed 's/tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-esp32-elf/tools.xtensa-esp32-elf-gcc.path=\{runtime.tools.xtensa-esp32-elf-gcc.path\}/g' | \
201201
sed 's/tools.xtensa-esp32s2-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-esp32s2-elf/tools.xtensa-esp32s2-elf-gcc.path=\{runtime.tools.xtensa-esp32s2-elf-gcc.path\}/g' | \
202202
sed 's/tools.xtensa-esp32s3-elf-gcc.path={runtime.platform.path}\/tools\/xtensa-esp32s3-elf/tools.xtensa-esp32s3-elf-gcc.path=\{runtime.tools.xtensa-esp32s3-elf-gcc.path\}/g' | \
203+
sed 's/tools.xtensa-esp-elf-gdb.path={runtime.platform.path}\/tools\/xtensa-esp-elf-gdb/tools.xtensa-esp-elf-gdb.path=\{runtime.tools.xtensa-esp-elf-gdb.path\}/g' | \
203204
sed 's/tools.riscv32-esp-elf-gcc.path={runtime.platform.path}\/tools\/riscv32-esp-elf/tools.riscv32-esp-elf-gcc.path=\{runtime.tools.riscv32-esp-elf-gcc.path\}/g' | \
205+
sed 's/tools.riscv32-esp-elf-gdb.path={runtime.platform.path}\/tools\/riscv32-esp-elf-gdb/tools.riscv32-esp-elf-gdb.path=\{runtime.tools.riscv32-esp-elf-gdb.path\}/g' | \
204206
sed 's/tools.esptool_py.path={runtime.platform.path}\/tools\/esptool/tools.esptool_py.path=\{runtime.tools.esptool_py.path\}/g' | \
205207
sed 's/debug.server.openocd.path={runtime.platform.path}\/tools\/openocd-esp32\/bin\/openocd/debug.server.openocd.path=\{runtime.tools.openocd-esp32.path\}\/bin\/openocd/g' | \
206208
sed 's/debug.server.openocd.scripts_dir={runtime.platform.path}\/tools\/openocd-esp32\/share\/openocd\/scripts\//debug.server.openocd.scripts_dir=\{runtime.tools.openocd-esp32.path\}\/share\/openocd\/scripts\//g' | \

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
tools/xtensa-esp32-elf
22
tools/xtensa-esp32s2-elf
33
tools/xtensa-esp32s3-elf
4+
tools/xtensa-esp-elf-gdb
45
tools/riscv32-esp-elf
6+
tools/riscv32-esp-elf-gdb
57
tools/dist
68
tools/esptool
79
tools/esptool.exe

‎package/package_esp32_index.template.json

Copy file name to clipboardExpand all lines: package/package_esp32_index.template.json
+187-53Lines changed: 187 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,21 @@
5151
"name": "xtensa-esp32s3-elf-gcc",
5252
"version": "esp-2021r2-patch5-8.4.0"
5353
},
54+
{
55+
"packager": "esp32",
56+
"name": "xtensa-esp-elf-gdb",
57+
"version": "11.2_20220823"
58+
},
5459
{
5560
"packager": "esp32",
5661
"name": "riscv32-esp-elf-gcc",
5762
"version": "esp-2021r2-patch5-8.4.0"
5863
},
64+
{
65+
"packager": "esp32",
66+
"name": "riscv32-esp-elf-gdb",
67+
"version": "11.2_20220823"
68+
},
5969
{
6070
"packager": "esp32",
6171
"name": "openocd-esp32",
@@ -266,6 +276,68 @@
266276
}
267277
]
268278
},
279+
{
280+
"name": "xtensa-esp-elf-gdb",
281+
"version": "11.2_20220823",
282+
"systems": [
283+
{
284+
"host": "x86_64-pc-linux-gnu",
285+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz",
286+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz",
287+
"checksum": "SHA-256:b5f7cc3e4b5a58db655754083ed9652e4953e71c3b4922fb624e7a034ec24a64",
288+
"size": 26947336
289+
},
290+
{
291+
"host": "aarch64-linux-gnu",
292+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-aarch64-linux-gnu.tar.gz",
293+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-aarch64-linux-gnu.tar.gz",
294+
"checksum": "SHA-256:816acfae38b6b443f4f1590395f68f079243539259d19c7772ae6416c6519444",
295+
"size": 27134508
296+
},
297+
{
298+
"host": "arm-linux-gnueabihf",
299+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-arm-linux-gnueabi.tar.gz",
300+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-arm-linux-gnueabi.tar.gz",
301+
"checksum": "SHA-256:4dd1bace0633196fddfdcef3cebcc4bbfce22f5a0d2d1e3d618f3d8a6cbfcacc",
302+
"size": 25205239
303+
},
304+
{
305+
"host": "i686-pc-linux-gnu",
306+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-i586-linux-gnu.tar.gz",
307+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-i586-linux-gnu.tar.gz",
308+
"checksum": "SHA-256:27744d09d171be2f55ec15fa7f2d7f8ff94d33f7e130d24ebe082cb6c438618b",
309+
"size": 25978028
310+
},
311+
{
312+
"host": "x86_64-apple-darwin",
313+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-x86_64-apple-darwin14.tar.gz",
314+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-x86_64-apple-darwin14.tar.gz",
315+
"checksum": "SHA-256:1432faa12d7301133f6ee654d60751b57adcc6cf323ee1ecc393f06f0225eff4",
316+
"size": 38386785
317+
},
318+
{
319+
"host": "arm64-apple-darwin",
320+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-aarch64-apple-darwin21.1.tar.gz",
321+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-aarch64-apple-darwin21.1.tar.gz",
322+
"checksum": "SHA-256:d0b542ef070ea72857f9cf554f176a0a9d868cd59e05ac293ad39402bcc5277d",
323+
"size": 21671964
324+
},
325+
{
326+
"host": "i686-mingw32",
327+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-i686-w64-mingw32.zip",
328+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-i686-w64-mingw32.zip",
329+
"checksum": "SHA-256:1678b06aa80b1d689d05548056635efde5b73b98f2c3de5d555bcfc6f374c5d0",
330+
"size": 23241302
331+
},
332+
{
333+
"host": "x86_64-mingw32",
334+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip",
335+
"archiveFileName": "xtensa-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip",
336+
"checksum": "SHA-256:7060df4b6aa133e282147c3651d50222d677d6a0fff92979c500353b099a3f41",
337+
"size": 25135265
338+
}
339+
]
340+
},
269341
{
270342
"name": "riscv32-esp-elf-gcc",
271343
"version": "esp-2021r2-patch5-8.4.0",
@@ -328,6 +400,68 @@
328400
}
329401
]
330402
},
403+
{
404+
"name": "riscv32-esp-elf-gdb",
405+
"version": "11.2_20220823",
406+
"systems": [
407+
{
408+
"host": "x86_64-pc-linux-gnu",
409+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz",
410+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-x86_64-linux-gnu.tar.gz",
411+
"checksum": "SHA-256:6bf5b5d2d407e074af2a74fc826764934ac1625a1751c52fbc0d4d7772061f8f",
412+
"size": 26799809
413+
},
414+
{
415+
"host": "aarch64-linux-gnu",
416+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-aarch64-linux-gnu.tar.gz",
417+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-aarch64-linux-gnu.tar.gz",
418+
"checksum": "SHA-256:e54ef67cdb5724fc2da8f0487f19b2c83c08b560fff317f5ffd98fbb230b397a",
419+
"size": 27021672
420+
},
421+
{
422+
"host": "arm-linux-gnueabihf",
423+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-arm-linux-gnueabi.tar.gz",
424+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-arm-linux-gnueabi.tar.gz",
425+
"checksum": "SHA-256:86772c6aee8a05b2c75a6b04e9da630e35e8415b64da8ccde92a5fb2d3c7fcf4",
426+
"size": 25532577
427+
},
428+
{
429+
"host": "i686-pc-linux-gnu",
430+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-i586-linux-gnu.tar.gz",
431+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-i586-linux-gnu.tar.gz",
432+
"checksum": "SHA-256:3463be3e24182b7f1bd0fb232020534445b2d0ea0e7093c1b4f4da102b3baf52",
433+
"size": 26188698
434+
},
435+
{
436+
"host": "x86_64-apple-darwin",
437+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-x86_64-apple-darwin14.tar.gz",
438+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-x86_64-apple-darwin14.tar.gz",
439+
"checksum": "SHA-256:a9db1811ebb9271134eba2f7c303fc2587bd4b2a1ae33cd05ff2605cd2fb30d2",
440+
"size": 38397584
441+
},
442+
{
443+
"host": "arm64-apple-darwin",
444+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-aarch64-apple-darwin21.1.tar.gz",
445+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-aarch64-apple-darwin21.1.tar.gz",
446+
"checksum": "SHA-256:c94fb6d726b8d97e65e23237f5126a41343bca8f22a0414df5f0e6777e36f51c",
447+
"size": 21593613
448+
},
449+
{
450+
"host": "i686-mingw32",
451+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-i686-w64-mingw32.zip",
452+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-i686-w64-mingw32.zip",
453+
"checksum": "SHA-256:20cdee8a1c01428363ef02f4cc8035c65508d6b43560c525733eae94b7c7bb50",
454+
"size": 23436802
455+
},
456+
{
457+
"host": "x86_64-mingw32",
458+
"url": "https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v11.2_20220823/riscv32-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip",
459+
"archiveFileName": "riscv32-esp-elf-gdb-11.2_20220823-x86_64-w64-mingw32.zip",
460+
"checksum": "SHA-256:add72366485b784b66837ce263548980f1df144d0954c42d75a81f6acbd43cac",
461+
"size": 24802315
462+
}
463+
]
464+
},
331465
{
332466
"name": "openocd-esp32",
333467
"version": "v0.11.0-esp32-20221026",
@@ -439,59 +573,59 @@
439573
]
440574
},
441575
{
442-
"version": "3.0.0-gnu12-dc7f933",
443-
"name": "mklittlefs",
444-
"systems": [
445-
{
446-
"host": "aarch64-linux-gnu",
447-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/aarch64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
448-
"archiveFileName": "aarch64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
449-
"checksum": "SHA-256:fc56e389383749e4cf4fab0fcf75cc0ebc41e59383caf6c2eff1c3d9794af200",
450-
"size": "44651"
451-
},
452-
{
453-
"host": "arm-linux-gnueabihf",
454-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/arm-linux-gnueabihf.mklittlefs-c41e51a.200706.tar.gz",
455-
"archiveFileName": "arm-linux-gnueabihf.mklittlefs-c41e51a.200706.tar.gz",
456-
"checksum": "SHA-256:52b642dd0545eb3bd8dfb75dde6601df21700e4867763fd2696274be279294c5",
457-
"size": "37211"
458-
},
459-
{
460-
"host": "i686-pc-linux-gnu",
461-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/i686-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
462-
"archiveFileName": "i686-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
463-
"checksum": "SHA-256:7886051d8ccc54aed0af2e7cdf6ff992bb51638df86f3b545955697720b6d062",
464-
"size": "48033"
465-
},
466-
{
467-
"host": "i686-mingw32",
468-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/i686-w64-mingw32.mklittlefs-c41e51a.200706.zip",
469-
"archiveFileName": "i686-w64-mingw32.mklittlefs-c41e51a.200706.zip",
470-
"checksum": "SHA-256:43740db30ce451454f2337331f10ab4ed41bd83dbf0fa0cb4387107388b59f42",
471-
"size": "332655"
472-
},
473-
{
474-
"host": "x86_64-apple-darwin",
475-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-apple-darwin14.mklittlefs-c41e51a.200706.tar.gz",
476-
"archiveFileName": "x86_64-apple-darwin14.mklittlefs-c41e51a.200706.tar.gz",
477-
"checksum": "SHA-256:e3edd5e05b70db3c7df6b9d626558348ad04804022fe955c799aeb51808c7dc3",
478-
"size": "362608"
479-
},
480-
{
481-
"host": "x86_64-pc-linux-gnu",
482-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
483-
"archiveFileName": "x86_64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
484-
"checksum": "SHA-256:66e84dda0aad747517da3785125e05738a540948aab2b7eaa02855167a1eea53",
485-
"size": "46778"
486-
},
487-
{
488-
"host": "x86_64-mingw32",
489-
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip",
490-
"archiveFileName": "x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip",
491-
"checksum": "SHA-256:2e319077491f8e832e96eb4f2f7a70dd919333cee4b388c394e0e848d031d542",
492-
"size": "345132"
493-
}
494-
]
576+
"version": "3.0.0-gnu12-dc7f933",
577+
"name": "mklittlefs",
578+
"systems": [
579+
{
580+
"host": "aarch64-linux-gnu",
581+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/aarch64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
582+
"archiveFileName": "aarch64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
583+
"checksum": "SHA-256:fc56e389383749e4cf4fab0fcf75cc0ebc41e59383caf6c2eff1c3d9794af200",
584+
"size": "44651"
585+
},
586+
{
587+
"host": "arm-linux-gnueabihf",
588+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/arm-linux-gnueabihf.mklittlefs-c41e51a.200706.tar.gz",
589+
"archiveFileName": "arm-linux-gnueabihf.mklittlefs-c41e51a.200706.tar.gz",
590+
"checksum": "SHA-256:52b642dd0545eb3bd8dfb75dde6601df21700e4867763fd2696274be279294c5",
591+
"size": "37211"
592+
},
593+
{
594+
"host": "i686-pc-linux-gnu",
595+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/i686-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
596+
"archiveFileName": "i686-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
597+
"checksum": "SHA-256:7886051d8ccc54aed0af2e7cdf6ff992bb51638df86f3b545955697720b6d062",
598+
"size": "48033"
599+
},
600+
{
601+
"host": "i686-mingw32",
602+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/i686-w64-mingw32.mklittlefs-c41e51a.200706.zip",
603+
"archiveFileName": "i686-w64-mingw32.mklittlefs-c41e51a.200706.zip",
604+
"checksum": "SHA-256:43740db30ce451454f2337331f10ab4ed41bd83dbf0fa0cb4387107388b59f42",
605+
"size": "332655"
606+
},
607+
{
608+
"host": "x86_64-apple-darwin",
609+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-apple-darwin14.mklittlefs-c41e51a.200706.tar.gz",
610+
"archiveFileName": "x86_64-apple-darwin14.mklittlefs-c41e51a.200706.tar.gz",
611+
"checksum": "SHA-256:e3edd5e05b70db3c7df6b9d626558348ad04804022fe955c799aeb51808c7dc3",
612+
"size": "362608"
613+
},
614+
{
615+
"host": "x86_64-pc-linux-gnu",
616+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
617+
"archiveFileName": "x86_64-linux-gnu.mklittlefs-c41e51a.200706.tar.gz",
618+
"checksum": "SHA-256:66e84dda0aad747517da3785125e05738a540948aab2b7eaa02855167a1eea53",
619+
"size": "46778"
620+
},
621+
{
622+
"host": "x86_64-mingw32",
623+
"url": "https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.0.0-gnu12/x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip",
624+
"archiveFileName": "x86_64-w64-mingw32.mklittlefs-c41e51a.200706.zip",
625+
"checksum": "SHA-256:2e319077491f8e832e96eb4f2f7a70dd919333cee4b388c394e0e848d031d542",
626+
"size": "345132"
627+
}
628+
]
495629
},
496630
{
497631
"name": "mkspiffs",

‎platform.txt

Copy file name to clipboardExpand all lines: platform.txt
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ version=2.0.7
44
tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
55
tools.xtensa-esp32s2-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32s2-elf
66
tools.xtensa-esp32s3-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32s3-elf
7+
tools.xtensa-esp-elf-gdb.path={runtime.platform.path}/tools/xtensa-esp-elf-gdb
78
tools.riscv32-esp-elf-gcc.path={runtime.platform.path}/tools/riscv32-esp-elf
9+
tools.riscv32-esp-elf-gdb.path={runtime.platform.path}/tools/riscv32-esp-elf-gdb
810

911
debug.server.openocd.path={runtime.platform.path}/tools/openocd-esp32/bin/openocd
1012
debug.server.openocd.scripts_dir={runtime.platform.path}/tools/openocd-esp32/share/openocd/scripts/
@@ -249,8 +251,8 @@ pluggable_monitor.required.serial=builtin:serial-monitor
249251
# - this is alpha and may be subject to change without notice
250252
debug.executable={build.path}/{build.project_name}.elf
251253
debug.toolchain=gcc
252-
debug.toolchain.path={compiler.path}
253-
debug.toolchain.prefix={compiler.prefix}
254+
debug.toolchain.path={tools.{build.tarch}-esp-elf-gdb.path}/bin/
255+
debug.toolchain.prefix={build.tarch}-{build.target}-elf
254256
debug.server=openocd
255257
debug.server.openocd.script=debug.cfg
256258

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.