-
Notifications
You must be signed in to change notification settings - Fork 240
/
package.json
3068 lines (3068 loc) · 192 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version": "1.12.2-pre1",
"preview": false,
"activationEvents": [
"onDebugResolve:cortex-debug",
"onStartupFinished"
],
"categories": [
"Debuggers"
],
"contributes": {
"configuration": [
{
"type": "object",
"title": "Debugger",
"properties": {
"cortex-debug.variableUseNaturalFormat": {
"type": "boolean",
"default": true,
"description": "If true, display variables in their natural format as specified by ARM. Hex otherwise."
},
"cortex-debug.liveWatchRefreshRate": {
"default": 300,
"description": "GUI refresh frequency in milliseconds. Your sample rate can be much faster than refresh rate. VSCode UI cannot handle high refresh rates and your Live Watch window will look frozen. Do not recommend below 250ms as it will not be legible anyways. Anything below 200ms did not work at all for us",
"type": "number",
"multipleOf": 1,
"minimum": 100,
"maximum": 5000
}
}
},
{
"type": "object",
"title": "External: GNU Tools",
"properties": {
"cortex-debug.armToolchainPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the GCC Arm Toolchain (standard prefix is \"arm-none-eabi\" - can be set through the armToolchainPrefix setting) to use. If not set the tools must be on the system path. Do not include the executable file name in this path."
},
"cortex-debug.armToolchainPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the GCC Arm Toolchain (standard prefix is \"arm-none-eabi\" - can be set through the armToolchainPrefix setting) to use. If not set the tools must be on the system path. Do not include the executable file name in this path."
},
"cortex-debug.armToolchainPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the GCC Arm Toolchain (standard prefix is \"arm-none-eabi\" - can be set through the armToolchainPrefix setting) to use. If not set the tools must be on the system path. Do not include the executable file name in this path."
},
"cortex-debug.armToolchainPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the GCC Arm Toolchain (standard prefix is \"arm-none-eabi\" - can be set through the armToolchainPrefix setting) to use. If not set the tools must be on the system path. Do not include the executable file name in this path."
},
"cortex-debug.armToolchainPrefix": {
"type": [
"string",
"null"
],
"default": "arm-none-eabi",
"description": "The prefix to use for the arm toolchain - the standard release from arm uses \"arm-none-eabi\" but alternative toolchains may use a different prefix. Currently the gdb, objdump and nm tools are needed."
},
"cortex-debug.gdbPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the GDB executable. This is useful for cases where your gdb executable doesn't follow the standard <tuple>-gdb format - for example `gdb-multiarch`. This can be just the executable name (if on the system path) or the full path."
},
"cortex-debug.gdbPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the GDB executable. This is useful for cases where your gdb executable doesn't follow the standard <tuple>-gdb format - for example `gdb-multiarch`. This can be just the executable name (if on the system path) or the full path."
},
"cortex-debug.gdbPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the GDB executable. This is useful for cases where your gdb executable doesn't follow the standard <tuple>-gdb format - for example `gdb-multiarch`. This can be just the executable name (if on the system path) or the full path."
},
"cortex-debug.gdbPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the GDB executable. This is useful for cases where your gdb executable doesn't follow the standard <tuple>-gdb format - for example `gdb-multiarch`. This can be just the executable name (if on the system path) or the full path."
},
"cortex-debug.objdumpPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the objdump executable. This is useful for cases where your objdump executable doesn't follow the standard <tuple>-objdump format - for example `objdump-multiarch`. This can be just the executable name (if on the system path) or the full path. The program 'nm' is also expected alongside"
},
"cortex-debug.objdumpPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the objdump executable. This is useful for cases where your objdump executable doesn't follow the standard <tuple>-objdump format - for example `objdump-multiarch`. This can be just the executable name (if on the system path) or the full path. The program 'nm' is also expected alongside"
},
"cortex-debug.objdumpPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the objdump executable. This is useful for cases where your objdump executable doesn't follow the standard <tuple>-objdump format - for example `objdump-multiarch`. This can be just the executable name (if on the system path) or the full path. The program 'nm' is also expected alongside"
},
"cortex-debug.objdumpPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "This setting allows you to completely override the path/executable for the objdump executable. This is useful for cases where your objdump executable doesn't follow the standard <tuple>-objdump format - for example `objdump-multiarch`. This can be just the executable name (if on the system path) or the full path. The program 'nm' is also expected alongside"
},
"cortex-debug.internalDebugOptions": {
"description": "Internal debug options to debug this extension. These options must ideally be selected before you start VSCode",
"type": "object",
"properties": {
"file": {
"type": "string",
"default": "cortex-debug-log-${PID}.txt",
"description": "Pathname were debug output is stored. If empty or not-writable, no output is created. Use ${PID} in the file name to make it unique per a session"
},
"disassembly": {
"type": "boolean",
"default": false,
"description": "Enable disassembly debug"
}
}
}
}
},
{
"type": "object",
"title": "External: GDB Servers",
"properties": {
"cortex-debug.JLinkGDBServerPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the JLink GDB Server. If not set then JLinkGDBServer (JLinkGDBServerCL.exe on Windows) must be on the system path."
},
"cortex-debug.JLinkGDBServerPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the JLink GDB Server. If not set then JLinkGDBServer (JLinkGDBServerCLExe) must be on the system path."
},
"cortex-debug.JLinkGDBServerPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the JLink GDB Server. If not set then JLinkGDBServer (JLinkGDBServerCLExe) must be on the system path."
},
"cortex-debug.JLinkGDBServerPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the JLink GDB Server. If not set then JLinkGDBServer (JLinkGDBServerCL.exe) must be on the system path."
},
"cortex-debug.openocdPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the OpenOCD GDB Server executable. If not set then openocd (openocd.exe on Windows) must be on the system path."
},
"cortex-debug.openocdPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the OpenOCD GDB Server executable. If not set then openocd (openocd.exe on Windows) must be on the system path."
},
"cortex-debug.openocdPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the OpenOCD GDB Server executable. If not set then openocd (openocd.exe on Windows) must be on the system path."
},
"cortex-debug.openocdPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the OpenOCD GDB Server executable. If not set then openocd (openocd.exe on Windows) must be on the system path."
},
"cortex-debug.pyocdPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PyOCD GDB Server executable. If not set then pyocd-gdbserver must be on the system path."
},
"cortex-debug.pyocdPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PyOCD GDB Server executable. If not set then pyocd-gdbserver must be on the system path."
},
"cortex-debug.pyocdPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PyOCD GDB Server executable. If not set then pyocd-gdbserver must be on the system path."
},
"cortex-debug.pyocdPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PyOCD GDB Server executable. If not set then pyocd-gdbserver must be on the system path."
},
"cortex-debug.PEGDBServerPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PEMicro GDB Server. If not set then PEGDBServer (pegdbserver_console.exe on Windows) must be on the system path."
},
"cortex-debug.PEGDBServerPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PEMicro GDB Server. If not set then PEGDBServer (pegdbserver_console.exe on Windows) must be on the system path."
},
"cortex-debug.PEGDBServerPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PEMicro GDB Server. If not set then PEGDBServer (pegdbserver_console.exe on Windows) must be on the system path."
},
"cortex-debug.PEGDBServerPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the PEMicro GDB Server. If not set then PEGDBServer (pegdbserver_console.exe on Windows) must be on the system path."
},
"cortex-debug.stutilPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the Texane's ST-Util GDB Server executable. If not set then st-util (st-util.exe on Windows) must be on the system path."
},
"cortex-debug.stutilPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the Texane's ST-Util GDB Server executable. If not set then st-util (st-util.exe on Windows) must be on the system path."
},
"cortex-debug.stutilPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the Texane's ST-Util GDB Server executable. If not set then st-util (st-util.exe on Windows) must be on the system path."
},
"cortex-debug.stutilPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the Texane's ST-Util GDB Server executable. If not set then st-util (st-util.exe on Windows) must be on the system path."
},
"cortex-debug.stlinkPath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the ST-LINK_gdbserver executable. If not set then ST-LINK_gdbserver (ST-LINK_gdbserver.exe on Windows) must be on the system path."
},
"cortex-debug.stlinkPath.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the ST-LINK_gdbserver executable. If not set then ST-LINK_gdbserver (ST-LINK_gdbserver.exe on Windows) must be on the system path."
},
"cortex-debug.stlinkPath.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the ST-LINK_gdbserver executable. If not set then ST-LINK_gdbserver (ST-LINK_gdbserver.exe on Windows) must be on the system path."
},
"cortex-debug.stlinkPath.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the ST-LINK_gdbserver executable. If not set then ST-LINK_gdbserver (ST-LINK_gdbserver.exe on Windows) must be on the system path."
},
"cortex-debug.stm32cubeprogrammer": {
"type": [
"string",
"null"
],
"default": null,
"description": "This path is normally resolved to the installed STM32CubeIDE or STM32CubeProgrammer but can be overridden here."
},
"cortex-debug.stm32cubeprogrammer.linux": {
"type": [
"string",
"null"
],
"default": null,
"description": "This path is normally resolved to the installed STM32CubeIDE or STM32CubeProgrammer but can be overridden here."
},
"cortex-debug.stm32cubeprogrammer.osx": {
"type": [
"string",
"null"
],
"default": null,
"description": "This path is normally resolved to the installed STM32CubeIDE or STM32CubeProgrammer but can be overridden here."
},
"cortex-debug.stm32cubeprogrammer.windows": {
"type": [
"string",
"null"
],
"default": null,
"description": "This path is normally resolved to the installed STM32CubeIDE or STM32CubeProgrammer but can be overridden here."
}
}
},
{
"type": "object",
"title": "Miscellaneous",
"properties": {
"cortex-debug.enableTelemetry": {
"type": "boolean",
"default": true,
"description": "Enable Telemetry for the Cortex-Debug Extension. Reporting will also respect the global telemetry.enableTelemetry setting."
},
"cortex-debug.dbgServerLogfile": {
"type": [
"string",
"null"
],
"default": null,
"description": "Logs the contents of the gdb-server terminal. Use ${PID} in the file name to make it unique per VSCode session"
}
}
}
],
"commands": [
{
"command": "cortex-debug.resetDevice",
"title": "Reset device",
"icon": {
"dark": "images/reset-dark.svg",
"light": "images/reset-light.svg"
}
},
{
"command": "cortex-debug.varHexModeTurnOff",
"title": "Disable Hex mode",
"icon": {
"light": "images/hex-on-light.svg",
"dark": "images/hex-on-dark.svg"
}
},
{
"command": "cortex-debug.varHexModeTurnOn",
"title": "Enable Hex mode",
"icon": {
"light": "images/hex-off-light.svg",
"dark": "images/hex-off-dark.svg"
}
},
{
"command": "cortex-debug.liveWatch.removeExpr",
"title": "Remove expression",
"icon": "$(close)"
},
{
"command": "cortex-debug.liveWatch.editExpr",
"title": "Edit expression",
"icon": "$(edit)"
},
{
"command": "cortex-debug.liveWatch.moveUp",
"title": "Move expression up",
"icon": "$(arrow-up)"
},
{
"command": "cortex-debug.liveWatch.moveDown",
"title": "Move expression down",
"icon": "$(arrow-down)"
},
{
"command": "cortex-debug.liveWatch.addToLiveWatch",
"title": "Add to Live Watch",
"icon": "$(plus)"
},
{
"category": "Cortex-Debug",
"command": "cortex-debug.examineMemory",
"title": "View Memory"
},
{
"category": "Cortex-Debug",
"command": "cortex-debug.examineMemoryLegacy",
"title": "View Memory (Legacy)"
},
{
"category": "Cortex-Debug",
"command": "cortex-debug.toggleVariableHexFormat",
"title": "Toggle hex display in Variables window"
},
{
"category": "Cortex-Debug",
"command": "cortex-debug.liveWatch.addExpr",
"title": "Add expression to Live Watch window",
"icon": "$(plus)"
}
],
"keybindings": [
{
"command": "cortex-debug.toggleVariableHexFormat",
"key": "ctrl+shift+x",
"when": "debugType == cortex-debug"
}
],
"languages": [
{
"id": "cortex-debug.memoryview",
"aliases": [
"Cortex-Debug Memory View"
],
"extensions": [
".cdmem"
]
}
],
"grammars": [
{
"language": "cortex-debug.memoryview",
"scopeName": "source.cortex-debug-memoryview",
"path": "./syntaxes/cortex-debug-memoryview.json"
}
],
"breakpoints": [
{
"language": "c"
},
{
"language": "cpp"
},
{
"language": "rust"
},
{
"language": "arm"
},
{
"language": "asm"
},
{
"language": "S"
},
{
"language": "s"
},
{
"language": "cortex-debug.disassembly"
}
],
"debuggers": [
{
"configurationAttributes": {
"attach": {
"properties": {
"servertype": {
"type": "string",
"description": "GDB Server type - supported types are jlink, openocd, pyocd, pe, stlink, stutil, qemu, bmp and external. For \"external\", [please read our Wiki](https://github.com/Marus/cortex-debug/wiki/External-gdb-server-configuration). The executable in your PATH is used by default, to override this use serverpath.",
"enum": [
"jlink",
"openocd",
"pyocd",
"stutil",
"stlink",
"bmp",
"pe",
"qemu",
"external"
]
},
"cwd": {
"description": "Directory to run commands from",
"type": "string"
},
"debuggerArgs": {
"default": [],
"description": "Additional arguments to pass to GDB command line",
"type": "array",
"items": "string"
},
"preAttachCommands": {
"default": [],
"type": "array",
"items": "string",
"description": "Additional GDB Commands to be executed at the start of the main attach sequence (immediately after attaching to target)."
},
"postAttachCommands": {
"default": [],
"type": "array",
"items": "string",
"description": "Additional GDB Commands to be executed after the main attach sequence has finished."
},
"preRestartCommands": {
"default": [],
"type": "array",
"items": "string",
"deprecated": true,
"description": "Deprecated: Restart is now handled by VSCode. Change to preResetCommands if you use the Reset button."
},
"postRestartCommands": {
"default": [],
"type": "array",
"items": "string",
"deprecated": true,
"description": "Deprecated: Restart is now handled by VSCode. Change to postResetCommands if you use the Reset button."
},
"preResetCommands": {
"default": [],
"type": "array",
"items": "string",
"description": "Additional GDB Commands to be executed at the start of the reset sequence. When undefined the deprecated preRestartCommands is used."
},
"postResetCommands": {
"default": [],
"type": "array",
"items": "string",
"description": "Additional GDB Commands to be executed at the end of the reset sequence. When undefined the deprecated postRestartCommands is used."
},
"overrideAttachCommands": {
"default": null,
"type": "array",
"items": "string",
"description": "Override the commands that are normally executed as part of attaching to a running target. In most cases it is preferable to use preAttachCommands and postAttachCommands to customize the GDB attach sequence."
},
"overrideRestartCommands": {
"default": null,
"type": "array",
"items": "string",
"deprecated": true,
"description": "Deprecated: Restart is now handled by VSCode. Change to overrideResetCommands if you use the Reset button."
},
"overrideResetCommands": {
"default": null,
"type": "array",
"items": "string",
"description": "Override the commands that are normally executed as part of reset-ing the target. When undefined the deprecated overrideRestartCommands is used."
},
"postStartSessionCommands": {
"default": [],
"type": "array",
"items": "string",
"description": "Additional GDB Commands to be executed at the end of the start sequence, after a debug session has already started and runToEntryPoint is not specified."
},
"postRestartSessionCommands": {
"default": [],
"type": "array",
"items": "string",
"deprecated": true,
"description": "Deprecated: Restart is now handled by VSCode and it is pretty much the same as Start"
},
"overrideGDBServerStartedRegex": {
"description": "You can supply a regular expression (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) in the configuration property to override the output from the GDB Server that is looked for to determine if the GDB Server has started. Under most circumstances this will not be necessary - but could be needed as a result of a change in the output of a GDB Server making it incompatible with cortex-debug. This property has no effect for bmp or external GDB Server types.",
"type": "string",
"default": null
},
"cpu": {
"default": "cortex-m3",
"type": "string",
"description": "CPU Type Selection - used for QEMU server type",
"enum": [
"cortex-m3",
"cortex-m4"
]
},
"machine": {
"default": "lm3s811evb",
"type": "string",
"description": "Machine Type Selection - used for QEMU server type",
"enum": [
"lm3s811evb",
"lm3s6965evb",
"mps2-an385"
]
},
"device": {
"default": "",
"description": "Target Device Identifier",
"type": "string"
},
"rtos": {
"default": null,
"description": "RTOS being used. For JLink this can be Azure, ChibiOS, embOS, FreeRTOS, NuttX, Zephyr or the path to a custom JLink RTOS Plugin library. For OpenOCD this can be auto (recommended), FreeRTOS, ThreadX, chibios, Chromium-EC, eCos, embKernel, linux, mqx, nuttx, RIOT, uCOS-III, or Zephyr.",
"type": "string"
},
"armToolchainPath": {
"default": null,
"description": "This setting can be used to override the armToolchainPath user setting for a particular launch configuration. This should be the path where arm-none-eabi-gdb, arm-none-eabi-objdump and arm-none-eabi-nm are located.",
"type": "string"
},
"toolchainPrefix": {
"default": null,
"description": "This setting can be used to override the toolchainPrefix user setting for a particular launch configuration. Default = \"arm-none-eabi\"",
"type": "string"
},
"serverpath": {
"default": null,
"description": "This setting can be used to override the GDB Server path user/workspace setting for a particular launch configuration. It is the full pathname to the executable or name of executable if it is in your PATH",
"type": "string"
},
"gdbPath": {
"default": null,
"description": "This setting can be used to override the GDB path user/workspace setting for a particular launch configuration. This should be the full pathname to the executable (or name of the executable if it is in your PATH). Note that other toolchain executables with the configured prefix must still be available.",
"type": "string"
},
"objdumpPath": {
"default": null,
"description": "This setting can be used to override the objdump (used to find globals/statics) path user/workspace setting for a particular launch configuration. This should be the full pathname to the executable (or name of the executable if it is in your PATH). Note that other toolchain executables with the configured prefix must still be available. The program 'nm' is also expected alongside",
"type": "string"
},
"serverArgs": {
"default": [],
"description": "Additional arguments to pass to GDB Server command line",
"type": "array",
"items": "string"
},
"executable": {
"description": "Path of executable for symbols and program information. See also `loadFiles`, `symbolFiles`",
"type": "string"
},
"symbolFiles": {
"description": "Array of ELF files to load symbols from instead of the executable file. Each item in the array cab be a string or an object. Program information is ignored (see `loadFiles`). Can be an empty list to specify none. If this property does not exist, then the executable is used for symbols",
"type": "array",
"items": {
"type": ["object", "string"],
"properties": {
"file": {
"type": "string",
"description": "Pathname of an ELF file for symbols"
},
"offset": {
"type": [
"number",
"string"
],
"description": "Optional offset to apply to all sections of the ELF file. Use a string strarting with '0x' for a hexadecimal number"
},
"textaddress": {
"type": [
"number",
"string"
],
"description": "Optional: Load the TEXT section at the specified 'textaddress'. Use a string strarting with '0x' for a hexadecimal number"
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Section name"
},
"address": {
"type": [
"number",
"string"
],
"description": "Base address for section. Use a string strarting with '0x' for a hexadecimal number"
}
},
"required": [
"name",
"address"
]
}
}
},
"required": [
"file"
]
},
"default": null
},
"gdbTarget": {
"default": null,
"description": "For externally (servertype = \"external\") controlled GDB Servers you must specify the GDB target to connect to. This can either be a \"hostname:port\" combination or path to a serial port",
"type": "string"
},
"breakAfterReset": {
"default": false,
"type": "boolean",
"description": "Applies to Restart/Reset/Launch, halt debugger after a reset. Ignored if `runToEntryPoint` is used."
},
"runToEntryPoint": {
"description": "Applies to Launch/Restart/Reset, ignored for Attach. If enabled the debugger will run until the start of the given function.",
"type": "string",
"default": "main"
},
"numberOfProcessors": {
"description": "Number of processors/cores in the target device.",
"type": "number",
"multipleOf": 1,
"minimum": 1,
"maximum": 10,
"default": 1
},
"targetProcessor": {
"description": "The processor you want to debug. Zero based integer index. Must be less than 'numberOfProcessors'",
"type": "number",
"multipleOf": 1,
"minimum": 0,
"maximum": 9,
"default": 0
},
"liveWatch": {
"description": "An object with parameters for Live Watch",
"properties": {
"enabled": {
"default": false,
"description": "Enable/Disable Live Watch. Only applies to OpenOCD",
"type": "boolean"
},
"samplesPerSecond": {
"default": 2,
"description": "Maximum number of samples per second. Different from GUI refresh-rate, which is a user/workspace setting",
"type": "number",
"multipleOf": 1,
"minimum": 0,
"maximum": 20
}
},
"default": {
"enabled": true,
"samplesPerSecond": 4
}
},
"chainedConfigurations": {
"description": "An object describing how additional configurations should be launched",
"properties": {
"enabled": {
"default": true,
"description": "Enable/Disable entire set of chained configurations",
"type": "boolean"
},
"detached": {
"default": false,
"description": "Related or independent server sessions. Set to true for servers like 'JLink'. Inherited by children",
"type": "boolean"
},
"lifecycleManagedByParent": {
"default": true,
"description": "Are Restart/Reset/Stop/Disconnect shared? All life-cycle management done as a group by parent/root. Inherited by children",
"type": "boolean"
},
"waitOnEvent": {
"enum": [
"postStart",
"postInit"
],
"default": "postInit",
"description": "Event to wait for. 'postStart' means wait for gdb-server connecting, 'postInit' is after init commands are completed by gdb. Inherited by children",
"type": "string"
},
"delayMs": {
"type": "number",
"description": "Default delay in milliseconds for a certain amount of milliseconds to begin launch. Inherited by children",
"multipleOf": 1,
"minimum": 0,
"default": 5
},
"overrides": {
"default": {},
"description": "Values to override/set in this child configuration. A set of name/value pairs. Set value to 'null' (no quotes) to delete. Sorry, no IntelliSense",
"type": "object"
},
"inherits": {
"default": [],
"description": "List of properties to inherit from parent. This is processed before any overrides. Sorry, no IntelliSense",
"type": "array",
"items": {
"type": "string"
}
},
"launches": {
"type": "array",
"items": {
"properties": {
"name": {
"default": "",
"description": "Name of launch configuration. Sorry, no IntelliSense",
"type": "string"
},
"folder": {
"default": "",
"description": "Folder to use for this configuration. Where .vscode/launch.json exists. Default is same folder as parent. Use either the full path name or the base-name of the folder",
"type": "string"
},
"enabled": {
"default": true,
"description": "Enable/Disable this configuration",
"type": "boolean"
},
"detached": {
"default": false,
"description": "Related or independent server sessions. Set to true for servers like 'JLink'",
"type": "boolean"
},
"waitOnEvent": {
"enum": [
"postStart",
"postInit"
],
"default": "postInit",
"description": "Wait for an event. 'postStart' means wait for gdb-server connecting, 'postInit' is after init commands are completed by gdb",
"type": "string"
},
"delayMs": {
"type": "number",
"description": "Delay in milliseconds for a certain amount of milliseconds to begin launch",
"multipleOf": 1,
"minimum": 0,
"default": 5
},
"lifecycleManagedByParent": {
"default": true,
"description": "Are Restart/Reset/Stop/Disconnect shared? All life-cycle management done as a group by parent/root",
"type": "boolean"
},
"overrides": {
"default": {},
"description": "Values to override/set in this child configuration. A set of name/value pairs. Set value to 'null' (no quotes) to delete. Sorry, no IntelliSense",
"type": "object"
},
"inherits": {
"default": [],
"description": "List of properties to inherit from parent. This is processed before any overrides. Sorry, no IntelliSense",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"default": {
"enabled": true,
"waitOnEvent": "postInit",
"lifeCycleShared": true,
"launches": [
{
"name": "use EXACT name of chained configuration to launch",
"folder": "use full path or folder basename or leave empty"
}
]
}
},
"graphConfig": {
"description": "Description of how graphing can be done. See our Wiki for details",
"items": {
"oneOf": [
{
"properties": {
"annotate": {
"default": true,
"description": "Create annotations on the graph for when the target processor starts and stops execution. (green line for starting execution, red line for stopping execution).",
"type": "boolean"
},
"label": {
"description": "Label for Graph",
"type": "string"
},
"maximum": {
"default": 65535,
"description": "Maximum value for the X-Axis",
"type": "number"
},
"minimum": {
"default": 0,
"description": "Minimum value for the Y-Axis",
"type": "number"
},
"plots": {
"description": "Plot configurations. Data sources must be configured for \"graph\" (or \"advanced\" with a decoder that sends graph data) in the \"swoConfig\" section",
"items": {
"properties": {
"color": {
"pattern": "^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$",
"type": "string"
},
"graphId": {
"description": "Graph Data Source Id for the plot.",
"type": "string"
},
"label": {
"description": "A label for this data set",
"type": "string"
}
},
"required": [
"graphId"
],
"type": "object"
},
"type": "array"
},
"timespan": {
"default": 30,
"description": "Length of time (seconds) to be plotted on screen.",
"type": "number"
},
"type": {
"enum": [
"realtime"
],
"type": "string"
}
},
"required": [
"label",
"plots",
"minimum",
"maximum"
],
"type": "object"
},
{
"properties": {
"label": {
"description": "Label for graph",