PicoProbe: Interface/picoprobe.cfg missing (+ how to fix it)
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- raspberry-pi
- 领域
- embedded-iot, tooling
调研方向
从 ~/.platformio/packages/tool-openocd-rp2040-earlephilhower/share/openocd/scripts/interface/ 中的 PlatformIO OpenOCD 软件包路径开始,检查接口配置文件是如何打包的。使用提供的 platformio.ini 和 PicoProbe 重现缺少文件的错误,然后确认配置存在且上传可以正常工作。
由索引模型根据 Issue 内容生成。
描述
Connected a Pi Pico through a PicoProbe.
Installed VSCode + PlatformIO using this simple tutorial (https://www.schaerens.ch/pico-developing-for-raspberry-pi-pico-w-with-platformio-and-c-c/).
On Upload, OpenOCD complains about:
embedded:startup.tcl:28: Error: Can't find interface/picoprobe.cfg
Digging through folders I can see picoprobe.cfg is missing in
/home//.platformio/packages/tool-openocd-rp2040-earlephilhower/share/openocd/scripts/interface/
Solution:
Create a new file named picoprobe.cfg in the folder, with the following text
# Adapter section
adapter driver cmsis-dap
adapter speed 5000
Notice adapter driver picoprobe is replaced with adapter driver cmsis-dap.
For completeness, my content of platformio.ini is now:
[env]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
framework = arduino
; uncomment this to use Arduino-Pico
; keep commented to use ArduinoCore-mbed (official RP2040 core)
;board_build.core = earlephilhower
;board_build.filesystem_size = 0.5m
[env:pico]
board = pico
; if using picoprobe SWD upload / debugging
upload_protocol = picoprobe
debug_tool = picoprobe
- 主要语言
- Python
- 星标
- 96
- 派生
- 142
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
platformio/platform-raspberrypi 的其他 Issue
-
Pico 2 and 2w未关闭board request
难度 3/5 1-2 天 新手友好度 55/100
-
board request
难度 4/5 3-5 天 新手友好度 45/100
-
board request
难度 4/5 3-5 天 新手友好度 35/100
-
feature
难度 4/5 3-5 天 新手友好度 30/100
platformio/platform-raspberrypi#86 · 1 个 reaction ·
-
board request
难度 5/5 一周以上 新手友好度 25/100
platformio/platform-raspberrypi#87 · 2 个 reaction ·
查看 platformio/platform-raspberrypi 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭available documentation good first issue
难度 1/5 1-3 小时 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
JTHCode/secretguard#24 ·
维护者通常 1 天内回复
-
area: middleware documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
维护者通常 1 天内回复