Last change
on this file since 465 was 465, checked in by coas-nagasima, 2 years ago |
デバッグ実行時にプログラムを書き込むよう変更
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/json;charset=UTF-8
|
File size:
1.3 KB
|
Line | |
---|
1 | {
|
---|
2 | "version": "0.2.0",
|
---|
3 | "configurations": [
|
---|
4 | {
|
---|
5 | "name": "Cortex Debug",
|
---|
6 | "armToolchainPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\9 2019-q4-major\\bin",
|
---|
7 | "serverpath": "C:\\xpack-openocd-0.11.0-1\\bin\\openocd.exe",
|
---|
8 | "cwd": "${workspaceFolder}\\Debug",
|
---|
9 | "executable": "${workspaceFolder}\\Debug\\${workspaceFolderBasename}.elf",
|
---|
10 | "request": "launch",
|
---|
11 | "type": "cortex-debug",
|
---|
12 | "servertype": "openocd",
|
---|
13 | "device": "STM32F767ZI",
|
---|
14 | "interface": "swd",
|
---|
15 | "svdFile": "${workspaceFolder}\\..\\STM32F7x7.svd",
|
---|
16 | "configFiles": [
|
---|
17 | "board/st_nucleo_f7.cfg"
|
---|
18 | ],
|
---|
19 | "openOCDLaunchCommands": [
|
---|
20 | "gdb_breakpoint_override hard"
|
---|
21 | ],
|
---|
22 | "preLaunchCommands": [
|
---|
23 | "-environment-cd ${workspaceRoot}/Debug",
|
---|
24 | "-gdb-set breakpoint pending on",
|
---|
25 | "monitor reset init",
|
---|
26 | "monitor halt",
|
---|
27 | "monitor arm semihosting enable",
|
---|
28 | "load ${workspaceFolderBasename}.elf",
|
---|
29 | "enable breakpoint"
|
---|
30 | ],
|
---|
31 | "preLaunchTask": "build ${workspaceFolderBasename}"
|
---|
32 | }
|
---|
33 | ]
|
---|
34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.