RP2040和RP2350的laungch文件

{

"version": "0.2.0",

"configurations": [

{

"name": "DAPLink - RP2040",

"cwd": "workspaceRoot","executable":"{workspaceRoot}", "executable": "workspaceRoot","executable":"{command:cmake.launchTargetPath}",

"request": "launch",

"type": "cortex-debug",

"servertype": "openocd",

"openOCDPath": "D:/openocd_special_x64_win/openocd.exe",

"searchDir": [

"D:/openocd_special_x64_win/scripts"

],

"configFiles": [

"D:/openocd_special_x64_win/scripts/interface/cmsis-dap.cfg",

"D:/openocd_special_x64_win/scripts/target/rp2040.cfg"

],

"runToMain": true,

"resetAfterConnect": true

},

{

"name": "DAPLink - RP2350",

"cwd": "workspaceRoot","executable":"{workspaceRoot}", "executable": "workspaceRoot","executable":"{command:cmake.launchTargetPath}",

"request": "launch",

"type": "cortex-debug",

"servertype": "openocd",

"openOCDPath": "D:/openocd_special_x64_win/openocd.exe",

"searchDir": [

"D:/openocd_special_x64_win/scripts"

],

"configFiles": [

"D:/openocd_special_x64_win/scripts/interface/cmsis-dap.cfg",

"D:/openocd_special_x64_win/scripts/target/rp2350.cfg"

],

"serverArgs": ["-c", "adapter speed 5000"],

"runToMain": true,

"resetAfterConnect": true

}

]

}

可见laungch文件的主要内容是指定openocd位置和其他几个配置文件的位置。

相关推荐
MIXLLRED11 天前
树莓派4B(Ubuntu 22.04 Jammy arm64)上从源码编译安装 librealsense
ubuntu·树莓派·librealsense
weixin_4266892016 天前
VSCODE 树莓派C语言开发环境建立
vscode·树莓派
衡动科技17 天前
Ubuntu 22.04/24.04 安装 ROS2 完整教程(Humble / Jazzy)
ubuntu·树莓派·ros2
困死,根本不会19 天前
树莓派 SSH 连接排错实录:从 IP 网段到主机密钥变更,再到 VNC 自启动
开发语言·ssh·php·树莓派
困死,根本不会19 天前
Windows下模拟树莓派:使用ble-serial创建虚拟串口实现手机蓝牙通信
windows·python·单片机·嵌入式硬件·树莓派
Java烘焙师19 天前
AI编程实战:从零到一搭建全栈项目
java·架构·树莓派·ai实战
kaisun6420 天前
树莓派4B上使用INMP441麦克风进行语音识别:从I2S配置到Python环境搭建全记录
python·语音识别·树莓派
国产化创客24 天前
OpenClaw在树莓派DHT11数据采集任务过程全记录
ai·树莓派·智能硬件·openclaw
dys_Codemonkey25 天前
如何在树莓派上用 VS Code 优雅直连内部的 Ubuntu 子系统/容器用来访问容器内的文件和代码?
linux·运维·ubuntu·树莓派