Large program fails; shows strange LED blink pattern
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- arduino, raspberry-pi
调研方向
从 platformio.ini 中的 [env:pico] 配置开始,将 PlatformIO 构建与 issue 中描述的 Arduino IDE 构建进行比较。调查已安装的程序为何没有提供串行端口,并产生四次长 LED 闪烁,随后是三次快速闪烁。使用 PlatformIO 构建时,如果 Pico 能运行该程序并显示为串行端口,则表示完成。
由索引模型根据 Issue 内容生成。
描述
MicroBlocks is a virtual machine (like MicroPython) that runs on a wide range of 32-bit microcontrollers. We use PlatformIO to build for all of them. MicroBlocks is a fairly large program.
I am porting MicroBlocks to the Raspberry Pi RP2040 chip, the Pico board in particular. It compiles and runs using Arduino IDE 1.8.13 (Mac OS) and Arduino's "Mbed OS RP2040" 2.0.0 board package this community supported package.
The same code compiles and installs with PlatformIO, but the program does not run on the board. The board does not appear as serial port (which it does when the program runs correctly), and the LED blinks in a strange pattern: four long blinks followed by three quick ones. The blink pattern could be an error code of some sort but I haven't been able to find any documentation that will help me decode it.
Here's the platformio.ini file entry I'm using:
[env:pico]
platform = https://github.com/platformio/platform-raspberrypi.git
framework = arduino
board = pico
lib_ignore = WiFi
build_flags = -D ARDUINO_RASPBERRY_PI_PICO
- 主要语言
- 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 天内回复