mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
vscode improve fmu-v2/v3/v4/v4pro/v5 debug targets
This commit is contained in:
72
.vscode/launch.json
vendored
72
.vscode/launch.json
vendored
@@ -141,54 +141,62 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "px4_fmu-v2 (jlink) ",
|
"name": "px4_fmu-v2/v3/v4 (jlink)",
|
||||||
|
"device": "STM32F427VI",
|
||||||
|
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"device": "STM32F427VI",
|
"interface": "swd",
|
||||||
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
|
"cwd": "${workspaceRoot}",
|
||||||
"interface": "swd"
|
"internalConsoleOptions": "openOnSessionStart",
|
||||||
},
|
"preLaunchCommands": [
|
||||||
{
|
"source ${workspaceRoot}/platforms/nuttx/Debug/PX4",
|
||||||
"name": "px4_fmu-v3 (jlink)",
|
"source ${workspaceRoot}/platforms/nuttx/Debug/NuttX",
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M",
|
||||||
"request": "launch",
|
"set mem inaccessible-by-default off",
|
||||||
"type": "cortex-debug",
|
"set print pretty",
|
||||||
"servertype": "jlink",
|
"showtasks",
|
||||||
"device": "STM32F427VI",
|
]
|
||||||
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
|
|
||||||
"interface": "swd"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "px4_fmu-v4 (jlink)",
|
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
|
||||||
"request": "launch",
|
|
||||||
"type": "cortex-debug",
|
|
||||||
"servertype": "jlink",
|
|
||||||
"device": "STM32F427VI",
|
|
||||||
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F427.svd",
|
|
||||||
"interface": "swd"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "px4_fmu-v4pro (jlink)",
|
"name": "px4_fmu-v4pro (jlink)",
|
||||||
|
"device": "STM32F469VI",
|
||||||
|
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F469.svd",
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"device": "STM32F469VI",
|
"interface": "swd",
|
||||||
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F469.svd",
|
"internalConsoleOptions": "openOnSessionStart",
|
||||||
"interface": "swd"
|
"preLaunchCommands": [
|
||||||
|
"source ${workspaceRoot}/platforms/nuttx/Debug/PX4",
|
||||||
|
"source ${workspaceRoot}/platforms/nuttx/Debug/NuttX",
|
||||||
|
"source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M",
|
||||||
|
"set mem inaccessible-by-default off",
|
||||||
|
"set print pretty",
|
||||||
|
"showtasks",
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "px4_fmu-v5 (jlink)",
|
"name": "px4_fmu-v5 (jlink)",
|
||||||
|
"device": "STM32F765VI",
|
||||||
|
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F7x5.svd",
|
||||||
"executable": "${command:cmake.launchTargetPath}",
|
"executable": "${command:cmake.launchTargetPath}",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "cortex-debug",
|
"type": "cortex-debug",
|
||||||
"servertype": "jlink",
|
"servertype": "jlink",
|
||||||
"device": "STM32F765VI",
|
"interface": "swd",
|
||||||
"svdFile": "${workspaceRoot}/../cmsis-svd/data/STMicro/STM32F7x5.svd",
|
"internalConsoleOptions": "openOnSessionStart",
|
||||||
"interface": "swd"
|
"preLaunchCommands": [
|
||||||
},
|
"source ${workspaceRoot}/platforms/nuttx/Debug/PX4",
|
||||||
|
"source ${workspaceRoot}/platforms/nuttx/Debug/NuttX",
|
||||||
|
"source ${workspaceRoot}/platforms/nuttx/Debug/ARMv7M",
|
||||||
|
"set mem inaccessible-by-default off",
|
||||||
|
"set print pretty",
|
||||||
|
"showtasks",
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -85,5 +85,6 @@
|
|||||||
"window.title": "${dirty} ${activeEditorMedium}${separator}${rootName}",
|
"window.title": "${dirty} ${activeEditorMedium}${separator}${rootName}",
|
||||||
"workbench.editor.highlightModifiedTabs": true,
|
"workbench.editor.highlightModifiedTabs": true,
|
||||||
"workbench.settings.enableNaturalLanguageSearch": false,
|
"workbench.settings.enableNaturalLanguageSearch": false,
|
||||||
"workbench.statusBar.feedback.visible": false
|
"workbench.statusBar.feedback.visible": false,
|
||||||
|
"git.ignoreLimitWarning": true
|
||||||
}
|
}
|
||||||
|
|||||||
11
.vscode/tasks.json
vendored
11
.vscode/tasks.json
vendored
@@ -93,5 +93,14 @@
|
|||||||
"command": "killall gzserver",
|
"command": "killall gzserver",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "mavlink shell",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "./Tools/mavlink_shell.py",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceRoot}"
|
||||||
|
},
|
||||||
|
"problemMatcher": []
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user