Last change
on this file since 469 was 469, checked in by coas-nagasima, 3 years ago |
launch.jsonで「gdb_memory_map disable」があるとフラッシュ出来ず、無いとデバッグ起動に失敗するので、書き込みタスクを復活。
|
-
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 Arm Embedded Toolchain\\10 2020-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 | "gdb_memory_map disable"
|
---|
22 | ],
|
---|
23 | "preLaunchCommands": [
|
---|
24 | "-environment-cd ${workspaceFolder}/Debug",
|
---|
25 | "-gdb-set breakpoint pending on",
|
---|
26 | "monitor reset init",
|
---|
27 | "monitor halt",
|
---|
28 | "monitor arm semihosting enable",
|
---|
29 | "load ${workspaceFolderBasename}.elf",
|
---|
30 | "enable breakpoint"
|
---|
31 | ],
|
---|
32 | "preLaunchTask": "build ${workspaceFolderBasename}"
|
---|
33 | }
|
---|
34 | ]
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.